liblcf
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 496 of file reader_struct.h.

Member Typedef Documentation

◆ struct_type

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

Definition at line 402 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 507 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 510 of file reader_struct.h.

◆ isPresentIfDefault()

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

+ 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 502 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 508 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 500 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 501 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 506 of file reader_struct.h.

Member Data Documentation

◆ id

template<class S >
int lcf::Field< S >::id
inherited

Definition at line 405 of file reader_struct.h.

Referenced by lcf::Struct< S >::LcfSize(), and lcf::Struct< S >::WriteLcf().

◆ is2k3

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

◆ name

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

Definition at line 404 of file reader_struct.h.

Referenced by lcf::TypedField< S, T >::WriteXml().

◆ present_if_default

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

Definition at line 406 of file reader_struct.h.

Referenced by lcf::Field< S >::isPresentIfDefault().


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