Foxit PDF SDK

Public Member Functions | List of all members
CFX_TempBuf< DataType > Class Template Reference
FXCRT

## Public Member Functions
| CFX_TempBuf (int size, IFX_Allocator *pAllocator=0)
| Construct with allocator. More...
| ~CFX_TempBuf ()
| The Destructor.

## Detailed Description

### template<class DataType>
class CFX_TempBuf< DataType >

The class represents a temporarily allocated buffer.

## Constructor & Destructor Documentation

## ◆ CFX_TempBuf()

template<class DataType >

CFX_TempBuf< DataType >::CFX_TempBuf | ( | int | size,
|  | IFX_Allocator * | pAllocator = `0`
| ) |  |
| inline

Construct with allocator.

Parameters

  [in] | size | The temporarily buffer size. This parameter must be > 0.
  [in] | pAllocator | Allocator used in this class. NULL means to use default allocator. Default value: NULL.