MyGUI  3.2.1
Public Member Functions
MyGUI::DataManager Class Referenceabstract

#include <MyGUI_DataManager.h>

+ Inheritance diagram for MyGUI::DataManager:

Public Member Functions

virtual IDataStreamgetData (const std::string &_name)=0
virtual void freeData (IDataStream *_data)=0
virtual bool isDataExist (const std::string &_name)=0
virtual const VectorStringgetDataListNames (const std::string &_pattern)=0
virtual const std::string & getDataPath (const std::string &_name)=0
- Public Member Functions inherited from MyGUI::Singleton< DataManager >
 Singleton ()
virtual ~Singleton ()

Additional Inherited Members

- Public Types inherited from MyGUI::Singleton< DataManager >
typedef Singleton< DataManagerBase
- Static Public Member Functions inherited from MyGUI::Singleton< DataManager >
static DataManagergetInstance ()
static DataManagergetInstancePtr ()
static const char * getClassTypeName ()

Detailed Description

Definition at line 18 of file MyGUI_DataManager.h.

Member Function Documentation

virtual void MyGUI::DataManager::freeData ( IDataStream _data)
pure virtual

Free data stream.

_dataData stream.
virtual IDataStream* MyGUI::DataManager::getData ( const std::string &  _name)
pure virtual

Get data stream from specified resource name.

_nameResource name (usually file name).
virtual const VectorString& MyGUI::DataManager::getDataListNames ( const std::string &  _pattern)
pure virtual

Get all data names with names that matches pattern.

_patternPattern to match (for example "*.layout").
virtual const std::string& MyGUI::DataManager::getDataPath ( const std::string &  _name)
pure virtual

Get full path to data.

_nameResource name.
Return full path to specified data. For example getDataPath("My.layout") might return "C:\path\to\project\data\My.layout"
virtual bool MyGUI::DataManager::isDataExist ( const std::string &  _name)
pure virtual

Is data with specified name exist.

_nameResource name.

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