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

#include <dynamic_object.hpp>

Public Member Functions

 Dynamic_Object (std::string t_type_name)
 Dynamic_Object ()=default
bool is_explicit () const
void set_explicit (const bool t_explicit)
std::string get_type_name () const
const Boxed_Value & operator[] (const std::string &t_attr_name) const
Boxed_Value & operator[] (const std::string &t_attr_name)
const Boxed_Value & get_attr (const std::string &t_attr_name) const
bool has_attr (const std::string &t_attr_name) const
Boxed_Value & get_attr (const std::string &t_attr_name)
Boxed_Value & method_missing (const std::string &t_method_name)
const Boxed_Value & method_missing (const std::string &t_method_name) const
std::map< std::string, Boxed_Value > get_attrs () const

Constructor & Destructor Documentation

◆ Dynamic_Object() [1/2]

chaiscript::dispatch::Dynamic_Object::Dynamic_Object ( std::string t_type_name)
inlineexplicit

◆ Dynamic_Object() [2/2]

chaiscript::dispatch::Dynamic_Object::Dynamic_Object ( )
default

Member Function Documentation

◆ get_attr() [1/2]

Boxed_Value & chaiscript::dispatch::Dynamic_Object::get_attr ( const std::string & t_attr_name)
inline

◆ get_attr() [2/2]

const Boxed_Value & chaiscript::dispatch::Dynamic_Object::get_attr ( const std::string & t_attr_name) const
inline
Here is the caller graph for this function:

◆ get_attrs()

std::map< std::string, Boxed_Value > chaiscript::dispatch::Dynamic_Object::get_attrs ( ) const
inline
Here is the caller graph for this function:

◆ get_type_name()

std::string chaiscript::dispatch::Dynamic_Object::get_type_name ( ) const
inline
Here is the caller graph for this function:

◆ has_attr()

bool chaiscript::dispatch::Dynamic_Object::has_attr ( const std::string & t_attr_name) const
inline
Here is the caller graph for this function:

◆ is_explicit()

bool chaiscript::dispatch::Dynamic_Object::is_explicit ( ) const
inline
Here is the caller graph for this function:

◆ method_missing() [1/2]

Boxed_Value & chaiscript::dispatch::Dynamic_Object::method_missing ( const std::string & t_method_name)
inline
Here is the caller graph for this function:

◆ method_missing() [2/2]

const Boxed_Value & chaiscript::dispatch::Dynamic_Object::method_missing ( const std::string & t_method_name) const
inline

◆ operator[]() [1/2]

Boxed_Value & chaiscript::dispatch::Dynamic_Object::operator[] ( const std::string & t_attr_name)
inline

◆ operator[]() [2/2]

const Boxed_Value & chaiscript::dispatch::Dynamic_Object::operator[] ( const std::string & t_attr_name) const
inline

◆ set_explicit()

void chaiscript::dispatch::Dynamic_Object::set_explicit ( const bool t_explicit)
inline
Here is the caller graph for this function:

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