#include <DataManager.h>
void omicron::DataManager::addSource |
( |
DataSource * |
source | ) |
|
void omicron::DataManager::cleanup |
( |
| ) |
|
static bool omicron::DataManager::createPath |
( |
const String & |
path | ) |
|
|
static |
Utility method for creating a path.
This method makes sure every directory name in the specified path exists. Every entry in the path is considered a directory name, so if the path points to a file name, remove the file name before calling this method.
- Returns
- true if the path has been created successfully.
void omicron::DataManager::deleteStream |
( |
DataStream * |
stream | ) |
|
static bool omicron::DataManager::findFile |
( |
const String & |
name, |
|
|
String & |
outPath |
|
) |
| |
|
static |
Utility method for finding a file in one of the data sources.
String omicron::DataManager::getCurrentPath |
( |
| ) |
|
String omicron::DataManager::getDataSourceNames |
( |
| ) |
|
static DataManager* omicron::DataManager::getInstance |
( |
| ) |
|
|
static |
static String omicron::DataManager::readTextFile |
( |
const String & |
name | ) |
|
|
static |
Utility method for reading a text file.
void omicron::DataManager::removeAllSources |
( |
| ) |
|
Removes all currently registered data sources.
void omicron::DataManager::removeSource |
( |
DataSource * |
source | ) |
|
void omicron::DataManager::setCurrentPath |
( |
const String & |
path | ) |
|
The documentation for this class was generated from the following file:
- C:/dev/omegalib/release/src/omicron/include/omicron/DataManager.h