Foxit PDF Conversion SDK

Public Member Functions | List of all members
CFX_FixedBufGrow< DataType, FixedSize > Class Template Reference
FXCRT

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] | pAllocator | Allocator 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_size | The data size.
  [in] | pAllocator | Allocator 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_size | The data size.

Returns
  None.