liblcf
|
#include <reader_struct.h>
Public Types | |
typedef S | struct_type |
Public Member Functions | |
void | ReadLcf (S &obj, LcfReader &stream, uint32_t length) const |
void | WriteLcf (const S &obj, LcfWriter &stream) const |
int | LcfSize (const S &obj, LcfWriter &stream) const |
void | WriteXml (const S &obj, XmlWriter &stream) const |
void | BeginXml (S &obj, XmlReader &stream) const |
void | ParseXml (S &obj, const std::string &data) const |
bool | IsDefault (const S &a, const S &b) const |
TypedField (T S::*ref, int id, const char *name) | |
Public Attributes | |
T S::* | ref |
int | id |
const char *const | name |
TypedField class template.
Definition at line 384 of file reader_struct.h.
|
inherited |
Definition at line 301 of file reader_struct.h.
|
inline |
Definition at line 411 of file reader_struct.h.
|
inlinevirtual |
Implements Field< S >.
Definition at line 401 of file reader_struct.h.
References FieldReader< S, T >::BeginXml(), and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 407 of file reader_struct.h.
References Compare_Traits< T >::IsEqual(), and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 393 of file reader_struct.h.
References FieldReader< S, T >::LcfSize(), and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 404 of file reader_struct.h.
References FieldReader< S, T >::ParseXml(), and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 387 of file reader_struct.h.
References FieldReader< S, T >::ReadLcf(), and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 390 of file reader_struct.h.
References TypedField< S, T >::ref, and FieldReader< S, T >::WriteLcf().
|
inlinevirtual |
Implements Field< S >.
Definition at line 396 of file reader_struct.h.
References XmlWriter::BeginElement(), XmlWriter::EndElement(), Field< S >::name, TypedField< S, T >::ref, and FieldReader< S, T >::WriteXml().
|
inherited |
Definition at line 303 of file reader_struct.h.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
inherited |
Definition at line 304 of file reader_struct.h.
Referenced by Struct< S >::WriteLcf(), and TypedField< S, T >::WriteXml().
T S::* TypedField< S, T >::ref |
Definition at line 385 of file reader_struct.h.
Referenced by TypedField< S, T >::BeginXml(), TypedField< S, T >::IsDefault(), TypedField< S, T >::LcfSize(), TypedField< S, T >::ParseXml(), TypedField< S, T >::ReadLcf(), TypedField< S, T >::WriteLcf(), and TypedField< S, T >::WriteXml().