MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
include
MyGUI_DataManager.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef __MYGUI_DATA_MANAGER_H__
8
#define __MYGUI_DATA_MANAGER_H__
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_Singleton.h
"
12
#include "
MyGUI_IDataStream.h
"
13
#include "
MyGUI_Types.h
"
14
15
namespace
MyGUI
16
{
17
18
class
MYGUI_EXPORT
DataManager
:
19
public
Singleton
<DataManager>
20
{
21
public
:
22
26
virtual
IDataStream
* getData(
const
std::string& _name) = 0;
27
31
virtual
void
freeData(
IDataStream
* _data) = 0;
32
36
virtual
bool
isDataExist(
const
std::string& _name) = 0;
37
41
virtual
const
VectorString
& getDataListNames(
const
std::string& _pattern) = 0;
42
48
virtual
const
std::string& getDataPath(
const
std::string& _name) = 0;
49
};
50
51
}
// namespace MyGUI
52
53
#endif // __MYGUI_DATA_MANAGER_H__
Generated on Wed Aug 20 2014 00:03:32 for MyGUI by
1.8.3.1