![]() |
An open-source, flexible 3D physical simulation framework
|
#include <PythonInterpreter.hpp>
Public Member Functions | |
Object (shared_ptr< ObjectState > state) | |
Method & | method (const std::string &name) |
Object & | variable (const std::string &name) |
double | asDouble () |
int | asInt () |
bool | asBool () |
std::string | asString () |
Public Attributes | |
shared_ptr< ObjectState > | state |
Definition at line 74 of file PythonInterpreter.hpp.
mars::Object::Object | ( | shared_ptr< ObjectState > | state | ) |
Definition at line 430 of file PythonInterpreter.cpp.
bool mars::Object::asBool | ( | ) |
Definition at line 467 of file PythonInterpreter.cpp.
double mars::Object::asDouble | ( | ) |
Definition at line 451 of file PythonInterpreter.cpp.
int mars::Object::asInt | ( | ) |
Definition at line 459 of file PythonInterpreter.cpp.
std::string mars::Object::asString | ( | ) |
Definition at line 475 of file PythonInterpreter.cpp.
Method & mars::Object::method | ( | const std::string & | name | ) |
Definition at line 435 of file PythonInterpreter.cpp.
Object & mars::Object::variable | ( | const std::string & | name | ) |
Definition at line 441 of file PythonInterpreter.cpp.
shared_ptr<ObjectState> mars::Object::state |
Definition at line 77 of file PythonInterpreter.hpp.