|
Xpace
|
Thrown when you ask for a type that cannot be converted E.g., asking for string data as an int64. More...
#include <data.h>
Public Member Functions | |
| IncompatibleType (BaseDataType fromType, BaseDataType toType) | |
| IncompatibleType (BaseDataType fromType) | |
| template<> | |
| IncompatibleType (BaseDataType fromType) | |
| template<> | |
| IncompatibleType (BaseDataType fromType) | |
Public Member Functions inherited from Xpace::Exception | |
| Exception () | |
| Exception (const Exception &) | |
| Exception & | operator= (const Exception &) |
| virtual | ~Exception () throw () |
| bool | operator! () const |
| const Exception | why () const |
| const char * | versionInfo () const |
| const String | getTemplate () const |
| String | getMessage (const String &templ=String()) const |
| Construct an error message. More... | |
| const char * | what () const throw () |
Additional Inherited Members | |
Protected Member Functions inherited from Xpace::Exception | |
| Exception (const String &templ, const Exception reason=Exception()) | |
| void | addParam (const String &p) |
| Add a parameter to this exception The first parameter added will replace '%1' in the template, the second will replace '%2', and so on. More... | |
Thrown when you ask for a type that cannot be converted E.g., asking for string data as an int64.
| T | the to-type |
|
inline |
| fromType | the actual type in the Table |
| toType | the requested type |
Definition at line 560 of file data.h.
References Xpace::BaseDataType::getName().
Referenced by Xpace::DerivedDataType::getDerivedType(), and Xpace::IncompatibleType< T >::IncompatibleType().
| Xpace::IncompatibleType< T >::IncompatibleType | ( | BaseDataType | fromType | ) |
| fromType | the actual type in the Table NB takes toType from the template param |
|
inline |
Definition at line 442 of file data.h.
References Xpace::BaseDataType::btString8, and Xpace::IncompatibleType< T >::IncompatibleType().
|
inline |
Definition at line 449 of file data.h.
References Xpace::BaseDataType::btString16.