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 522 of file reader_struct.h.
|
inherited |
Definition at line 402 of file reader_struct.h.
|
inline |
Definition at line 550 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 540 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 546 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlineinherited |
Definition at line 417 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 >.
Reimplemented in lcf::CountField< S, T >.
Definition at line 533 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 543 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 525 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Reimplemented in lcf::CountField< S, T >.
Definition at line 529 of file reader_struct.h.
References lcf::SizeField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 537 of file reader_struct.h.
|
inherited |
Definition at line 405 of file reader_struct.h.
Referenced by lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inherited |
Definition at line 407 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 404 of file reader_struct.h.
Referenced by lcf::TypedField< S, T >::WriteXml().
|
inherited |
Definition at line 406 of file reader_struct.h.
Referenced by lcf::Field< S >::isPresentIfDefault().
const T S::* lcf::SizeField< S, T >::ref |
Definition at line 523 of file reader_struct.h.
Referenced by lcf::SizeField< S, T >::IsDefault(), lcf::CountField< S, T >::LcfSize(), lcf::SizeField< S, T >::LcfSize(), lcf::SizeField< S, T >::WriteLcf(), and lcf::CountField< S, T >::WriteLcf().