liblcf
Loading...
Searching...
No Matches
lcf::EmptyField< S > Struct Template Reference

#include <reader_struct.h>

+ Inheritance diagram for lcf::EmptyField< S >:
+ Collaboration diagram for lcf::EmptyField< S >:

Public Types

typedef S struct_type
 

Public Member Functions

void ReadLcf (S &, LcfReader &, uint32_t) const
 
void WriteLcf (const S &, LcfWriter &) const
 
int LcfSize (const S &, LcfWriter &) const
 
void WriteXml (const S &, XmlWriter &) const
 
void BeginXml (S &, XmlReader &) const
 
void ParseXml (S &, const std::string &) const
 
bool IsDefault (const S &, const S &, bool) const
 
bool isPresentIfDefault (bool db_is2k3) const
 

Public Attributes

const char *const name
 
int id
 
bool present_if_default
 
bool is2k3
 

Detailed Description

template<typename S>
struct lcf::EmptyField< S >

EmptyField class template.

Definition at line 462 of file reader_struct.h.

Member Typedef Documentation

◆ struct_type

template<class S>
typedef S lcf::Field< S >::struct_type
inherited

Definition at line 368 of file reader_struct.h.

Member Function Documentation

◆ BeginXml()

template<typename S>
void lcf::EmptyField< S >::BeginXml ( S & ,
XmlReader &  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 473 of file reader_struct.h.

◆ IsDefault()

template<typename S>
bool lcf::EmptyField< S >::IsDefault ( const S & ,
const S & ,
bool  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 476 of file reader_struct.h.

◆ isPresentIfDefault()

template<class S>
bool lcf::Field< S >::isPresentIfDefault ( bool db_is2k3) const
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().

+ Here is the caller graph for this function:

◆ LcfSize()

template<typename S>
int lcf::EmptyField< S >::LcfSize ( const S & ,
LcfWriter &  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 468 of file reader_struct.h.

◆ ParseXml()

template<typename S>
void lcf::EmptyField< S >::ParseXml ( S & ,
const std::string &  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 474 of file reader_struct.h.

◆ ReadLcf()

template<typename S>
void lcf::EmptyField< S >::ReadLcf ( S & ,
LcfReader & ,
uint32_t  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 466 of file reader_struct.h.

◆ WriteLcf()

template<typename S>
void lcf::EmptyField< S >::WriteLcf ( const S & ,
LcfWriter &  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 467 of file reader_struct.h.

◆ WriteXml()

template<typename S>
void lcf::EmptyField< S >::WriteXml ( const S & ,
XmlWriter &  ) const
inlinevirtual

Implements lcf::Field< S >.

Definition at line 472 of file reader_struct.h.

Member Data Documentation

◆ id

◆ is2k3

◆ name

template<class S>
const char* const lcf::Field< S >::name
inherited

◆ present_if_default

template<class S>
bool lcf::Field< S >::present_if_default
inherited

The documentation for this struct was generated from the following file: