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, bool) 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 434 of file reader_struct.h.
|
inherited |
Definition at line 402 of file reader_struct.h.
|
inline |
Definition at line 461 of file reader_struct.h.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 451 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Reimplemented in lcf::DatabaseVersionField< S, T >.
Definition at line 457 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
Referenced by lcf::DatabaseVersionField< S, T >::IsDefault().
|
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::DatabaseVersionField< S, T >.
Definition at line 443 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
Referenced by lcf::DatabaseVersionField< S, T >::LcfSize().
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 454 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 437 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 440 of file reader_struct.h.
References lcf::TypedField< S, T >::ref.
|
inlinevirtual |
Implements lcf::Field< S >.
Definition at line 446 of file reader_struct.h.
References lcf::Field< S >::name, and lcf::TypedField< S, T >::ref.
|
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().
T S::* lcf::TypedField< S, T >::ref |
Definition at line 435 of file reader_struct.h.
Referenced by lcf::TypedField< S, T >::BeginXml(), lcf::TypedField< S, T >::IsDefault(), lcf::TypedField< S, T >::LcfSize(), lcf::TypedField< S, T >::ParseXml(), lcf::TypedField< S, T >::ReadLcf(), lcf::TypedField< S, T >::WriteLcf(), and lcf::TypedField< S, T >::WriteXml().