GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::Module Class Reference

Holds a collection of ChaiScript settings which can be applied to the ChaiScript runtime. Used to implement loadable module support. More...

#include <dispatchkit.hpp>

Public Member Functions

Module & add (Type_Info ti, std::string name)
Module & add (Type_Conversion d)
Module & add (Proxy_Function f, std::string name)
Module & add_global_const (Boxed_Value t_bv, std::string t_name)
Module & eval (const std::string &str)
template<typename Eval, typename Engine>
void apply (Eval &t_eval, Engine &t_engine) const
bool has_function (const Proxy_Function &new_f, const std::string &name)

Detailed Description

Holds a collection of ChaiScript settings which can be applied to the ChaiScript runtime. Used to implement loadable module support.

Member Function Documentation

◆ add() [1/3]

Module & chaiscript::Module::add ( Proxy_Function f,
std::string name )
inline

◆ add() [2/3]

Module & chaiscript::Module::add ( Type_Conversion d)
inline

◆ add() [3/3]

Module & chaiscript::Module::add ( Type_Info ti,
std::string name )
inline

◆ add_global_const()

Module & chaiscript::Module::add_global_const ( Boxed_Value t_bv,
std::string t_name )
inline

◆ apply()

template<typename Eval, typename Engine>
void chaiscript::Module::apply ( Eval & t_eval,
Engine & t_engine ) const
inline
Here is the caller graph for this function:

◆ eval()

Module & chaiscript::Module::eval ( const std::string & str)
inline
Here is the caller graph for this function:

◆ has_function()

bool chaiscript::Module::has_function ( const Proxy_Function & new_f,
const std::string & name )
inline

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