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, bool present_if_default, bool is2k3) | |
bool | isPresentIfDefault (bool db_is2k3) const |
Public Attributes | |
T S::* | ref |
const char *const | name |
int | id |
bool | present_if_default |
bool | is2k3 |
TypedField class template.
Definition at line 348 of file reader_struct.h.
|
inherited |
Definition at line 316 of file reader_struct.h.
|
inline |
Definition at line 375 of file reader_struct.h.
|
inlinevirtual |
Implements Field< S >.
Definition at line 365 of file reader_struct.h.
References TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Reimplemented in DatabaseVersionField< S, T >.
Definition at line 371 of file reader_struct.h.
References TypedField< S, T >::ref.
Referenced by DatabaseVersionField< S, T >::IsDefault().
|
inlineinherited |
Definition at line 331 of file reader_struct.h.
References Field< S >::present_if_default.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
inlinevirtual |
Implements Field< S >.
Reimplemented in DatabaseVersionField< S, T >.
Definition at line 357 of file reader_struct.h.
References TypedField< S, T >::ref.
Referenced by DatabaseVersionField< S, T >::LcfSize().
|
inlinevirtual |
Implements Field< S >.
Definition at line 368 of file reader_struct.h.
References Data::data, and TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 351 of file reader_struct.h.
References TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 354 of file reader_struct.h.
References TypedField< S, T >::ref.
|
inlinevirtual |
Implements Field< S >.
Definition at line 360 of file reader_struct.h.
References XmlWriter::BeginElement(), XmlWriter::EndElement(), Field< S >::name, and TypedField< S, T >::ref.
|
inherited |
Definition at line 319 of file reader_struct.h.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
inherited |
Definition at line 321 of file reader_struct.h.
Referenced by Struct< S >::LcfSize(), and Struct< S >::WriteLcf().
|
inherited |
Definition at line 318 of file reader_struct.h.
Referenced by TypedField< S, T >::WriteXml().
|
inherited |
Definition at line 320 of file reader_struct.h.
Referenced by Field< S >::isPresentIfDefault().
T S::* TypedField< S, T >::ref |
Definition at line 349 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().