GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
bootstrap.hpp File Reference
Include dependency graph for bootstrap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  chaiscript::bootstrap::Bootstrap

Namespaces

namespace  chaiscript
 Namespace chaiscript contains every API call that the average user will be concerned with.
namespace  chaiscript::bootstrap
 Classes and functions useful for bootstrapping of ChaiScript and adding of new types.

Functions

template<typename T, typename = typename std::enable_if<std::is_array<T>::value>::type>
void chaiscript::bootstrap::array (const std::string &type, Module &m)
template<typename T>
void chaiscript::bootstrap::copy_constructor (const std::string &type, Module &m)
 Adds a copy constructor for the given type to the given Model.
template<typename T>
void chaiscript::bootstrap::opers_comparison (Module &m)
 Add all comparison operators for the templated type. Used during bootstrap, also available to users.
template<typename T>
void chaiscript::bootstrap::basic_constructors (const std::string &type, Module &m)
 Adds default and copy constructors for the given type.
template<typename T>
void chaiscript::bootstrap::construct_pod (const std::string &type, Module &m)
 Adds a constructor for a POD type.
template<typename Input>
auto chaiscript::bootstrap::parse_string (const std::string &i) -> typename std::enable_if< !std::is_same< Input, wchar_t >::value &&!std::is_same< Input, char16_t >::value &&!std::is_same< Input, char32_t >::value, Input >::type
template<typename Input>
auto chaiscript::bootstrap::parse_string (const std::string &) -> typename std::enable_if< std::is_same< Input, wchar_t >::value||std::is_same< Input, char16_t >::value||std::is_same< Input, char32_t >::value, Input >::type
template<typename T>
void chaiscript::bootstrap::bootstrap_pod_type (const std::string &name, Module &m)
template<typename Type>
auto chaiscript::bootstrap::shared_ptr_clone (const std::shared_ptr< Type > &p)
template<typename Type>
std::shared_ptr< typename std::remove_const< Type >::type > chaiscript::bootstrap::shared_ptr_unconst_clone (const std::shared_ptr< typename std::add_const< Type >::type > &p)
 Specific version of shared_ptr_clone just for Proxy_Functions.
template<typename Type>
Boxed_Value chaiscript::bootstrap::ptr_assign (Boxed_Value lhs, const std::shared_ptr< Type > &rhs)