liblcf
Loading...
Searching...
No Matches
lcf::Struct< S > Class Template Reference

#include <reader_struct.h>

+ Collaboration diagram for lcf::Struct< S >:

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 > *, StringComparatortag_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::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
 

Detailed Description

template<class S>
class lcf::Struct< S >

Definition at line 618 of file reader_struct.h.

Member Typedef Documentation

◆ field_map_type

template<class S>
typedef std::map<int, const Field<S>* > lcf::Struct< S >::field_map_type
private

Definition at line 620 of file reader_struct.h.

◆ IDReader

template<class S>
typedef IDReaderT<S, IDChecker<S>::value > lcf::Struct< S >::IDReader
private

Definition at line 622 of file reader_struct.h.

◆ tag_map_type

template<class S>
typedef std::map<const char* const, const Field<S>*, StringComparator> lcf::Struct< S >::tag_map_type
private

Definition at line 621 of file reader_struct.h.

Member Function Documentation

◆ BeginXml() [1/2]

template<class S>
void lcf::Struct< S >::BeginXml ( S & obj,
XmlReader & stream )
static

Definition at line 210 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().

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

◆ BeginXml() [2/2]

template<class S>
void lcf::Struct< S >::BeginXml ( std::vector< S > & obj,
XmlReader & stream )
static

Definition at line 273 of file reader_struct_impl.h.

References StructVectorXmlHandler.

+ Here is the call graph for this function:

◆ fields() [1/62]

Field< rpg::Actor > const * lcf::Struct< rpg::Actor >::fields
private

Definition at line 344 of file ldb_actor.cpp.

References fields.

◆ fields() [2/62]

Field< rpg::Animation > const * lcf::Struct< rpg::Animation >::fields
private

Definition at line 75 of file ldb_animation.cpp.

References fields.

◆ fields() [3/62]

Field< rpg::AnimationCellData > const * lcf::Struct< rpg::AnimationCellData >::fields
private

Definition at line 96 of file ldb_animationcelldata.cpp.

References fields.

◆ fields() [4/62]

Field< rpg::AnimationFrame > const * lcf::Struct< rpg::AnimationFrame >::fields
private

Definition at line 33 of file ldb_animationframe.cpp.

References fields.

◆ fields() [5/62]

Field< rpg::AnimationTiming > const * lcf::Struct< rpg::AnimationTiming >::fields
private

Definition at line 82 of file ldb_animationtiming.cpp.

References fields.

◆ fields() [6/62]

Field< rpg::Attribute > const * lcf::Struct< rpg::Attribute >::fields
private

Definition at line 75 of file ldb_attribute.cpp.

References fields.

◆ fields() [7/62]

Field< rpg::BattleCommand > const * lcf::Struct< rpg::BattleCommand >::fields
private

Definition at line 40 of file ldb_battlecommand.cpp.

References fields.

◆ fields() [8/62]

Field< rpg::BattleCommands > const * lcf::Struct< rpg::BattleCommands >::fields
private

Definition at line 159 of file ldb_battlecommands.cpp.

References fields.

◆ fields() [9/62]

Field< rpg::BattlerAnimation > const * lcf::Struct< rpg::BattlerAnimation >::fields
private

Definition at line 54 of file ldb_battleranimation.cpp.

References fields.

◆ fields() [10/62]

Field< rpg::BattlerAnimationItemSkill > const * lcf::Struct< rpg::BattlerAnimationItemSkill >::fields
private

Definition at line 103 of file ldb_battleranimationitemskill.cpp.

References fields.

◆ fields() [11/62]

Field< rpg::BattlerAnimationPose > const * lcf::Struct< rpg::BattlerAnimationPose >::fields
private

Definition at line 61 of file ldb_battleranimationpose.cpp.

References fields.

◆ fields() [12/62]

Field< rpg::BattlerAnimationWeapon > const * lcf::Struct< rpg::BattlerAnimationWeapon >::fields
private

Definition at line 47 of file ldb_battleranimationweapon.cpp.

References fields.

◆ fields() [13/62]

Field< rpg::Chipset > const * lcf::Struct< rpg::Chipset >::fields
private

Definition at line 75 of file ldb_chipset.cpp.

References fields.

◆ fields() [14/62]

Field< rpg::Class > const * lcf::Struct< rpg::Class >::fields
private

Definition at line 136 of file ldb_class.cpp.

References fields.

◆ fields() [15/62]

Field< rpg::CommonEvent > const * lcf::Struct< rpg::CommonEvent >::fields
private

Definition at line 67 of file ldb_commonevent.cpp.

References fields.

◆ fields() [16/62]

Field< rpg::Database > const * lcf::Struct< rpg::Database >::fields
private

◆ fields() [17/62]

Field< rpg::Enemy > const * lcf::Struct< rpg::Enemy >::fields
private

Definition at line 281 of file ldb_enemy.cpp.

References fields.

◆ fields() [18/62]

Field< rpg::EnemyAction > const * lcf::Struct< rpg::EnemyAction >::fields
private

Definition at line 117 of file ldb_enemyaction.cpp.

References fields.

◆ fields() [19/62]

Field< rpg::Item > const * lcf::Struct< rpg::Item >::fields
private

Definition at line 428 of file ldb_item.cpp.

References fields.

◆ fields() [20/62]

Field< rpg::Learning > const * lcf::Struct< rpg::Learning >::fields
private

Definition at line 40 of file ldb_learning.cpp.

References fields.

◆ fields() [21/62]

Field< rpg::Music > const * lcf::Struct< rpg::Music >::fields
private

Definition at line 61 of file ldb_music.cpp.

References fields.

◆ fields() [22/62]

Field< rpg::Skill > const * lcf::Struct< rpg::Skill >::fields
private

Definition at line 367 of file ldb_skill.cpp.

References fields.

◆ fields() [23/62]

Field< rpg::Sound > const * lcf::Struct< rpg::Sound >::fields
private

Definition at line 54 of file ldb_sound.cpp.

References fields.

◆ fields() [24/62]

Field< rpg::State > const * lcf::Struct< rpg::State >::fields
private

Definition at line 333 of file ldb_state.cpp.

References fields.

◆ fields() [25/62]

Field< rpg::Switch > const * lcf::Struct< rpg::Switch >::fields
private

Definition at line 33 of file ldb_switch.cpp.

References fields.

◆ fields() [26/62]

Field< rpg::System > const * lcf::Struct< rpg::System >::fields
private

Definition at line 563 of file ldb_system.cpp.

References fields.

◆ fields() [27/62]

Field< rpg::Terms > const * lcf::Struct< rpg::Terms >::fields
private

Definition at line 1055 of file ldb_terms.cpp.

References fields.

◆ fields() [28/62]

Field< rpg::Terrain > const * lcf::Struct< rpg::Terrain >::fields
private

Definition at line 264 of file ldb_terrain.cpp.

References fields.

◆ fields() [29/62]

Field< rpg::TestBattler > const * lcf::Struct< rpg::TestBattler >::fields
private

Definition at line 75 of file ldb_testbattler.cpp.

References fields.

◆ fields() [30/62]

Field< rpg::Troop > const * lcf::Struct< rpg::Troop >::fields
private

Definition at line 74 of file ldb_troop.cpp.

References fields.

◆ fields() [31/62]

Field< rpg::TroopMember > const * lcf::Struct< rpg::TroopMember >::fields
private

Definition at line 54 of file ldb_troopmember.cpp.

References fields.

◆ fields() [32/62]

Field< rpg::TroopPage > const * lcf::Struct< rpg::TroopPage >::fields
private

Definition at line 46 of file ldb_trooppage.cpp.

References fields.

◆ fields() [33/62]

Field< rpg::TroopPageCondition > const * lcf::Struct< rpg::TroopPageCondition >::fields
private

Definition at line 187 of file ldb_trooppagecondition.cpp.

References fields.

◆ fields() [34/62]

Field< rpg::Variable > const * lcf::Struct< rpg::Variable >::fields
private

Definition at line 33 of file ldb_variable.cpp.

References fields.

◆ fields() [35/62]

Field< rpg::Encounter > const * lcf::Struct< rpg::Encounter >::fields
private

Definition at line 33 of file lmt_encounter.cpp.

References fields.

◆ fields() [36/62]

Field< rpg::MapInfo > const * lcf::Struct< rpg::MapInfo >::fields
private

Definition at line 145 of file lmt_mapinfo.cpp.

References fields.

◆ fields() [37/62]

Field< rpg::Start > const * lcf::Struct< rpg::Start >::fields
private

Definition at line 110 of file lmt_start.cpp.

References fields.

◆ fields() [38/62]

Field< rpg::Event > const * lcf::Struct< rpg::Event >::fields
private

Definition at line 54 of file lmu_event.cpp.

References fields.

◆ fields() [39/62]

Field< rpg::EventPage > const * lcf::Struct< rpg::EventPage >::fields
private

Definition at line 137 of file lmu_eventpage.cpp.

References fields.

◆ fields() [40/62]

Field< rpg::EventPageCondition > const * lcf::Struct< rpg::EventPageCondition >::fields
private

Definition at line 96 of file lmu_eventpagecondition.cpp.

References fields.

◆ fields() [41/62]

Field< rpg::Map > const * lcf::Struct< rpg::Map >::fields
private

Definition at line 250 of file lmu_map.cpp.

References fields.

◆ fields() [42/62]

Field< rpg::MoveRoute > const * lcf::Struct< rpg::MoveRoute >::fields
private

Definition at line 53 of file lmu_moveroute.cpp.

References fields.

◆ fields() [43/62]

Field< rpg::Save > const * lcf::Struct< rpg::Save >::fields
private

Definition at line 138 of file lsd_save.cpp.

References fields.

◆ fields() [44/62]

Field< rpg::SaveActor > const * lcf::Struct< rpg::SaveActor >::fields
private

Definition at line 241 of file lsd_saveactor.cpp.

References fields.

◆ fields() [45/62]

Field< rpg::SaveCommonEvent > const * lcf::Struct< rpg::SaveCommonEvent >::fields
private

Definition at line 33 of file lsd_savecommonevent.cpp.

References fields.

◆ fields() [46/62]

Field< rpg::SaveEasyRpgData > const * lcf::Struct< rpg::SaveEasyRpgData >::fields
private

Definition at line 47 of file lsd_saveeasyrpgdata.cpp.

References fields.

◆ fields() [47/62]

Field< rpg::SaveEasyRpgText > const * lcf::Struct< rpg::SaveEasyRpgText >::fields
private

Definition at line 82 of file lsd_saveeasyrpgtext.cpp.

References fields.

◆ fields() [48/62]

Field< rpg::SaveEasyRpgWindow > const * lcf::Struct< rpg::SaveEasyRpgWindow >::fields
private

Definition at line 68 of file lsd_saveeasyrpgwindow.cpp.

References fields.

◆ fields() [49/62]

Field< rpg::SaveEventExecFrame > const * lcf::Struct< rpg::SaveEventExecFrame >::fields
private

Definition at line 108 of file lsd_saveeventexecframe.cpp.

References fields.

◆ fields() [50/62]

Field< rpg::SaveEventExecState > const * lcf::Struct< rpg::SaveEventExecState >::fields
private

Definition at line 180 of file lsd_saveeventexecstate.cpp.

References fields.

◆ fields() [51/62]

Field< rpg::SaveInventory > const * lcf::Struct< rpg::SaveInventory >::fields
private

Definition at line 171 of file lsd_saveinventory.cpp.

References fields.

◆ fields() [52/62]

Field< rpg::SaveMapEvent > const * lcf::Struct< rpg::SaveMapEvent >::fields
private

Definition at line 327 of file lsd_savemapevent.cpp.

References fields.

◆ fields() [53/62]

Field< rpg::SaveMapEventBase > const * lcf::Struct< rpg::SaveMapEventBase >::fields
private

Definition at line 299 of file lsd_savemapeventbase.cpp.

References fields.

◆ fields() [54/62]

Field< rpg::SaveMapInfo > const * lcf::Struct< rpg::SaveMapInfo >::fields
private

Definition at line 124 of file lsd_savemapinfo.cpp.

References fields.

◆ fields() [55/62]

Field< rpg::SavePanorama > const * lcf::Struct< rpg::SavePanorama >::fields
private

Definition at line 40 of file lsd_savepanorama.cpp.

References fields.

◆ fields() [56/62]

Field< rpg::SavePartyLocation > const * lcf::Struct< rpg::SavePartyLocation >::fields
private

Definition at line 411 of file lsd_savepartylocation.cpp.

References fields.

◆ fields() [57/62]

Field< rpg::SavePicture > const * lcf::Struct< rpg::SavePicture >::fields
private

Definition at line 313 of file lsd_savepicture.cpp.

References fields.

◆ fields() [58/62]

Field< rpg::SaveScreen > const * lcf::Struct< rpg::SaveScreen >::fields
private

Definition at line 236 of file lsd_savescreen.cpp.

References fields.

◆ fields() [59/62]

Field< rpg::SaveSystem > const * lcf::Struct< rpg::SaveSystem >::fields
private

Definition at line 458 of file lsd_savesystem.cpp.

References fields.

◆ fields() [60/62]

Field< rpg::SaveTarget > const * lcf::Struct< rpg::SaveTarget >::fields
private

Definition at line 61 of file lsd_savetarget.cpp.

References fields.

◆ fields() [61/62]

Field< rpg::SaveTitle > const * lcf::Struct< rpg::SaveTitle >::fields
private

Definition at line 110 of file lsd_savetitle.cpp.

References fields.

◆ fields() [62/62]

Field< rpg::SaveVehicleLocation > const * lcf::Struct< rpg::SaveVehicleLocation >::fields
private

Definition at line 334 of file lsd_savevehiclelocation.cpp.

References fields.

◆ LcfSize() [1/2]

template<class S>
int lcf::Struct< S >::LcfSize ( const S & obj,
LcfWriter & stream )
static

Definition at line 137 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().

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

◆ LcfSize() [2/2]

template<class S>
int lcf::Struct< S >::LcfSize ( const std::vector< S > & obj,
LcfWriter & stream )
static

Definition at line 237 of file reader_struct_impl.h.

◆ MakeFieldMap()

template<class S>
void lcf::Struct< S >::MakeFieldMap ( )
staticprivate

Definition at line 26 of file reader_struct_impl.h.

References field_map, and fields.

Referenced by ReadLcf().

+ Here is the caller graph for this function:

◆ MakeTagMap()

template<class S>
void lcf::Struct< S >::MakeTagMap ( )
staticprivate

Definition at line 34 of file reader_struct_impl.h.

References fields, name, and tag_map.

Referenced by lcf::StructXmlHandler< S >::StructXmlHandler().

+ Here is the caller graph for this function:

◆ name() [1/62]

char const *const lcf::Struct< rpg::Actor >::name
private

Definition at line 22 of file ldb_actor.cpp.

References name.

◆ name() [2/62]

char const *const lcf::Struct< rpg::Animation >::name
private

Definition at line 22 of file ldb_animation.cpp.

References name.

◆ name() [3/62]

char const *const lcf::Struct< rpg::AnimationCellData >::name
private

Definition at line 22 of file ldb_animationcelldata.cpp.

References name.

◆ name() [4/62]

char const *const lcf::Struct< rpg::AnimationFrame >::name
private

Definition at line 22 of file ldb_animationframe.cpp.

References name.

◆ name() [5/62]

char const *const lcf::Struct< rpg::AnimationTiming >::name
private

Definition at line 22 of file ldb_animationtiming.cpp.

References name.

◆ name() [6/62]

char const *const lcf::Struct< rpg::Attribute >::name
private

Definition at line 22 of file ldb_attribute.cpp.

References name.

◆ name() [7/62]

char const *const lcf::Struct< rpg::BattleCommand >::name
private

Definition at line 22 of file ldb_battlecommand.cpp.

References name.

◆ name() [8/62]

char const *const lcf::Struct< rpg::BattleCommands >::name
private

Definition at line 22 of file ldb_battlecommands.cpp.

References name.

◆ name() [9/62]

char const *const lcf::Struct< rpg::BattlerAnimation >::name
private

Definition at line 22 of file ldb_battleranimation.cpp.

References name.

◆ name() [10/62]

char const *const lcf::Struct< rpg::BattlerAnimationItemSkill >::name
private

Definition at line 22 of file ldb_battleranimationitemskill.cpp.

References name.

◆ name() [11/62]

char const *const lcf::Struct< rpg::BattlerAnimationPose >::name
private

Definition at line 22 of file ldb_battleranimationpose.cpp.

References name.

◆ name() [12/62]

char const *const lcf::Struct< rpg::BattlerAnimationWeapon >::name
private

Definition at line 22 of file ldb_battleranimationweapon.cpp.

References name.

◆ name() [13/62]

char const *const lcf::Struct< rpg::Chipset >::name
private

Definition at line 22 of file ldb_chipset.cpp.

References name.

◆ name() [14/62]

char const *const lcf::Struct< rpg::Class >::name
private

Definition at line 22 of file ldb_class.cpp.

References name.

◆ name() [15/62]

char const *const lcf::Struct< rpg::CommonEvent >::name
private

Definition at line 22 of file ldb_commonevent.cpp.

References name.

◆ name() [16/62]

char const *const lcf::Struct< rpg::Database >::name
private

Definition at line 22 of file ldb_database.cpp.

References name.

◆ name() [17/62]

char const *const lcf::Struct< rpg::Enemy >::name
private

Definition at line 22 of file ldb_enemy.cpp.

References name.

◆ name() [18/62]

char const *const lcf::Struct< rpg::EnemyAction >::name
private

Definition at line 22 of file ldb_enemyaction.cpp.

References name.

◆ name() [19/62]

char const *const lcf::Struct< rpg::Item >::name
private

Definition at line 22 of file ldb_item.cpp.

References name.

◆ name() [20/62]

char const *const lcf::Struct< rpg::Learning >::name
private

Definition at line 22 of file ldb_learning.cpp.

References name.

◆ name() [21/62]

char const *const lcf::Struct< rpg::Music >::name
private

Definition at line 22 of file ldb_music.cpp.

References name.

◆ name() [22/62]

char const *const lcf::Struct< rpg::Skill >::name
private

Definition at line 22 of file ldb_skill.cpp.

References name.

◆ name() [23/62]

char const *const lcf::Struct< rpg::Sound >::name
private

Definition at line 22 of file ldb_sound.cpp.

References name.

◆ name() [24/62]

char const *const lcf::Struct< rpg::State >::name
private

Definition at line 22 of file ldb_state.cpp.

References name.

◆ name() [25/62]

char const *const lcf::Struct< rpg::Switch >::name
private

Definition at line 22 of file ldb_switch.cpp.

References name.

◆ name() [26/62]

char const *const lcf::Struct< rpg::System >::name
private

Definition at line 22 of file ldb_system.cpp.

References name.

◆ name() [27/62]

char const *const lcf::Struct< rpg::Terms >::name
private

Definition at line 22 of file ldb_terms.cpp.

References name.

◆ name() [28/62]

char const *const lcf::Struct< rpg::Terrain >::name
private

Definition at line 22 of file ldb_terrain.cpp.

References name.

◆ name() [29/62]

char const *const lcf::Struct< rpg::TestBattler >::name
private

Definition at line 22 of file ldb_testbattler.cpp.

References name.

◆ name() [30/62]

char const *const lcf::Struct< rpg::Troop >::name
private

Definition at line 22 of file ldb_troop.cpp.

References name.

◆ name() [31/62]

char const *const lcf::Struct< rpg::TroopMember >::name
private

Definition at line 22 of file ldb_troopmember.cpp.

References name.

◆ name() [32/62]

char const *const lcf::Struct< rpg::TroopPage >::name
private

Definition at line 22 of file ldb_trooppage.cpp.

References name.

◆ name() [33/62]

char const *const lcf::Struct< rpg::TroopPageCondition >::name
private

Definition at line 22 of file ldb_trooppagecondition.cpp.

References name.

◆ name() [34/62]

char const *const lcf::Struct< rpg::Variable >::name
private

Definition at line 22 of file ldb_variable.cpp.

References name.

◆ name() [35/62]

char const *const lcf::Struct< rpg::Encounter >::name
private

Definition at line 22 of file lmt_encounter.cpp.

References name.

◆ name() [36/62]

char const *const lcf::Struct< rpg::MapInfo >::name
private

Definition at line 22 of file lmt_mapinfo.cpp.

References name.

◆ name() [37/62]

char const *const lcf::Struct< rpg::Start >::name
private

Definition at line 22 of file lmt_start.cpp.

References name.

◆ name() [38/62]

char const *const lcf::Struct< rpg::Event >::name
private

Definition at line 22 of file lmu_event.cpp.

References name.

◆ name() [39/62]

char const *const lcf::Struct< rpg::EventPage >::name
private

Definition at line 22 of file lmu_eventpage.cpp.

References name.

◆ name() [40/62]

char const *const lcf::Struct< rpg::EventPageCondition >::name
private

Definition at line 22 of file lmu_eventpagecondition.cpp.

References name.

◆ name() [41/62]

char const *const lcf::Struct< rpg::Map >::name
private

Definition at line 22 of file lmu_map.cpp.

References name.

◆ name() [42/62]

char const *const lcf::Struct< rpg::MoveRoute >::name
private

Definition at line 22 of file lmu_moveroute.cpp.

References name.

◆ name() [43/62]

char const *const lcf::Struct< rpg::Save >::name
private

Definition at line 22 of file lsd_save.cpp.

References name.

◆ name() [44/62]

char const *const lcf::Struct< rpg::SaveActor >::name
private

Definition at line 22 of file lsd_saveactor.cpp.

References name.

◆ name() [45/62]

char const *const lcf::Struct< rpg::SaveCommonEvent >::name
private

Definition at line 22 of file lsd_savecommonevent.cpp.

References name.

◆ name() [46/62]

char const *const lcf::Struct< rpg::SaveEasyRpgData >::name
private

Definition at line 22 of file lsd_saveeasyrpgdata.cpp.

References name.

◆ name() [47/62]

char const *const lcf::Struct< rpg::SaveEasyRpgText >::name
private

Definition at line 22 of file lsd_saveeasyrpgtext.cpp.

References name.

◆ name() [48/62]

char const *const lcf::Struct< rpg::SaveEasyRpgWindow >::name
private

Definition at line 22 of file lsd_saveeasyrpgwindow.cpp.

References name.

◆ name() [49/62]

char const *const lcf::Struct< rpg::SaveEventExecFrame >::name
private

Definition at line 22 of file lsd_saveeventexecframe.cpp.

References name.

◆ name() [50/62]

char const *const lcf::Struct< rpg::SaveEventExecState >::name
private

Definition at line 22 of file lsd_saveeventexecstate.cpp.

References name.

◆ name() [51/62]

char const *const lcf::Struct< rpg::SaveInventory >::name
private

Definition at line 22 of file lsd_saveinventory.cpp.

References name.

◆ name() [52/62]

char const *const lcf::Struct< rpg::SaveMapEvent >::name
private

Definition at line 22 of file lsd_savemapevent.cpp.

References name.

◆ name() [53/62]

char const *const lcf::Struct< rpg::SaveMapEventBase >::name
private

Definition at line 22 of file lsd_savemapeventbase.cpp.

References name.

◆ name() [54/62]

char const *const lcf::Struct< rpg::SaveMapInfo >::name
private

Definition at line 22 of file lsd_savemapinfo.cpp.

References name.

◆ name() [55/62]

char const *const lcf::Struct< rpg::SavePanorama >::name
private

Definition at line 22 of file lsd_savepanorama.cpp.

References name.

◆ name() [56/62]

char const *const lcf::Struct< rpg::SavePartyLocation >::name
private

Definition at line 22 of file lsd_savepartylocation.cpp.

References name.

◆ name() [57/62]

char const *const lcf::Struct< rpg::SavePicture >::name
private

Definition at line 22 of file lsd_savepicture.cpp.

References name.

◆ name() [58/62]

char const *const lcf::Struct< rpg::SaveScreen >::name
private

Definition at line 22 of file lsd_savescreen.cpp.

References name.

◆ name() [59/62]

char const *const lcf::Struct< rpg::SaveSystem >::name
private

Definition at line 22 of file lsd_savesystem.cpp.

References name.

◆ name() [60/62]

char const *const lcf::Struct< rpg::SaveTarget >::name
private

Definition at line 22 of file lsd_savetarget.cpp.

References name.

◆ name() [61/62]

char const *const lcf::Struct< rpg::SaveTitle >::name
private

Definition at line 22 of file lsd_savetitle.cpp.

References name.

◆ name() [62/62]

char const *const lcf::Struct< rpg::SaveVehicleLocation >::name
private

Definition at line 22 of file lsd_savevehiclelocation.cpp.

References name.

◆ ReadLcf() [1/2]

template<class S>
void lcf::Struct< S >::ReadLcf ( S & obj,
LcfReader & stream )
static

Definition at line 60 of file reader_struct_impl.h.

References field_map, MakeFieldMap(), and name.

Referenced by lcf::RawStruct< rpg::TreeMap >::ReadLcf(), lcf::TypeReader< std::vector< T >, Category::Struct >::ReadLcf(), and lcf::TypeReader< T, Category::Struct >::ReadLcf().

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

◆ ReadLcf() [2/2]

template<class S>
void lcf::Struct< S >::ReadLcf ( std::vector< S > & obj,
LcfReader & stream )
static

Definition at line 217 of file reader_struct_impl.h.

◆ WriteLcf() [1/2]

template<class S>
void lcf::Struct< S >::WriteLcf ( const S & obj,
LcfWriter & stream )
static

Definition at line 107 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().

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

◆ WriteLcf() [2/2]

template<class S>
void lcf::Struct< S >::WriteLcf ( const std::vector< S > & obj,
LcfWriter & stream )
static

Definition at line 227 of file reader_struct_impl.h.

◆ WriteXml() [1/2]

template<class S>
void lcf::Struct< S >::WriteXml ( const S & obj,
XmlWriter & stream )
static

Definition at line 160 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().

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

◆ WriteXml() [2/2]

template<class S>
void lcf::Struct< S >::WriteXml ( const std::vector< S > & obj,
XmlWriter & stream )
static

Definition at line 249 of file reader_struct_impl.h.

Friends And Related Symbol Documentation

◆ StructFieldXmlHandler

template<class S>
template<class T>
friend class StructFieldXmlHandler
friend

Definition at line 633 of file reader_struct.h.

References StructFieldXmlHandler.

Referenced by BeginXml(), and StructFieldXmlHandler.

◆ StructVectorXmlHandler

template<class S>
template<class T>
friend class StructVectorXmlHandler
friend

Definition at line 632 of file reader_struct.h.

References StructVectorXmlHandler.

Referenced by BeginXml(), and StructVectorXmlHandler.

◆ StructXmlHandler

template<class S>
template<class T>
friend class StructXmlHandler
friend

Definition at line 631 of file reader_struct.h.

References StructXmlHandler.

Referenced by StructXmlHandler.

Member Data Documentation

◆ field_map

template<class S>
field_map_type lcf::Struct< S >::field_map
staticprivate

Definition at line 624 of file reader_struct.h.

Referenced by MakeFieldMap(), and ReadLcf().

◆ fields

template<class S>
const Field<S>* lcf::Struct< S >::fields[]
staticprivate

Definition at line 623 of file reader_struct.h.

Referenced by fields(), LcfSize(), MakeFieldMap(), MakeTagMap(), WriteLcf(), and WriteXml().

◆ name

template<class S>
const char* const lcf::Struct< S >::name
staticprivate

◆ tag_map

template<class S>
tag_map_type lcf::Struct< S >::tag_map
staticprivate

Definition at line 625 of file reader_struct.h.

Referenced by MakeTagMap(), and lcf::StructXmlHandler< S >::StartElement().


The documentation for this class was generated from the following files: