#include <type.h>
Public Types | |
typedef T | type |
Public Member Functions | |
virtual double | as_double (const boost::any &value) const |
virtual int | as_int (const boost::any &value) const |
virtual std::string | as_string (const boost::any &value) const |
virtual unsigned | as_unsigned (const boost::any &value) const |
virtual boost::any | from_double (double value) const |
virtual boost::any | from_int (int value) const |
virtual boost::any | from_string (const std::string &value) const |
virtual boost::any | from_unsigned (unsigned value) const |
virtual const std::type_info & | getTypeId () const |
virtual bool | isNumeric () const |
NumericType (const char *name) | |
virtual | ~NumericType () |
typedef T cpp_introspection::NumericType< T >::type |
cpp_introspection::NumericType< T >::NumericType | ( | const char * | name | ) | [inline] |
virtual cpp_introspection::NumericType< T >::~NumericType | ( | ) | [inline, virtual] |
virtual double cpp_introspection::NumericType< T >::as_double | ( | const boost::any & | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual int cpp_introspection::NumericType< T >::as_int | ( | const boost::any & | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual std::string cpp_introspection::NumericType< T >::as_string | ( | const boost::any & | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual unsigned cpp_introspection::NumericType< T >::as_unsigned | ( | const boost::any & | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual boost::any cpp_introspection::NumericType< T >::from_double | ( | double | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual boost::any cpp_introspection::NumericType< T >::from_int | ( | int | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual boost::any cpp_introspection::NumericType< T >::from_string | ( | const std::string & | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual boost::any cpp_introspection::NumericType< T >::from_unsigned | ( | unsigned | value | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual const std::type_info& cpp_introspection::NumericType< T >::getTypeId | ( | ) | const [inline, virtual] |
Implements cpp_introspection::Type.
virtual bool cpp_introspection::NumericType< T >::isNumeric | ( | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::Type.