liblcf
|
#include <reader_struct.h>
Static Public Member Functions | |
static const char * | tag (int idx) |
static int | idx (const char *tag) |
static void | ReadLcf (S &obj, LcfReader &stream, uint32_t length) |
static void | WriteLcf (const S &obj, LcfWriter &stream) |
static int | LcfSize (const S &obj, LcfWriter &stream) |
static void | WriteXml (const S &obj, XmlWriter &stream) |
static void | BeginXml (S &obj, XmlReader &stream) |
Static Private Attributes | |
static const char *const | name |
static constexpr size_t | num_flags = std::tuple_size<decltype(S::flags)>::value |
static const std::array< const char *const, num_flags > | flag_names |
static const std::array< bool, num_flags > | flags_is2k3 |
Flags class template.
Definition at line 694 of file reader_struct.h.
|
static |
Definition at line 126 of file reader_flags.cpp.
References name.
Referenced by lcf::TypeReader< T, Category::Flags >::BeginXml().
|
inlinestatic |
Definition at line 718 of file reader_struct.h.
References flag_names, and tag().
Referenced by lcf::FlagsXmlHandler< S >::StartElement(), and tag().
|
static |
Definition at line 69 of file reader_flags.cpp.
References flags_is2k3, and num_flags.
Referenced by lcf::TypeReader< T, Category::Flags >::LcfSize().
|
static |
Definition at line 16 of file reader_flags.cpp.
References num_flags.
Referenced by lcf::TypeReader< T, Category::Flags >::ReadLcf().
|
inlinestatic |
Definition at line 713 of file reader_struct.h.
References flag_names, and idx().
Referenced by idx().
|
static |
Definition at line 43 of file reader_flags.cpp.
References flags_is2k3, and num_flags.
Referenced by lcf::TypeReader< T, Category::Flags >::WriteLcf().
|
static |
Definition at line 84 of file reader_flags.cpp.
References flag_names, flags_is2k3, name, and num_flags.
Referenced by lcf::TypeReader< T, Category::Flags >::WriteXml().
|
staticprivate |
Definition at line 698 of file reader_struct.h.
Referenced by idx(), tag(), and WriteXml().
|
staticprivate |
Definition at line 699 of file reader_struct.h.
Referenced by LcfSize(), WriteLcf(), and WriteXml().
|
staticprivate |
Definition at line 696 of file reader_struct.h.
Referenced by BeginXml(), and WriteXml().
|
staticconstexprprivate |
Definition at line 697 of file reader_struct.h.
Referenced by LcfSize(), ReadLcf(), WriteLcf(), and WriteXml().