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

#include <any.hpp>

Public Member Functions

 Any ()=default
 Any (Any &&)=default
Any & operator= (Any &&t_any)=default
 Any (const Any &t_any)
template<typename ValueType, typename = typename std::enable_if<!std::is_same<Any, typename std::decay<ValueType>::type>::value>::type>
 Any (ValueType &&t_value)
Any & operator= (const Any &t_any)
template<typename ToType>
ToType & cast () const
Any & swap (Any &t_other)
bool empty () const
const std::type_info & type () const

Constructor & Destructor Documentation

◆ Any() [1/4]

chaiscript::detail::Any::Any ( )
default
Here is the caller graph for this function:

◆ Any() [2/4]

chaiscript::detail::Any::Any ( Any && )
default

◆ Any() [3/4]

chaiscript::detail::Any::Any ( const Any & t_any)
inline

◆ Any() [4/4]

template<typename ValueType, typename = typename std::enable_if<!std::is_same<Any, typename std::decay<ValueType>::type>::value>::type>
chaiscript::detail::Any::Any ( ValueType && t_value)
inlineexplicit

Member Function Documentation

◆ cast()

template<typename ToType>
ToType & chaiscript::detail::Any::cast ( ) const
inline
Here is the caller graph for this function:

◆ empty()

bool chaiscript::detail::Any::empty ( ) const
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

Any & chaiscript::detail::Any::operator= ( Any && t_any)
default

◆ operator=() [2/2]

Any & chaiscript::detail::Any::operator= ( const Any & t_any)
inline

◆ swap()

Any & chaiscript::detail::Any::swap ( Any & t_other)
inline
Here is the caller graph for this function:

◆ type()

const std::type_info & chaiscript::detail::Any::type ( ) const
inline
Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • chai/ChaiScript-6.1.0/include/chaiscript/dispatchkit/any.hpp