CEL

Public API Reference

iCelCompactDataBufferWriter Struct Reference

This interface describes persistable data in a very compact way. More...

#include <physicallayer/persist.h>

Inheritance diagram for iCelCompactDataBufferWriter:

List of all members.

Public Member Functions

virtual const char * GetData () const =0
 Get the data we accumulated so far.
virtual size_t GetSize () const =0
 Get the size of the total data block.

Detailed Description

This interface describes persistable data in a very compact way.

Only the actual data is saved. No type information is put in the buffer. That way the representation is very compact. The data is kept in a cross-platform binary format which can be safely read and write from/to files. Since no type checking is possible with this interface you will have to make sure you get the information in exactly the same order and type as it was written.

Definition at line 261 of file persist.h.


Member Function Documentation

virtual const char* iCelCompactDataBufferWriter::GetData (  )  const [pure virtual]

Get the data we accumulated so far.

virtual size_t iCelCompactDataBufferWriter::GetSize (  )  const [pure virtual]

Get the size of the total data block.


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

Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1