FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoArrayHelper Class Reference

#include <ArrayHelper.h>

List of all members.


Detailed Description

Class to do allocations for the FdoArray template. Allocations and freeing must be done in this class in order to protect against various callers that have overridden the "new" and "delete" operators.

Definition at line 31 of file ArrayHelper.h.


Static Public Member Functions

FDO_API_COMMON GenericArrayAllocMore (GenericArray *array, FdoInt32 atLeastThisMuch, bool exactly, FdoInt32 elementSize)
FDO_API_COMMON GenericArrayAppend (GenericArray *array, FdoInt32 numElements, FdoByte *elements, FdoInt32 elementSize)
FDO_API_COMMON void DisposeOfArray (GenericArray *array, FdoInt32 elementSize)
FDO_API_COMMON GenericArraySetAlloc (GenericArray *array, FdoInt32 numElements, FdoInt32 elementSize)
FDO_API_COMMON GenericArraySetSize (GenericArray *array, FdoInt32 numElements, FdoInt32 elementSize)

Protected Member Functions

FDO_API_COMMON FdoArrayHelper ()
 Constructor (makes sure that this class cannot be instantiated -- it consists of all static methods.).

Constructor & Destructor Documentation

FDO_API_COMMON FdoArrayHelper::FdoArrayHelper  )  [inline, protected]
 

Constructor (makes sure that this class cannot be instantiated -- it consists of all static methods.).

Definition at line 67 of file ArrayHelper.h.

References FDO_API_COMMON.


Member Function Documentation

FDO_API_COMMON GenericArray* FdoArrayHelper::AllocMore GenericArray array,
FdoInt32  atLeastThisMuch,
bool  exactly,
FdoInt32  elementSize
[static]
 

Referenced by FdoArray< T >::AllocMore(), and FdoArray< T >::Append().

FDO_API_COMMON GenericArray* FdoArrayHelper::Append GenericArray array,
FdoInt32  numElements,
FdoByte elements,
FdoInt32  elementSize
[static]
 

Referenced by FdoArray< T >::Append(), and FdoArray< T >::Create().

FDO_API_COMMON void FdoArrayHelper::DisposeOfArray GenericArray array,
FdoInt32  elementSize
[static]
 

Referenced by FdoArray< T >::Dispose().

FDO_API_COMMON GenericArray* FdoArrayHelper::SetAlloc GenericArray array,
FdoInt32  numElements,
FdoInt32  elementSize
[static]
 

Referenced by FdoArray< T >::SetAlloc().

FDO_API_COMMON GenericArray* FdoArrayHelper::SetSize GenericArray array,
FdoInt32  numElements,
FdoInt32  elementSize
[static]
 

Referenced by FdoArray< T >::SetSize().


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.