CFX_SortListArray< unit > Class Template Reference

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]pAllocatorAn 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]nStartThe start index of data
[in]nCountThe 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]nIndexThe data index.
Returns
The data.

Foxit Software Corporation Logo
@2019 Foxit Software Incorporated. All rights reserved.