#include <TypeAdapter.h>
Public Types | |
| enum | TYPE { NONE, INT, DOUBLE, STRING, BASE } |
Public Methods | |
| TypeAdapter () | |
| TypeAdapter (int x) | |
| TypeAdapter (double x) | |
| TypeAdapter (std::string const &x) | |
| TypeAdapter (const char *x) | |
| TypeAdapter (BaseType const *x) | |
| TypeAdapter (BaseType const &x) | |
| TypeAdapter (TypeAdapter const &x) | |
| int | getInteger () const |
| double | getFloatingPoint () const |
| std::string | getString () const |
| BaseType const & | getBaseType () const |
| template<typename T> void | getBaseTypeAs (T *&t) const |
| template<typename T> void | setBase (T &x) const |
| template<typename T> void | setCoordinate (T &x) const |
| void | set (SimDate &x) const |
| void | set (GeoPos &x) const |
| void | set (LLA &x) const |
| void | set (UTM &x) const |
| void | set (ECEF &x) const |
| void | set (Vector3 &x) const |
| void | set (Matrix3 &x) const |
| void | set (Real &x) const |
| void | set (Curve &x) const |
| void | set (Table &x) const |
| void | set (Table1 &x) const |
| void | set (Table2 &x) const |
| void | set (Table3 &x) const |
| void | set (External &x) const |
| void | set (Key &x) const |
| void | set (Path &x) const |
| void | set (short &x) const |
| void | set (char &x) const |
| void | set (int &x) const |
| void | set (bool &x) const |
| void | set (float &x) const |
| void | set (double &x) const |
| void | set (unsigned int &x) const |
| void | set (std::string &x) const |
| void | set (EnumLink &x) const |
| void | set (LinkBase &x) const |
| template<typename Q> void | set (Link< Q > &x) const |
| bool | isType (TYPE t) const |
| const std::string | __repr__ () const |
Static Public Attributes | |
| const char * | TypeNames [] = {"NONE", "Integer", "Double", "String", "Base"} |
For internal use only. This class is used to pass typed data as parameters to virtual member functions (which are not compatible with templates). It works for a number of basic types, and for objects derived from the Object base class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:42 2003, using Doxygen 1.2.18. |