liblcf
|
#include <reader_struct.h>
Static Public Member Functions | |
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) |
Private Member Functions | |
template<> | |
char const *const | name |
template<> | |
char const *const | name |
template<> | |
char const *const | name |
template<> | |
char const *const | name |
Static Private Member Functions | |
static const char * | tag (int idx) |
static int | idx (const char *tag) |
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 |
Friends | |
template<class T > | |
class | FlagsXmlHandler |
Flags class template.
Definition at line 642 of file reader_struct.h.
Definition at line 135 of file reader_flags.cpp.
References XmlReader::SetHandler().
Referenced by TypeReader< T, Category::Flags >::BeginXml().
|
inlinestaticprivate |
Definition at line 668 of file reader_struct.h.
Referenced by FlagsXmlHandler< S >::StartElement().
Definition at line 78 of file reader_flags.cpp.
References RPG::System::ldb_id, and Data::system.
Referenced by TypeReader< T, Category::Flags >::LcfSize().
|
private |
Definition at line 23 of file ldb_terrain_flags.h.
|
private |
Definition at line 23 of file ldb_trooppagecondition_flags.h.
|
private |
Definition at line 23 of file lmu_eventpagecondition_flags.h.
|
private |
Definition at line 23 of file lsd_savepicture_flags.h.
Definition at line 25 of file reader_flags.cpp.
References LcfReader::Read().
Referenced by TypeReader< T, Category::Flags >::ReadLcf().
|
inlinestaticprivate |
Definition at line 663 of file reader_struct.h.
Definition at line 52 of file reader_flags.cpp.
References RPG::System::ldb_id, Data::system, and LcfWriter::Write().
Referenced by TypeReader< T, Category::Flags >::WriteLcf().
Definition at line 93 of file reader_flags.cpp.
References XmlWriter::BeginElement(), XmlWriter::EndElement(), RPG::System::ldb_id, Data::system, and XmlWriter::WriteNode().
Referenced by TypeReader< T, Category::Flags >::WriteXml().
Definition at line 652 of file reader_struct.h.
|
staticprivate |
Definition at line 646 of file reader_struct.h.
Definition at line 647 of file reader_struct.h.
|
staticprivate |
Definition at line 644 of file reader_struct.h.
|
staticprivate |
Definition at line 645 of file reader_struct.h.