#include <MyGUI_DataManager.h>
Definition at line 18 of file MyGUI_DataManager.h.
◆ DataManager()
MyGUI::DataManager::DataManager |
( |
| ) |
|
◆ ~DataManager()
virtual MyGUI::DataManager::~DataManager |
( |
| ) |
|
|
virtualdefault |
◆ freeData()
virtual void MyGUI::DataManager::freeData |
( |
IDataStream * |
_data | ) |
|
|
pure virtual |
Free data stream.
- Parameters
-
◆ getClassTypeName()
static const char * MyGUI::DataManager::getClassTypeName |
( |
| ) |
|
|
static |
◆ getData()
virtual IDataStream * MyGUI::DataManager::getData |
( |
const std::string & |
_name | ) |
const |
|
pure virtual |
Get data stream from specified resource name.
- Parameters
-
_name | Resource name (usually file name). |
◆ getDataListNames()
virtual const VectorString & MyGUI::DataManager::getDataListNames |
( |
const std::string & |
_pattern | ) |
const |
|
pure virtual |
Get all data names with names that matches pattern.
- Parameters
-
_pattern | Pattern to match (for example "*.layout"). |
◆ getDataPath()
virtual const std::string & MyGUI::DataManager::getDataPath |
( |
const std::string & |
_name | ) |
const |
|
pure virtual |
Get full path to data.
- Parameters
-
- Returns
- Return full path to specified data. For example getDataPath("My.layout") might return "C:\path\to\project\data\My.layout"
◆ getInstance()
static DataManager & MyGUI::DataManager::getInstance |
( |
| ) |
|
|
static |
◆ getInstancePtr()
static DataManager * MyGUI::DataManager::getInstancePtr |
( |
| ) |
|
|
static |
◆ isDataExist()
virtual bool MyGUI::DataManager::isDataExist |
( |
const std::string & |
_name | ) |
const |
|
pure virtual |
Is data with specified name exist.
- Parameters
-
The documentation for this class was generated from the following files: