liblcf
|
#include <reader_struct.h>
Public Types | |
typedef S | struct_type |
Public Member Functions | |
void | ReadLcf (S &, 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 &, XmlWriter &) const |
void | BeginXml (S &, XmlReader &) const |
void | ParseXml (S &, const std::string &) const |
bool | IsDefault (const S &a, const S &b, bool) const |
SizeField (const T S::*ref, int id, bool present_if_default, bool is2k3) | |
bool | isPresentIfDefault (bool db_is2k3) const |
Public Attributes | |
const T S::* | ref |
const char *const | name |
int | id |
bool | present_if_default |
bool | is2k3 |
SizeField class template.
Definition at line 502 of file reader_struct.h.
|
inherited |
Definition at line 382 of file reader_struct.h.
|
inline |
Definition at line 530 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 520 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 526 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlineinherited |
Definition at line 397 of file reader_struct.h.
References lcf::Field< S >::present_if_default.
Referenced by lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 513 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 523 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 505 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 509 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 517 of file reader_struct.h.
|
inherited |
Definition at line 385 of file reader_struct.h.
Referenced by lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inherited |
Definition at line 387 of file reader_struct.h.
Referenced by lcf::DatabaseVersionField< S, T >::IsDefault(), lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inherited |
Definition at line 384 of file reader_struct.h.
Referenced by lcf::TypedField< S, T >::WriteXml().
|
inherited |
Definition at line 386 of file reader_struct.h.
Referenced by lcf::Field< S >::isPresentIfDefault().
const T S::* lcf::SizeField< S, T >::ref |
Definition at line 503 of file reader_struct.h.
Referenced by lcf::SizeField< S, T >::IsDefault(), lcf::CountField< S, T >::LcfSize(), lcf::SizeField< S, T >::LcfSize(), lcf::CountField< S, T >::WriteLcf(), and lcf::SizeField< S, T >::WriteLcf().