UGDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
ugdk::script::ScriptManager Class Reference

#include <scriptmanager.h>

List of all members.

Public Member Functions

 ~ScriptManager ()
bool Initialize ()
void Finalize ()
void Register (const std::string &name, 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".
std::string ConvertDottedNotationToPath (const std::string &dotted)
 Converts dotted notation strings ("folder.subfolder.file") to "folder/subfolder/file".

Static Public Member Functions

static ScriptManagerref ()

Constructor & Destructor Documentation


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 
)
LangWrapper * ugdk::script::ScriptManager::GetWrapper ( const std::string &  name)
VirtualObj ugdk::script::ScriptManager::LoadModule ( const std::string &  filepath)
static ScriptManager* ugdk::script::ScriptManager::ref ( ) [inline, static]
void ugdk::script::ScriptManager::Register ( const std::string &  name,
LangWrapper wrapper 
)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines