Symphony Of Empires
Eng3D::PythonVM Class Reference

#include <pyvm.hpp>

Public Member Functions

 PythonVM (Eng3D::State &_s)
 
 ~PythonVM ()
 
void run_string (const std::string_view name, const std::string_view path)
 
void add_module (const std::string_view path)
 

Public Attributes

std::vector< PythonObjmodules
 

Detailed Description

Definition at line 54 of file pyvm.hpp.

Constructor & Destructor Documentation

◆ PythonVM()

Eng3D::PythonVM::PythonVM ( Eng3D::State _s)

◆ ~PythonVM()

Eng3D::PythonVM::~PythonVM ( )

Member Function Documentation

◆ add_module()

void Eng3D::PythonVM::add_module ( const std::string_view  path)

◆ run_string()

void Eng3D::PythonVM::run_string ( const std::string_view  name,
const std::string_view  path 
)
Here is the caller graph for this function:

Member Data Documentation

◆ modules

std::vector<PythonObj> Eng3D::PythonVM::modules

Definition at line 63 of file pyvm.hpp.


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