liblcf
|
#include <reader_struct.h>
Public Types | |
typedef S | struct_type |
Public Member Functions | |
virtual void | ReadLcf (S &obj, LcfReader &stream, uint32_t length) const =0 |
virtual void | WriteLcf (const S &obj, LcfWriter &stream) const =0 |
virtual int | LcfSize (const S &obj, LcfWriter &stream) const =0 |
virtual bool | IsDefault (const S &obj, const S &ref) const =0 |
virtual void | WriteXml (const S &obj, XmlWriter &stream) const =0 |
virtual void | BeginXml (S &obj, XmlReader &stream) const =0 |
virtual void | ParseXml (S &obj, const std::string &data) const =0 |
Field (int id, const char *name) | |
Public Attributes | |
int | id |
const char *const | name |
Field abstract base class template.
Definition at line 300 of file reader_struct.h.
typedef S Field< S >::struct_type |
Definition at line 301 of file reader_struct.h.
Definition at line 314 of file reader_struct.h.
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
Referenced by Struct< S >::WriteLcf().
|
pure virtual |
Implemented in SizeField< S, T >, and TypedField< S, T >.
Referenced by Struct< S >::WriteXml().
int Field< S >::id |
Definition at line 303 of file reader_struct.h.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
const char* const Field< S >::name |
Definition at line 304 of file reader_struct.h.
Referenced by Struct< S >::WriteLcf(), and TypedField< S, T >::WriteXml().