Kaim::BlobArray< T > Class Template Reference

Kaim::BlobArray< T > Class Template Reference

#include <blobarray.h>

Class Description

template<class T>
class Kaim::BlobArray< T >

A BlobArray an array that is compatible with the blob serialization framework.

It is the only means to store a variable array of objects in a serializable blob.

Template Parameters
TThe type of object this array will hold. This type of array may not contain any pointers. It must contain only base types, other blob classes, or other BlobArray objects. Each type of object stored in a BlobArray must have its own SwapEndianness() implementation.

Debugging BlobArrays

To allow the visual studio debugger to display BlobRef content, read the instructions in gwnavruntime/containers/autoexp.h

Functions

 BlobArray ()
 
const T * GetValues () const
 
T * GetValues ()
 
KyUInt32 GetCount () const
 

For internal use only

KyUInt32 m_count
 The number of elements in this BlobArray. Set by BLOB_ARRAY and BLOB_ARRAY_COPY during BaseBlobBuilder::DoBuild(). Do not modify. More...
 
KyInt32 m_offset
 Set by BLOB_ARRAY and BLOB_ARRAY_COPY during BaseBlobBuilder::DoBuild(). Do not modify. More...
 

Member Data Documentation

template<class T>
KyUInt32 Kaim::BlobArray< T >::m_count

The number of elements in this BlobArray. Set by BLOB_ARRAY and BLOB_ARRAY_COPY during BaseBlobBuilder::DoBuild(). Do not modify.

template<class T>
KyInt32 Kaim::BlobArray< T >::m_offset

Set by BLOB_ARRAY and BLOB_ARRAY_COPY during BaseBlobBuilder::DoBuild(). Do not modify.


The documentation for this class was generated from the following file: