liblcf
|
#include <reader_struct.h>
Public Types | |
typedef S | struct_type |
Public Member Functions | |
void | WriteLcf (const S &obj, LcfWriter &stream) const |
int | LcfSize (const S &obj, LcfWriter &) const |
void | ReadLcf (S &, LcfReader &stream, uint32_t length) 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) const |
bool | isPresentIfDefault (bool db_is2k3) const |
Public Attributes | |
const std::vector< T > S::* | ref |
const char *const | name |
int | id |
bool | present_if_default |
bool | is2k3 |
CountField class template.
Definition at line 473 of file reader_struct.h.
|
inherited |
Definition at line 316 of file reader_struct.h.
|
inlinevirtualinherited |
Implements Field< S >.
Definition at line 454 of file reader_struct.h.
|
inlinevirtualinherited |
Implements Field< S >.
Definition at line 460 of file reader_struct.h.
References SizeField< S, T >::ref.
|
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 |
Reimplemented from SizeField< S, T >.
Definition at line 481 of file reader_struct.h.
References LcfReader::IntSize(), and SizeField< S, T >::ref.
|
inlinevirtualinherited |
Implements Field< S >.
Definition at line 457 of file reader_struct.h.
|
inlinevirtualinherited |
Implements Field< S >.
Definition at line 439 of file reader_struct.h.
|
inlinevirtual |
Reimplemented from SizeField< S, T >.
Definition at line 477 of file reader_struct.h.
References SizeField< S, T >::ref.
|
inlinevirtualinherited |
Implements Field< S >.
Definition at line 451 of file reader_struct.h.
|
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().
|
inherited |
Definition at line 437 of file reader_struct.h.
Referenced by SizeField< S, T >::IsDefault(), CountField< S, T >::LcfSize(), SizeField< S, T >::LcfSize(), SizeField< S, T >::WriteLcf(), and CountField< S, T >::WriteLcf().