Foxit PDF SDK

Classes | Public Member Functions | List of all members
CFX_SortListArray< unit > Class Template Reference
FXCRT

Inherits CFX_Object.

## Classes
struct | DataList
| The data list. More...

## Public Member Functions
| CFX_SortListArray (IFX_Allocator *pAllocator=0)
| The constructor. More...
| ~CFX_SortListArray ()
| The destructor.
void | Append (FX_INT32 nStart, FX_INT32 nCount)
| Append a list data. More...
void | Clear ()
| Clear the data list. More...
FX_LPBYTE | GetAt (FX_INT32 nIndex)
| Get the data. More...

## Detailed Description

### template<size_t unit>
class CFX_SortListArray< unit >

The class represents sorted list array template.

## Constructor & Destructor Documentation

## ◆ CFX_SortListArray()

template<size_t unit>

CFX_SortListArray< unit >::CFX_SortListArray | ( | IFX_Allocator * | pAllocator = `0` | ) |
| inline

The constructor.

Parameters

  [in] | pAllocator | An allocator. Default value: NULL.

## Member Function Documentation

## ◆ Append()

template<size_t unit>

void CFX_SortListArray< unit >::Append | ( | FX_INT32 | nStart,
|  | FX_INT32 | nCount
| ) |  |
| inline

Append a list data.

Parameters

  [in] | nStart | The start index of data
  [in] | nCount | The count of data

Returns
  None.

## ◆ Clear()

template<size_t unit>

void CFX_SortListArray< unit >::Clear | ( |  | ) |
| inline

Clear the data list.

Returns
  None.

## ◆ GetAt()

template<size_t unit>

FX_LPBYTE CFX_SortListArray< unit >::GetAt | ( | FX_INT32 | nIndex | ) |
| inline

Get the data.

Parameters

  [in] | nIndex | The data index.

Returns
  The data.