#include <type_conversions.hpp>
|
| | Type_Conversions () |
| | Type_Conversions (const Type_Conversions &t_other)=delete |
| | Type_Conversions (Type_Conversions &&)=default |
| Type_Conversions & | operator= (const Type_Conversions &)=delete |
| Type_Conversions & | operator= (Type_Conversions &&)=default |
| const std::set< const std::type_info *, Less_Than > & | thread_cache () const |
| void | add_conversion (const std::shared_ptr< detail::Type_Conversion_Base > &conversion) |
| template<typename T> |
| bool | convertable_type () const |
| template<typename To, typename From> |
| bool | converts () const |
| bool | converts (const Type_Info &to, const Type_Info &from) const |
| template<typename To> |
| Boxed_Value | boxed_type_conversion (Conversion_Saves &t_saves, const Boxed_Value &from) const |
| template<typename From> |
| Boxed_Value | boxed_type_down_conversion (Conversion_Saves &t_saves, const Boxed_Value &to) const |
| Boxed_Value | boxed_type_conversion (const Type_Info &to, Conversion_Saves &t_saves, const Boxed_Value &from) const |
| Boxed_Value | boxed_type_down_conversion (const Type_Info &from, Conversion_Saves &t_saves, const Boxed_Value &to) const |
| std::vector< Boxed_Value > | take_saves (Conversion_Saves &t_saves) |
| bool | has_conversion (const Type_Info &to, const Type_Info &from) const |
| std::shared_ptr< detail::Type_Conversion_Base > | get_conversion (const Type_Info &to, const Type_Info &from) const |
| Conversion_Saves & | conversion_saves () const |
◆ Type_Conversions() [1/3]
| chaiscript::Type_Conversions::Type_Conversions |
( |
| ) |
|
|
inline |
◆ Type_Conversions() [2/3]
| chaiscript::Type_Conversions::Type_Conversions |
( |
const Type_Conversions & | t_other | ) |
|
|
delete |
◆ Type_Conversions() [3/3]
| chaiscript::Type_Conversions::Type_Conversions |
( |
Type_Conversions && | | ) |
|
|
default |
◆ add_conversion()
- Todo
- error if a conversion already exists
◆ boxed_type_conversion() [1/2]
◆ boxed_type_conversion() [2/2]
◆ boxed_type_down_conversion() [1/2]
◆ boxed_type_down_conversion() [2/2]
◆ conversion_saves()
◆ convertable_type()
| bool chaiscript::Type_Conversions::convertable_type |
( |
| ) |
const |
|
inline |
◆ converts() [1/2]
template<typename To, typename From>
| bool chaiscript::Type_Conversions::converts |
( |
| ) |
const |
|
inline |
◆ converts() [2/2]
| bool chaiscript::Type_Conversions::converts |
( |
const Type_Info & | to, |
|
|
const Type_Info & | from ) const |
|
inline |
◆ enable_conversion_saves()
| void chaiscript::Type_Conversions::enable_conversion_saves |
( |
Conversion_Saves & | t_saves, |
|
|
bool | t_val ) |
|
inlinestatic |
◆ get_conversion()
◆ has_conversion()
| bool chaiscript::Type_Conversions::has_conversion |
( |
const Type_Info & | to, |
|
|
const Type_Info & | from ) const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ take_saves()
◆ thread_cache()
| const std::set< const std::type_info *, Less_Than > & chaiscript::Type_Conversions::thread_cache |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: