liblcf
Loading...
Searching...
No Matches
lcf::Primitive< T > Struct Template Reference

#include <reader_struct.h>

Inheritance diagram for lcf::Primitive< T >:
Collaboration diagram for lcf::Primitive< T >:

Static Public Member Functions

static void ReadLcf (T &ref, LcfReader &stream, uint32_t length)
static void WriteLcf (const T &ref, LcfWriter &stream)
static int LcfSize (const T &, LcfWriter &)
static void WriteXml (const T &ref, XmlWriter &stream)
static void ParseXml (T &ref, const std::string &data)

Detailed Description

template<class T>
struct lcf::Primitive< T >

Primitive type reader template.

Definition at line 167 of file reader_struct.h.

Member Function Documentation

◆ LcfSize()

template<class T>
int lcf::Primitive< T >::LcfSize ( const T & ,
LcfWriter &  )
inlinestatic

Definition at line 191 of file reader_struct.h.

References lcf::LcfSizeT< T >::value.

Referenced by lcf::TypeReader< T, Category::Primitive >::LcfSize().

Here is the caller graph for this function:

◆ ParseXml()

template<class T>
void lcf::Primitive< T >::ParseXml ( T & ref,
const std::string & data )
inlinestatic

Definition at line 197 of file reader_struct.h.

Referenced by lcf::TypeReader< T, Category::Primitive >::ParseXml().

Here is the caller graph for this function:

◆ ReadLcf()

template<class T>
void lcf::Primitive< T >::ReadLcf ( T & ref,
LcfReader & stream,
uint32_t length )
inlinestatic

Definition at line 168 of file reader_struct.h.

References lcf::LcfSizeT< T >::value, and lcf::Log::Warning().

Referenced by lcf::TypeReader< T, Category::Primitive >::ReadLcf().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteLcf()

template<class T>
void lcf::Primitive< T >::WriteLcf ( const T & ref,
LcfWriter & stream )
inlinestatic

Definition at line 188 of file reader_struct.h.

Referenced by lcf::TypeReader< T, Category::Primitive >::WriteLcf().

Here is the caller graph for this function:

◆ WriteXml()

template<class T>
void lcf::Primitive< T >::WriteXml ( const T & ref,
XmlWriter & stream )
inlinestatic

Definition at line 194 of file reader_struct.h.

Referenced by lcf::TypeReader< T, Category::Primitive >::WriteXml().

Here is the caller graph for this function:

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