My Project
CFX_FixedBufGrow< DataType, FixedSize > Class Template Reference

Inherits CFX_Object.

Public Member Functions

 CFX_FixedBufGrow (IFX_Allocator *pAllocator=0)
 Construct with allocator. More...
 
 CFX_FixedBufGrow (int data_size, IFX_Allocator *pAllocator=0)
 Construct with allocator. More...
 
 ~CFX_FixedBufGrow ()
 The Destructor.
 
void SetDataSize (int data_size)
 Construct with allocator. More...
 

Detailed Description

template<class DataType, int FixedSize>
class CFX_FixedBufGrow< DataType, FixedSize >

The class represents fixed buffer but can be bigger if needed.

Constructor & Destructor Documentation

◆ CFX_FixedBufGrow() [1/2]

template<class DataType , int FixedSize>
CFX_FixedBufGrow< DataType, FixedSize >::CFX_FixedBufGrow ( IFX_Allocator pAllocator = 0)
inline

Construct with allocator.

Parameters
[in]pAllocatorAllocator used in this class. NULL means to use default allocator. Default value: NULL.

◆ CFX_FixedBufGrow() [2/2]

template<class DataType , int FixedSize>
CFX_FixedBufGrow< DataType, FixedSize >::CFX_FixedBufGrow ( int  data_size,
IFX_Allocator pAllocator = 0 
)
inline

Construct with allocator.

Parameters
[in]data_sizeThe data size.
[in]pAllocatorAllocator used in this class. NULL means to use default allocator. Default value: NULL.

Member Function Documentation

◆ SetDataSize()

template<class DataType , int FixedSize>
void CFX_FixedBufGrow< DataType, FixedSize >::SetDataSize ( int  data_size)
inline

Construct with allocator.

Parameters
[in]data_sizeThe data size.
Returns
None.

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