Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
IVariant Class Reference
Inheritance diagram for IVariant:

Public Types

enum  Type {
  Invalid , Char , Bool , Int ,
  UInt , LongLong , ULongLong , Double ,
  String , List , UserType
}
 

Public Member Functions

Type type () const
 
 IVariant (const string &s)
 
BASE_EXPORT bool operator== (const IVariant &v)
 
bool isNull () const
 
BASE_EXPORT IVariant (const QVariant &q)
 
BASE_EXPORT operator QVariant () const
 
char toChar () const
 
bool toBool () const
 
int32 toInt () const
 
uint32 toUInt () const
 
int64 toLongLong () const
 
uint64 toULongLong () const
 
BASE_EXPORT double toDouble (bool *ok=nullptr) const
 
IString toString () const
 
IList< IVarianttoList () const
 
IString typeName () const
 
int userType () const
 
template<typename T >
value () const
 
template<typename T >
void setValue (const T &t)
 
template<typename T >
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 
template<>
BASE_EXPORT bool canConvert () const
 

Static Public Member Functions

template<typename T >
static IVariant fromValue (const T &t)
 

Static Public Attributes

static constexpr int uinvalid = 0
 
static constexpr int uivect2 = 10
 
static constexpr int udvect2 = 11
 
static constexpr int uivect3 = 12
 
static constexpr int udvect3 = 13
 
static constexpr int uavect2 = 14
 
static constexpr int uavect3 = 15
 
static constexpr int utensor = 16
 
static constexpr int uvariant = 17
 
static constexpr int uvbool = 18
 
static constexpr int uvint = 19
 
static constexpr int uvint64 = 20
 
static constexpr int uvdouble = 21
 
static constexpr int uvistring = 22
 
static constexpr int uvdvect2 = 23
 
static constexpr int uvdvect3 = 24
 
static constexpr int uvdavect2 = 25
 
static constexpr int uvdavect3 = 26
 
static constexpr int uvtensor = 27
 
static constexpr int uvstring = 28
 
static constexpr int ufvect2 = 29
 
static constexpr int ufvect3 = 30
 
static constexpr int uuvect2 = 31
 
static constexpr int uuvect3 = 32
 
static constexpr int uiavect2 = 33
 
static constexpr int uiavect3 = 34
 
static constexpr int ufavect2 = 35
 
static constexpr int ufavect3 = 36
 
static constexpr int uuavect2 = 37
 
static constexpr int uuavect3 = 38
 

The documentation for this class was generated from the following files: