|
Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/Loader.h>
Public Member Functions | |
| bool | load (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask(), bool bVerbose=true, bool bRemoveLuaTags=false) |
| Loads the input file, while conforming to the restrictions given by the input ClassTreeMask. More... | |
| void | unload (const XMLFile *file, const ClassTreeMask &mask=ClassTreeMask()) |
Static Public Member Functions | |
| static std::string | removeLuaTags (const std::string &text) |
| static std::string | replaceLuaTags (const std::string &text) |
Static Public Member Functions inherited from orxonox::Singleton< Loader > | |
| static bool | exists () |
| Tells whether the singleton has been created. More... | |
| static Loader & | getInstance () |
| Returns a reference to the singleton instance. More... | |
Public Attributes | |
| ClassTreeMask | currentMask_ |
Static Private Member Functions | |
| static bool | getLuaTags (const std::string &text, std::map< size_t, bool > &luaTags) |
Private Attributes | |
| std::vector< std::pair< const XMLFile *, ClassTreeMask > > | files_ |
Static Private Attributes | |
| static Loader * | singletonPtr_s = nullptr |
Friends | |
| class | Singleton< Loader > |
Additional Inherited Members | |
Protected Member Functions inherited from orxonox::Singleton< Loader > | |
| Singleton () | |
| Constructor sets the singleton instance pointer. More... | |
| virtual | ~Singleton () |
| Destructor resets the singleton instance pointer. More... | |
|
staticprivate |
| bool orxonox::Loader::load | ( | const XMLFile * | file, |
| const ClassTreeMask & | mask = ClassTreeMask(), |
||
| bool | bVerbose = true, |
||
| bool | bRemoveLuaTags = false |
||
| ) |
Loads the input file, while conforming to the restrictions given by the input ClassTreeMask.
| file | The file to be loaded. |
| mask | A ClassTreeMask, which defines which types of classes are loaded and which aren't. |
| bVerbose | Whether the loader is verbose (prints its progress in a low output level) or not. |
| bRemoveLuaTags | If true lua tags are just ignored and removed. The default is false. |
|
static |
|
static |
| void orxonox::Loader::unload | ( | const XMLFile * | file, |
| const ClassTreeMask & | mask = ClassTreeMask() |
||
| ) |
| ClassTreeMask orxonox::Loader::currentMask_ |
|
private |
|
staticprivate |
1.8.11