#include <mods.h>
Inheritance diagram for ModStorage:
Collaboration diagram for ModStorage:Public Member Functions | |
| ModStorage ()=delete | |
| ModStorage (const std::string &mod_name, ModStorageDatabase *database) | |
| ~ModStorage ()=default | |
| const std::string & | getModName () const |
| void | clear () override |
| bool | contains (const std::string &name) const override |
| bool | setString (const std::string &name, std::string_view var) override |
| const StringMap & | getStrings (StringMap *place) const override |
| const std::vector< std::string > & | getKeys (std::vector< std::string > *place) const override |
Public Member Functions inherited from IMetadata | |
| virtual | ~IMetadata ()=default |
| bool | operator== (const IMetadata &other) const |
| bool | operator!= (const IMetadata &other) const |
| const std::string & | getString (const std::string &name, std::string *place, u16 recursion=0) const |
| bool | getStringToRef (const std::string &name, std::string &str, u16 recursion=0) const |
| bool | removeString (const std::string &name) |
| const std::string & | resolveString (const std::string &str, std::string *place, u16 recursion=0, bool deprecated=false) const |
Protected Member Functions | |
| const std::string * | getStringRaw (const std::string &name, std::string *place) const override |
Private Attributes | |
| std::string | m_mod_name |
| ModStorageDatabase * | m_database |
|
delete |
| ModStorage::ModStorage | ( | const std::string & | mod_name, |
| ModStorageDatabase * | database ) |
|
default |
|
overridevirtual |
Implements IMetadata.
References m_database, m_mod_name, and ModStorageDatabase::removeModEntries().
Referenced by StorageRef::clearMeta().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements IMetadata.
References ModStorageDatabase::hasModEntry(), m_database, and m_mod_name.
Here is the call graph for this function:
|
overridevirtual |
Implements IMetadata.
References ModStorageDatabase::getModKeys(), m_database, and m_mod_name.
Here is the call graph for this function:
|
inline |
References m_mod_name.
|
overrideprotectedvirtual |
Implements IMetadata.
References ModStorageDatabase::getModEntry(), m_database, and m_mod_name.
Here is the call graph for this function:Implements IMetadata.
References ModStorageDatabase::getModEntries(), m_database, and m_mod_name.
Here is the call graph for this function:
|
overridevirtual |
Implements IMetadata.
References m_database, m_mod_name, ModStorageDatabase::removeModEntry(), and ModStorageDatabase::setModEntry().
Here is the call graph for this function:
|
private |
Referenced by clear(), contains(), getKeys(), getStringRaw(), getStrings(), and setString().
|
private |
Referenced by clear(), contains(), getKeys(), getModName(), getStringRaw(), getStrings(), and setString().