liblcf
|
#include <reader_struct.h>
Static Public Member Functions | |
static void | ReadLcf (S &obj, LcfReader &stream) |
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 void | ReadLcf (std::vector< S > &obj, LcfReader &stream) |
static void | WriteLcf (const std::vector< S > &obj, LcfWriter &stream) |
static int | LcfSize (const std::vector< S > &obj, LcfWriter &stream) |
static void | WriteXml (const std::vector< S > &obj, XmlWriter &stream) |
static void | BeginXml (std::vector< S > &obj, XmlReader &stream) |
Private Types | |
typedef std::map< int, const Field< S > * > | field_map_type |
typedef std::map< const char *const, const Field< S > *, StringComparator > | tag_map_type |
typedef IDReaderT< S, IDChecker< S >::value > | IDReader |
Private Member Functions | |
char const *const | name |
Field< rpg::Actor > const * | fields [] |
char const *const | name |
Field< rpg::Animation > const * | fields [] |
char const *const | name |
Field< rpg::AnimationCellData > const * | fields [] |
char const *const | name |
Field< rpg::AnimationFrame > const * | fields [] |
char const *const | name |
Field< rpg::AnimationTiming > const * | fields [] |
char const *const | name |
Field< rpg::Attribute > const * | fields [] |
char const *const | name |
Field< rpg::BattleCommand > const * | fields [] |
char const *const | name |
Field< rpg::BattleCommands > const * | fields [] |
char const *const | name |
Field< rpg::BattlerAnimation > const * | fields [] |
char const *const | name |
Field< rpg::BattlerAnimationItemSkill > const * | fields [] |
char const *const | name |
Field< rpg::BattlerAnimationPose > const * | fields [] |
char const *const | name |
Field< rpg::BattlerAnimationWeapon > const * | fields [] |
char const *const | name |
Field< rpg::Chipset > const * | fields [] |
char const *const | name |
Field< rpg::Class > const * | fields [] |
char const *const | name |
Field< rpg::CommonEvent > const * | fields [] |
char const *const | name |
Field< rpg::Database > const * | fields [] |
char const *const | name |
Field< rpg::Enemy > const * | fields [] |
char const *const | name |
Field< rpg::EnemyAction > const * | fields [] |
char const *const | name |
Field< rpg::Item > const * | fields [] |
char const *const | name |
Field< rpg::Learning > const * | fields [] |
char const *const | name |
Field< rpg::Music > const * | fields [] |
char const *const | name |
Field< rpg::Skill > const * | fields [] |
char const *const | name |
Field< rpg::Sound > const * | fields [] |
char const *const | name |
Field< rpg::State > const * | fields [] |
char const *const | name |
Field< rpg::StringVariable > const * | fields [] |
char const *const | name |
Field< rpg::Switch > const * | fields [] |
char const *const | name |
Field< rpg::System > const * | fields [] |
char const *const | name |
Field< rpg::Terms > const * | fields [] |
char const *const | name |
Field< rpg::Terrain > const * | fields [] |
char const *const | name |
Field< rpg::TestBattler > const * | fields [] |
char const *const | name |
Field< rpg::Troop > const * | fields [] |
char const *const | name |
Field< rpg::TroopMember > const * | fields [] |
char const *const | name |
Field< rpg::TroopPage > const * | fields [] |
char const *const | name |
Field< rpg::TroopPageCondition > const * | fields [] |
char const *const | name |
Field< rpg::Variable > const * | fields [] |
char const *const | name |
Field< rpg::Encounter > const * | fields [] |
char const *const | name |
Field< rpg::MapInfo > const * | fields [] |
char const *const | name |
Field< rpg::Start > const * | fields [] |
char const *const | name |
Field< rpg::Event > const * | fields [] |
char const *const | name |
Field< rpg::EventPage > const * | fields [] |
char const *const | name |
Field< rpg::EventPageCondition > const * | fields [] |
char const *const | name |
Field< rpg::Map > const * | fields [] |
char const *const | name |
Field< rpg::MoveRoute > const * | fields [] |
char const *const | name |
Field< rpg::Save > const * | fields [] |
char const *const | name |
Field< rpg::SaveActor > const * | fields [] |
char const *const | name |
Field< rpg::SaveCommonEvent > const * | fields [] |
char const *const | name |
Field< rpg::SaveEasyRpgData > const * | fields [] |
char const *const | name |
Field< rpg::SaveEasyRpgText > const * | fields [] |
char const *const | name |
Field< rpg::SaveEasyRpgWindow > const * | fields [] |
char const *const | name |
Field< rpg::SaveEventExecFrame > const * | fields [] |
char const *const | name |
Field< rpg::SaveEventExecState > const * | fields [] |
char const *const | name |
Field< rpg::SaveInventory > const * | fields [] |
char const *const | name |
Field< rpg::SaveMapEvent > const * | fields [] |
char const *const | name |
Field< rpg::SaveMapEventBase > const * | fields [] |
char const *const | name |
Field< rpg::SaveMapInfo > const * | fields [] |
char const *const | name |
Field< rpg::SavePanorama > const * | fields [] |
char const *const | name |
Field< rpg::SavePartyLocation > const * | fields [] |
char const *const | name |
Field< rpg::SavePicture > const * | fields [] |
char const *const | name |
Field< rpg::SaveScreen > const * | fields [] |
char const *const | name |
Field< rpg::SaveSystem > const * | fields [] |
char const *const | name |
Field< rpg::SaveTarget > const * | fields [] |
char const *const | name |
Field< rpg::SaveTitle > const * | fields [] |
char const *const | name |
Field< rpg::SaveVehicleLocation > const * | fields [] |
Static Private Member Functions | |
static void | MakeFieldMap () |
static void | MakeTagMap () |
Static Private Attributes | |
static const Field< S > * | fields [] |
static field_map_type | field_map |
static tag_map_type | tag_map |
static const char *const | name |
Friends | |
template<class T> | |
class | StructXmlHandler |
template<class T> | |
class | StructVectorXmlHandler |
template<class T> | |
class | StructFieldXmlHandler |
Definition at line 604 of file reader_struct.h.
|
private |
Definition at line 606 of file reader_struct.h.
|
private |
Definition at line 608 of file reader_struct.h.
|
private |
Definition at line 607 of file reader_struct.h.
|
static |
Definition at line 211 of file reader_struct_impl.h.
References StructFieldXmlHandler.
Referenced by lcf::TypeReader< std::vector< T >, Category::Struct >::BeginXml(), lcf::TypeReader< T, Category::Struct >::BeginXml(), and lcf::TreeMapXmlHandler::StartElement().
|
static |
Definition at line 274 of file reader_struct_impl.h.
References StructVectorXmlHandler.
|
private |
Definition at line 344 of file ldb_actor.cpp.
References fields.
|
private |
Definition at line 75 of file ldb_animation.cpp.
References fields.
|
private |
Definition at line 96 of file ldb_animationcelldata.cpp.
References fields.
|
private |
Definition at line 33 of file ldb_animationframe.cpp.
References fields.
|
private |
Definition at line 82 of file ldb_animationtiming.cpp.
References fields.
|
private |
Definition at line 75 of file ldb_attribute.cpp.
References fields.
|
private |
Definition at line 40 of file ldb_battlecommand.cpp.
References fields.
|
private |
Definition at line 173 of file ldb_battlecommands.cpp.
References fields.
|
private |
Definition at line 54 of file ldb_battleranimation.cpp.
References fields.
|
private |
Definition at line 103 of file ldb_battleranimationitemskill.cpp.
References fields.
|
private |
Definition at line 61 of file ldb_battleranimationpose.cpp.
References fields.
|
private |
Definition at line 47 of file ldb_battleranimationweapon.cpp.
References fields.
|
private |
Definition at line 75 of file ldb_chipset.cpp.
References fields.
|
private |
Definition at line 136 of file ldb_class.cpp.
References fields.
|
private |
Definition at line 67 of file ldb_commonevent.cpp.
References fields.
|
private |
Definition at line 184 of file ldb_database.cpp.
References fields, lcf::static_classD1, lcf::static_commoneventD2, and lcf::static_commoneventD3.
|
private |
Definition at line 281 of file ldb_enemy.cpp.
References fields.
|
private |
Definition at line 117 of file ldb_enemyaction.cpp.
References fields.
|
private |
Definition at line 428 of file ldb_item.cpp.
References fields.
|
private |
Definition at line 40 of file ldb_learning.cpp.
References fields.
|
private |
Definition at line 61 of file ldb_music.cpp.
References fields.
|
private |
Definition at line 367 of file ldb_skill.cpp.
References fields.
|
private |
Definition at line 54 of file ldb_sound.cpp.
References fields.
|
private |
Definition at line 333 of file ldb_state.cpp.
References fields.
|
private |
Definition at line 33 of file ldb_stringvariable.cpp.
References fields.
|
private |
Definition at line 33 of file ldb_switch.cpp.
References fields.
|
private |
Definition at line 563 of file ldb_system.cpp.
References fields.
|
private |
Definition at line 1097 of file ldb_terms.cpp.
References fields.
|
private |
Definition at line 264 of file ldb_terrain.cpp.
References fields.
|
private |
Definition at line 75 of file ldb_testbattler.cpp.
References fields.
|
private |
Definition at line 74 of file ldb_troop.cpp.
References fields.
|
private |
Definition at line 54 of file ldb_troopmember.cpp.
References fields.
|
private |
Definition at line 46 of file ldb_trooppage.cpp.
References fields.
|
private |
Definition at line 187 of file ldb_trooppagecondition.cpp.
References fields.
|
private |
Definition at line 33 of file ldb_variable.cpp.
References fields.
|
private |
Definition at line 33 of file lmt_encounter.cpp.
References fields.
|
private |
Definition at line 145 of file lmt_mapinfo.cpp.
References fields.
|
private |
Definition at line 110 of file lmt_start.cpp.
References fields.
|
private |
Definition at line 54 of file lmu_event.cpp.
References fields.
|
private |
Definition at line 137 of file lmu_eventpage.cpp.
References fields.
|
private |
Definition at line 96 of file lmu_eventpagecondition.cpp.
References fields.
|
private |
Definition at line 250 of file lmu_map.cpp.
References fields.
|
private |
Definition at line 53 of file lmu_moveroute.cpp.
References fields.
|
private |
Definition at line 138 of file lsd_save.cpp.
References fields.
|
private |
Definition at line 241 of file lsd_saveactor.cpp.
References fields.
|
private |
Definition at line 33 of file lsd_savecommonevent.cpp.
References fields.
|
private |
Definition at line 47 of file lsd_saveeasyrpgdata.cpp.
References fields.
|
private |
Definition at line 82 of file lsd_saveeasyrpgtext.cpp.
References fields.
|
private |
Definition at line 68 of file lsd_saveeasyrpgwindow.cpp.
References fields.
|
private |
Definition at line 115 of file lsd_saveeventexecframe.cpp.
References fields.
|
private |
Definition at line 208 of file lsd_saveeventexecstate.cpp.
References fields.
|
private |
Definition at line 171 of file lsd_saveinventory.cpp.
References fields.
|
private |
Definition at line 355 of file lsd_savemapevent.cpp.
References fields.
|
private |
Definition at line 327 of file lsd_savemapeventbase.cpp.
References fields.
|
private |
Definition at line 124 of file lsd_savemapinfo.cpp.
References fields.
|
private |
Definition at line 40 of file lsd_savepanorama.cpp.
References fields.
|
private |
Definition at line 453 of file lsd_savepartylocation.cpp.
References fields.
|
private |
Definition at line 327 of file lsd_savepicture.cpp.
References fields.
|
private |
Definition at line 236 of file lsd_savescreen.cpp.
References fields.
|
private |
Definition at line 542 of file lsd_savesystem.cpp.
References fields.
|
private |
Definition at line 61 of file lsd_savetarget.cpp.
References fields.
|
private |
Definition at line 110 of file lsd_savetitle.cpp.
References fields.
|
private |
Definition at line 362 of file lsd_savevehiclelocation.cpp.
References fields.
|
static |
Definition at line 138 of file reader_struct_impl.h.
References fields, lcf::Field< S >::id, lcf::Field< S >::is2k3, lcf::Field< S >::IsDefault(), lcf::Field< S >::isPresentIfDefault(), lcf::Field< S >::LcfSize(), and lcf::StructDefault< T >::make().
Referenced by lcf::TypeReader< std::vector< T >, Category::Struct >::LcfSize(), and lcf::TypeReader< T, Category::Struct >::LcfSize().
|
static |
Definition at line 238 of file reader_struct_impl.h.
|
staticprivate |
Definition at line 27 of file reader_struct_impl.h.
References field_map, and fields.
Referenced by ReadLcf().
|
staticprivate |
Definition at line 35 of file reader_struct_impl.h.
References fields, name, and tag_map.
Referenced by lcf::StructXmlHandler< S >::StructXmlHandler().
|
private |
Definition at line 22 of file ldb_actor.cpp.
References name.
|
private |
Definition at line 22 of file ldb_animation.cpp.
References name.
|
private |
Definition at line 22 of file ldb_animationcelldata.cpp.
References name.
|
private |
Definition at line 22 of file ldb_animationframe.cpp.
References name.
|
private |
Definition at line 22 of file ldb_animationtiming.cpp.
References name.
|
private |
Definition at line 22 of file ldb_attribute.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battlecommand.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battlecommands.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battleranimation.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battleranimationitemskill.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battleranimationpose.cpp.
References name.
|
private |
Definition at line 22 of file ldb_battleranimationweapon.cpp.
References name.
|
private |
Definition at line 22 of file ldb_chipset.cpp.
References name.
|
private |
Definition at line 22 of file ldb_class.cpp.
References name.
|
private |
Definition at line 22 of file ldb_commonevent.cpp.
References name.
|
private |
Definition at line 22 of file ldb_database.cpp.
References name.
|
private |
Definition at line 22 of file ldb_enemy.cpp.
References name.
|
private |
Definition at line 22 of file ldb_enemyaction.cpp.
References name.
|
private |
Definition at line 22 of file ldb_item.cpp.
References name.
|
private |
Definition at line 22 of file ldb_learning.cpp.
References name.
|
private |
Definition at line 22 of file ldb_music.cpp.
References name.
|
private |
Definition at line 22 of file ldb_skill.cpp.
References name.
|
private |
Definition at line 22 of file ldb_sound.cpp.
References name.
|
private |
Definition at line 22 of file ldb_state.cpp.
References name.
|
private |
Definition at line 22 of file ldb_stringvariable.cpp.
References name.
|
private |
Definition at line 22 of file ldb_switch.cpp.
References name.
|
private |
Definition at line 22 of file ldb_system.cpp.
References name.
|
private |
Definition at line 22 of file ldb_terms.cpp.
References name.
|
private |
Definition at line 22 of file ldb_terrain.cpp.
References name.
|
private |
Definition at line 22 of file ldb_testbattler.cpp.
References name.
|
private |
Definition at line 22 of file ldb_troop.cpp.
References name.
|
private |
Definition at line 22 of file ldb_troopmember.cpp.
References name.
|
private |
Definition at line 22 of file ldb_trooppage.cpp.
References name.
|
private |
Definition at line 22 of file ldb_trooppagecondition.cpp.
References name.
|
private |
Definition at line 22 of file ldb_variable.cpp.
References name.
|
private |
Definition at line 22 of file lmt_encounter.cpp.
References name.
|
private |
Definition at line 22 of file lmt_mapinfo.cpp.
References name.
|
private |
Definition at line 22 of file lmt_start.cpp.
References name.
|
private |
Definition at line 22 of file lmu_event.cpp.
References name.
|
private |
Definition at line 22 of file lmu_eventpage.cpp.
References name.
|
private |
Definition at line 22 of file lmu_eventpagecondition.cpp.
References name.
|
private |
Definition at line 22 of file lmu_map.cpp.
References name.
|
private |
Definition at line 22 of file lmu_moveroute.cpp.
References name.
|
private |
Definition at line 22 of file lsd_save.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveactor.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savecommonevent.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveeasyrpgdata.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveeasyrpgtext.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveeasyrpgwindow.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveeventexecframe.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveeventexecstate.cpp.
References name.
|
private |
Definition at line 22 of file lsd_saveinventory.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savemapevent.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savemapeventbase.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savemapinfo.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savepanorama.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savepartylocation.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savepicture.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savescreen.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savesystem.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savetarget.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savetitle.cpp.
References name.
|
private |
Definition at line 22 of file lsd_savevehiclelocation.cpp.
References name.
|
static |
Definition at line 61 of file reader_struct_impl.h.
References field_map, MakeFieldMap(), name, and lcf::Log::Warning().
Referenced by lcf::RawStruct< rpg::TreeMap >::ReadLcf(), lcf::TypeReader< std::vector< T >, Category::Struct >::ReadLcf(), and lcf::TypeReader< T, Category::Struct >::ReadLcf().
|
static |
Definition at line 218 of file reader_struct_impl.h.
|
static |
Definition at line 108 of file reader_struct_impl.h.
References lcf::conditional_zero_writer(), fields, lcf::Field< S >::id, lcf::Field< S >::is2k3, lcf::Field< S >::IsDefault(), lcf::Field< S >::isPresentIfDefault(), lcf::Field< S >::LcfSize(), lcf::StructDefault< T >::make(), name, and lcf::Field< S >::WriteLcf().
Referenced by lcf::RawStruct< rpg::TreeMap >::WriteLcf(), lcf::TypeReader< std::vector< T >, Category::Struct >::WriteLcf(), and lcf::TypeReader< T, Category::Struct >::WriteLcf().
|
static |
Definition at line 228 of file reader_struct_impl.h.
|
static |
Definition at line 161 of file reader_struct_impl.h.
References fields, name, and lcf::Field< S >::WriteXml().
Referenced by lcf::RawStruct< rpg::TreeMap >::WriteXml(), lcf::TypeReader< std::vector< T >, Category::Struct >::WriteXml(), and lcf::TypeReader< T, Category::Struct >::WriteXml().
|
static |
Definition at line 250 of file reader_struct_impl.h.
Definition at line 619 of file reader_struct.h.
References StructFieldXmlHandler.
Referenced by BeginXml(), and StructFieldXmlHandler.
Definition at line 618 of file reader_struct.h.
References StructVectorXmlHandler.
Referenced by BeginXml(), and StructVectorXmlHandler.
Definition at line 617 of file reader_struct.h.
References StructXmlHandler.
Referenced by StructXmlHandler.
|
staticprivate |
Definition at line 610 of file reader_struct.h.
Referenced by MakeFieldMap(), and ReadLcf().
|
staticprivate |
Definition at line 609 of file reader_struct.h.
Referenced by fields(), LcfSize(), MakeFieldMap(), MakeTagMap(), WriteLcf(), and WriteXml().
|
staticprivate |
Definition at line 612 of file reader_struct.h.
Referenced by MakeTagMap(), name(), ReadLcf(), lcf::StructFieldXmlHandler< S >::StartElement(), lcf::StructVectorXmlHandler< S >::StartElement(), WriteLcf(), and WriteXml().
|
staticprivate |
Definition at line 611 of file reader_struct.h.
Referenced by MakeTagMap(), and lcf::StructXmlHandler< S >::StartElement().