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 488 of file reader_struct.h.
|
inherited |
Definition at line 368 of file reader_struct.h.
|
inline |
Definition at line 516 of file reader_struct.h.
References lcf::Field< S >::Field(), lcf::Field< S >::id, lcf::Field< S >::is2k3, lcf::Field< S >::present_if_default, and ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 506 of file reader_struct.h.
|
inlinevirtual |
|
inlineinherited |
Definition at line 383 of file reader_struct.h.
References present_if_default.
Referenced by lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inlinevirtual |
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 509 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 491 of file reader_struct.h.
|
inlinevirtual |
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 503 of file reader_struct.h.
|
inherited |
Definition at line 371 of file reader_struct.h.
Referenced by Field(), lcf::SizeField< S, T >::SizeField(), lcf::TypedField< S, T >::TypedField(), lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inherited |
Definition at line 373 of file reader_struct.h.
Referenced by Field(), lcf::SizeField< S, T >::SizeField(), lcf::TypedField< S, T >::TypedField(), lcf::DatabaseVersionField< S, T >::IsDefault(), IsDefault(), lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().
|
inherited |
Definition at line 370 of file reader_struct.h.
Referenced by Field(), lcf::TypedField< S, T >::TypedField(), and lcf::TypedField< S, T >::WriteXml().
|
inherited |
Definition at line 372 of file reader_struct.h.
Referenced by Field(), lcf::SizeField< S, T >::SizeField(), lcf::TypedField< S, T >::TypedField(), and isPresentIfDefault().
const T S::* lcf::SizeField< S, T >::ref |
Definition at line 489 of file reader_struct.h.
Referenced by SizeField(), IsDefault(), lcf::CountField< S, T >::LcfSize(), LcfSize(), lcf::CountField< S, T >::WriteLcf(), and WriteLcf().