My Project
CFX_TempBuf< DataType > Class Template Reference

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]sizeThe temporarily buffer size. This parameter must be > 0.
[in]pAllocatorAllocator used in this class. NULL means to use default allocator. Default value: NULL.

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