#include <ScriptEngine.hpp>
|
| virtual ScriptObject | eval (std::string_view sv)=0 |
| |
| virtual void | exec (std::string_view sv)=0 |
| |
| template<typename T > |
| T | getAs (ScriptObject &obj) |
| |
| virtual bool | hasMethod (ScriptObject &methodObject, std::string_view methodName, bool overriden_only=true)=0 |
| |
| virtual std::string | inferMeasureClassName (const openstudio::path &measureScriptPath)=0 |
| |
| virtual ScriptObject | loadMeasure (const openstudio::path &measureScriptPath, std::string_view className)=0 |
| |
| virtual int | numberOfArguments (ScriptObject &methodObject, std::string_view methodName)=0 |
| |
| ScriptEngine * | operator-> () |
| |
| ScriptEngine & | operator= (const ScriptEngine &)=delete |
| |
| ScriptEngine & | operator= (ScriptEngine &&)=delete |
| |
| template<typename T > |
| void | registerType (std::string name) |
| |
| | ScriptEngine (const ScriptEngine &)=delete |
| |
| | ScriptEngine (int argc, char *argv[]) |
| |
| | ScriptEngine (ScriptEngine &&)=delete |
| |
| virtual void | setupEmbeddedGems (const std::vector< openstudio::path > &includeDirs, const std::vector< openstudio::path > &gemPathDirs, const openstudio::path &gemHomeDir, const openstudio::path &bundleGemFilePath, const openstudio::path &bundleGemDirPath, const std::string &bundleWithoutGroups) |
| |
| virtual void | setupPythonPath (const std::vector< openstudio::path > &includeDirs) |
| |
| virtual | ~ScriptEngine ()=default |
| |
◆ ScriptEngine() [1/3]
| openstudio::ScriptEngine::ScriptEngine |
( |
int | argc, |
|
|
char * | argv[] ) |
|
inline |
◆ ~ScriptEngine()
| virtual openstudio::ScriptEngine::~ScriptEngine |
( |
| ) |
|
|
virtualdefault |
◆ ScriptEngine() [2/3]
| openstudio::ScriptEngine::ScriptEngine |
( |
const ScriptEngine & | | ) |
|
|
delete |
◆ ScriptEngine() [3/3]
◆ eval()
| virtual ScriptObject openstudio::ScriptEngine::eval |
( |
std::string_view | sv | ) |
|
|
pure virtual |
◆ exec()
| virtual void openstudio::ScriptEngine::exec |
( |
std::string_view | sv | ) |
|
|
pure virtual |
◆ getAs()
◆ getAs_impl_bool()
| virtual bool openstudio::ScriptEngine::getAs_impl_bool |
( |
ScriptObject & | obj | ) |
|
|
protectedpure virtual |
◆ getAs_impl_double()
| virtual double openstudio::ScriptEngine::getAs_impl_double |
( |
ScriptObject & | obj | ) |
|
|
protectedpure virtual |
◆ getAs_impl_int()
| virtual int openstudio::ScriptEngine::getAs_impl_int |
( |
ScriptObject & | obj | ) |
|
|
protectedpure virtual |
◆ getAs_impl_string()
| virtual std::string openstudio::ScriptEngine::getAs_impl_string |
( |
ScriptObject & | obj | ) |
|
|
protectedpure virtual |
◆ getRegisteredTypeName()
| const std::string & openstudio::ScriptEngine::getRegisteredTypeName |
( |
const std::type_info & | type | ) |
|
|
inlineprotected |
◆ hasMethod()
| virtual bool openstudio::ScriptEngine::hasMethod |
( |
ScriptObject & | methodObject, |
|
|
std::string_view | methodName, |
|
|
bool | overriden_only = true ) |
|
pure virtual |
◆ inferMeasureClassName()
| virtual std::string openstudio::ScriptEngine::inferMeasureClassName |
( |
const openstudio::path & | measureScriptPath | ) |
|
|
pure virtual |
◆ loadMeasure()
| virtual ScriptObject openstudio::ScriptEngine::loadMeasure |
( |
const openstudio::path & | measureScriptPath, |
|
|
std::string_view | className ) |
|
pure virtual |
◆ numberOfArguments()
| virtual int openstudio::ScriptEngine::numberOfArguments |
( |
ScriptObject & | methodObject, |
|
|
std::string_view | methodName ) |
|
pure virtual |
◆ operator->()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ registerType()
template<typename T >
| void openstudio::ScriptEngine::registerType |
( |
std::string | name | ) |
|
|
inline |
◆ setupEmbeddedGems()
| virtual void openstudio::ScriptEngine::setupEmbeddedGems |
( |
const std::vector< openstudio::path > & | includeDirs, |
|
|
const std::vector< openstudio::path > & | gemPathDirs, |
|
|
const openstudio::path & | gemHomeDir, |
|
|
const openstudio::path & | bundleGemFilePath, |
|
|
const openstudio::path & | bundleGemDirPath, |
|
|
const std::string & | bundleWithoutGroups ) |
|
inlinevirtual |
◆ setupPythonPath()
| virtual void openstudio::ScriptEngine::setupPythonPath |
( |
const std::vector< openstudio::path > & | includeDirs | ) |
|
|
inlinevirtual |