Foxit PDF SDK
CFX_FixedBufGrow< DataType, FixedSize > 模板类 参考

继承自 CFX_Object .

Public 成员函数

 CFX_FixedBufGrow (IFX_Allocator *pAllocator=0)
 使用分配器进行构造。 更多...
 
 CFX_FixedBufGrow (int data_size, IFX_Allocator *pAllocator=0)
 使用分配器进行构造。 更多...
 
 ~CFX_FixedBufGrow ()
 析构函数。
 
void SetDataSize (int data_size)
 使用分配器进行构造。 更多...
 

详细描述

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

表示固定缓冲区的类,但在需要时可以更大。

构造及析构函数说明

◆ CFX_FixedBufGrow() [1/2]

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

使用分配器进行构造。

参数
[in]pAllocator此类中使用的分配器。NULL表示使用默认分配器。 默认值:NULL

◆ CFX_FixedBufGrow() [2/2]

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

使用分配器进行构造。

参数
[in]data_size数据大小。
[in]pAllocator此类中使用的分配器。NULL表示使用默认分配器。 默认值:NULL

成员函数说明

◆ SetDataSize()

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

使用分配器进行构造。

参数
[in]data_size数据大小。
返回
无。