#include <generatorsectorconfigblob.h>
Used to serialize GeneratorInputOutput.
Inherits Kaim::BaseBlobBuilder< GeneratorSectorBlob >.
Public Member Functions | |
bool | IsWriteMode () |
Indicates whether the builder is operating in COUNT mode or in WRITE mode. More... | |
GeneratorSectorBlob * | Build (BlobHandler< GeneratorSectorBlob > &blobHandler) |
This method:
| |
KyUInt32 | ComputeBlobSize () |
Simply Compute BlobSize. More... | |
void | BuildFlatBlob (GeneratorSectorBlob &blob) |
Simple way to use DoBuild in case of flat blob (that is, a blob that does not have a BlobArray or BlobRef) More... | |
void | DoBuildAllocatedBlob (BlobBuffer *blobBuffer, GeneratorSectorBlob *blob) |
For internal use. Use BLOB_BUILD instead. More... | |
void | DoAllocAndBuildReferencedBlob (BlobBuffer *blobBuffer, BlobRef< GeneratorSectorBlob > *blobRef) |
For internal use. Use BUILD_REFERENCED_BLOB instead. More... | |
BlobBuffer * | GetBlobBufferToBuildThis () |
For internal use. Check if m_buildingPart == BUILDING_SHALLOW_PART and return this. More... | |
Public Attributes | |
BlobBuffer * | m_blobBuffer |
For internal use. Use BLOB_SET and BLOB_ARRAY instead. More... | |
GeneratorSectorBlob * | m_blob |
The blob maintained by this builder. Only modify using the macros listed under DoBuild(). More... | |
Private Member Functions | |
virtual void | DoBuild () |
Implement this function in any class that derives from BaseBlobBuilder. More... | |
|
inherited |
|
inherited |
Simple way to use DoBuild in case of flat blob (that is, a blob that does not have a BlobArray or BlobRef)
|
inherited |
Simply Compute BlobSize.
|
inherited |
For internal use. Use BUILD_REFERENCED_BLOB instead.
|
privatevirtual |
Implement this function in any class that derives from BaseBlobBuilder.
Its responsibility is to set the data for each class member maintained by m_blob. In your implementation, use one of the macros sets supplied for this purpose:
Implements Kaim::BaseBlobBuilder< GeneratorSectorBlob >.
|
inherited |
For internal use. Use BLOB_BUILD instead.
|
inlineinherited |
For internal use. Check if m_buildingPart == BUILDING_SHALLOW_PART and return this.
|
inlineinherited |
Indicates whether the builder is operating in COUNT mode or in WRITE mode.
This can be used in implementations of DoBuild().
|
inherited |
The blob maintained by this builder. Only modify using the macros listed under DoBuild().
|
inherited |
For internal use. Use BLOB_SET and BLOB_ARRAY instead.