KVIrc  4.9.2
DeveloperAPIs
Classes | Public Types | Public Attributes | List of all members
KviKvsVariantData Class Reference

The class which holds the type of the variant data. More...

#include <KviKvsVariant.h>

Classes

union  DataType
 Holds the value of the variant data. More...
 

Public Types

enum  Type {
  Nothing = 0, String = 1, Integer = 2, Real = 4,
  Array = 8, Hash = 16, Boolean = 32, HObject = 64
}
 Holds the type of the variant data. More...
 

Public Attributes

Type m_eType
 
DataType m_u
 
unsigned int m_uRefs
 

Detailed Description

The class which holds the type of the variant data.

Member Enumeration Documentation

Holds the type of the variant data.

Enumerator
Nothing 

Data not initialized

String 

QString (scalar)

Integer 

long int (scalar)

Real 

double (scalar)

Array 

KviKvsArray

Hash 

KviKvsHash

Boolean 

bool (scalar)

HObject 

object, shallow! (scalar)

Member Data Documentation

Type KviKvsVariantData::m_eType
DataType KviKvsVariantData::m_u

Referenced by KviKvsVariant::appendAsString(), KviKvsVariant::asBoolean(), KviKvsVariant::asHObject(), KviKvsVariant::asInteger(), KviKvsVariant::asNumber(), KviKvsVariant::asReal(), KviKvsVariant::asString(), KviKvsVariant::castToArray(), KviKvsVariant::castToInteger(), KviKvsVariant::castToNumber(), KviKvsVariant::compare(), KviKvsVariantComparison::compareArrayHash(), KviKvsVariantComparison::compareBoolArray(), KviKvsVariantComparison::compareBoolHash(), KviKvsVariantComparison::compareBoolHObject(), KviKvsVariantComparison::compareBoolString(), KviKvsVariantComparison::compareHObjectArray(), KviKvsVariantComparison::compareHObjectHash(), KviKvsVariantComparison::compareIntArray(), KviKvsVariantComparison::compareIntBool(), KviKvsVariantComparison::compareIntHash(), KviKvsVariantComparison::compareIntHObject(), KviKvsVariantComparison::compareIntReal(), KviKvsVariantComparison::compareIntString(), KviKvsVariantComparison::compareRealArray(), KviKvsVariantComparison::compareRealBool(), KviKvsVariantComparison::compareRealHash(), KviKvsVariantComparison::compareRealHObject(), KviKvsVariantComparison::compareRealString(), KviKvsVariantComparison::compareStringArray(), KviKvsVariantComparison::compareStringHash(), KviKvsVariantComparison::compareStringHObject(), KviKvsVariant::convertToArray(), KviKvsVariant::dump(), KviKvsVariant::isEmpty(), KviKvsVariant::isEqualToNothing(), KviKvsVariant::KviKvsVariant(), KviKvsVariant::serialize(), KviKvsVariant::setArray(), KviKvsVariant::setBoolean(), KviKvsVariant::setHash(), KviKvsVariant::setHObject(), KviKvsVariant::setInteger(), KviKvsVariant::setReal(), and KviKvsVariant::setString().

unsigned int KviKvsVariantData::m_uRefs

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