UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::script::ScriptManager Class Reference

#include <ugdk/script/scriptmanager.h>

Public Member Functions

 ~ScriptManager ()
 
bool Initialize ()
 
void Finalize ()
 
void Register (LangWrapper *wrapper)
 
LangWrapperGetWrapper (const std::string &name)
 
void ExecuteCode (const std::string &language, const std::string &code)
 
VirtualObj LoadModule (const std::string &filepath)
 
bool CheckIfFileExists (const std::string &filepath)
 
std::string ConvertPathToDottedNotation (const std::string &path)
 Converts "folder/subfolder/file" (without extension) style paths to "folder.subfolder.file". More...
 
std::string ConvertDottedNotationToPath (const std::string &dotted)
 Converts dotted notation strings ("folder.subfolder.file") to "folder/subfolder/file". More...
 

Static Public Member Functions

static ScriptManagerref ()
 

Constructor & Destructor Documentation

ugdk::script::ScriptManager::~ScriptManager ( )
inline

Member Function Documentation

bool ugdk::script::ScriptManager::CheckIfFileExists ( const std::string &  filepath)
std::string ugdk::script::ScriptManager::ConvertDottedNotationToPath ( const std::string &  dotted)

Converts dotted notation strings ("folder.subfolder.file") to "folder/subfolder/file".

std::string ugdk::script::ScriptManager::ConvertPathToDottedNotation ( const std::string &  path)

Converts "folder/subfolder/file" (without extension) style paths to "folder.subfolder.file".

void ugdk::script::ScriptManager::ExecuteCode ( const std::string &  language,
const std::string &  code 
)
void ugdk::script::ScriptManager::Finalize ( )
LangWrapper* ugdk::script::ScriptManager::GetWrapper ( const std::string &  name)
bool ugdk::script::ScriptManager::Initialize ( )
VirtualObj ugdk::script::ScriptManager::LoadModule ( const std::string &  filepath)
static ScriptManager* ugdk::script::ScriptManager::ref ( )
inlinestatic
void ugdk::script::ScriptManager::Register ( LangWrapper wrapper)

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