25 #ifndef AURORA_2DAREG_H 26 #define AURORA_2DAREG_H 101 #define TwoDAReg ::Aurora::TwoDARegistry::instance() 103 #endif // AURORA_2DAREG_H void addGDA(const Common::UString &name)
Add a certain GDA to the registry, reloading it if necessary.
Class to hold the two-dimensional array of a 2DA file.
Class and macro for implementing singletons.
Common::PtrMap< Common::UString, TwoDAFile > TwoDAMap
A map storing pointer to objects, with automatic deletion.
A class holding an UTF-8 string.
void removeGDA(const Common::UString &name)
Remove a certain GDA from the registry.
TwoDAFile * load2DA(const Common::UString &name)
GDAFile * loadMGDA(Common::UString prefix)
GDAFile * loadGDA(const Common::UString &name)
Generic template base class for implementing the singleton design pattern.
const GDAFile & getMGDA(const Common::UString &prefix)
Get a certain multiple GDA, loading it if necessary.
void remove2DA(const Common::UString &name)
Remove a certain 2DA from the registry.
void addMGDA(const Common::UString &prefix)
Add a certain multiple GDA to the registry, reloading it if necessary.
void add2DA(const Common::UString &name)
Add a certain 2DA to the registry, reloading it if necessary.
Common::PtrMap< Common::UString, GDAFile > GDAMap
const TwoDAFile & get2DA(const Common::UString &name)
Get a certain 2DA, loading it if necessary.
The global 2DA registry, holding all current 2DAs.
const GDAFile & getGDA(const Common::UString &name)
Get a certain GDA, loading it if necessary.
Class to hold the GFF'd two-dimensional array of a GDA file.