![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cVariantData.h>
Public Member Functions | |
cVariantArrayT (ITERATE_t iSize, VARTYPE_TYPE eVarTypeElem) | |
cVariantArrayT (const cVariantArrayT &a) | |
~cVariantArrayT () | |
ITERATE_t | GetSize () const |
VARTYPE_TYPE | get_VarTypeElem () const |
cVariantData * | GetElemPtr (ITERATE_t i) const |
size_t | get_DataSize () const |
size_t | GetHeapStats (OUT ITERATE_t &iAllocCount) const |
HRESULT | SerializeOutput (cStreamOutput &file) const |
HRESULT | SerializeInput2 (cStreamInput &file) |
Additional Inherited Members | |
![]() | |
typedef INT32 | CYS_t |
type for 2 fixed point int for currency/money. More... | |
typedef INT64 | CY_t |
type for 4 fixed point int for currency/money. More... | |
![]() | |
static StrLen_t GRAYCALL | CopyLenQ (ATOMCHAR_t *pszDst, const ATOMCHAR_t *pszSrc, StrLen_t iLenMax, STR_BLOCK_TYPE eBlock) |
When converting to string. More... | |
![]() | |
static const ITERATE_t | k_MaxElements = 64*1024 |
(arbitrary) Max elements that may be parsed in array or map. More... | |
static const ITERATE_t | k_MaxElements2 = 256 |
arbitrary max for simple things. More... | |
static const CYS_t | k_CYSMul = 100 |
2 fixed places = cents. CYS_t More... | |
static const CY_t | k_CYMul = 10000 |
4 fixed places = hundredths of a cent. CY_t More... | |
VARTYPE_ArrayT. Array of objects of all the same type. m_eVarTypeElem used for array mapping for pixel shaders etc.
GrayLib::cVariantArrayT::cVariantArrayT | ( | ITERATE_t | iSize, |
VARTYPE_TYPE | eVarTypeElem | ||
) |
VARTYPE_ArrayT. Init blank space to zero.
GrayLib::cVariantArrayT::cVariantArrayT | ( | const cVariantArrayT & | a | ) |
VARTYPE_ArrayT. Now copy stuff.
GrayLib::cVariantArrayT::~cVariantArrayT | ( | ) |
VARTYPE_ArrayT destruct.
size_t GrayLib::cVariantArrayT::get_DataSize | ( | ) | const |
VARTYPE_ArrayT. Get serialized size in bytes.
|
inline |
cVariantData * GrayLib::cVariantArrayT::GetElemPtr | ( | ITERATE_t | i | ) | const |
VARTYPE_ArrayT.
|
inline |
|
inline |
element quantity.
HRESULT GrayLib::cVariantArrayT::SerializeInput2 | ( | cStreamInput & | file | ) |
HRESULT GrayLib::cVariantArrayT::SerializeOutput | ( | cStreamOutput & | file | ) | const |