Pyrogenesis  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
JSI_ConfigDB Namespace Reference

Functions

bool IsProtectedConfigName (const std::string &name)
 
bool GetConfigNamespace (const std::wstring &cfgNsString, EConfigNamespace &cfgNs)
 
bool HasChanges (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString)
 
bool SetChanges (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, bool value)
 
std::string GetValue (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const std::string &name)
 
bool CreateValue (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const std::string &name, const std::string &value)
 
bool RemoveValue (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const std::string &name)
 
bool WriteFile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const Path &path)
 
bool WriteValueToFile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const std::string &name, const std::string &value, const Path &path)
 
bool Reload (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString)
 
bool SetFile (ScriptInterface::CxPrivate *pCxPrivate, const std::wstring &cfgNsString, const Path &path)
 
void RegisterScriptFunctions (const ScriptInterface &scriptInterface)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...
 

Function Documentation

bool JSI_ConfigDB::CreateValue ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const std::string &  name,
const std::string &  value 
)
bool JSI_ConfigDB::GetConfigNamespace ( const std::wstring &  cfgNsString,
EConfigNamespace cfgNs 
)
std::string JSI_ConfigDB::GetValue ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const std::string &  name 
)
bool JSI_ConfigDB::HasChanges ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString 
)
bool JSI_ConfigDB::IsProtectedConfigName ( const std::string &  name)
void JSI_ConfigDB::RegisterScriptFunctions ( const ScriptInterface scriptInterface)

Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context.

Parameters
ScriptInterfaceJavaScript context where RegisterScriptFunctions() registers the functions.
See also
GuiScriptingInit()
bool JSI_ConfigDB::Reload ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString 
)
bool JSI_ConfigDB::RemoveValue ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const std::string &  name 
)
bool JSI_ConfigDB::SetChanges ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
bool  value 
)
bool JSI_ConfigDB::SetFile ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const Path path 
)
bool JSI_ConfigDB::WriteFile ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const Path path 
)
bool JSI_ConfigDB::WriteValueToFile ( ScriptInterface::CxPrivate pCxPrivate,
const std::wstring &  cfgNsString,
const std::string &  name,
const std::string &  value,
const Path path 
)