37 void VLXValue::release()
42 if (mUnion.mStructure)
43 mUnion.mStructure->decReference();
48 mUnion.mList->decReference();
52 if (mUnion.mRawtextBlock)
53 mUnion.mRawtextBlock->decReference();
64 mUnion.mArray->decReference();
72 mUnion.mString =
NULL;
85 mLineNumber = other.mLineNumber;
91 if (other.mUnion.mStructure)
92 other.mUnion.mStructure->incReference();
96 if (other.mUnion.mList)
97 other.mUnion.mList->incReference();
101 if (other.mUnion.mRawtextBlock)
102 other.mUnion.mRawtextBlock->incReference();
112 if (other.mUnion.mArray)
113 other.mUnion.mArray->incReference();
123 mUnion = other.mUnion;
128 mUnion.mString =
new std::string(*mUnion.mString);
137 mUnion.mStructure = obj;
138 if (mUnion.mStructure)
139 mUnion.mStructure->incReference();
151 mUnion.mList->incReference();
161 mUnion.mRawtextBlock = fblock;
162 if (mUnion.mRawtextBlock)
163 mUnion.mRawtextBlock->incReference();
174 mUnion.mArray->incReference();
185 mUnion.mArray->incReference();
226 if (arr->classType() == VLXArrayInteger::Type())
229 if (arr->classType() == VLXArrayReal::Type())
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
VLCORE_EXPORT VLXStructure * setStructure(VLXStructure *)
VLCORE_EXPORT VLXList * setList(VLXList *)
Base class for all arrays of VLX values.
An array of 64 bits floating point numbers, can also have a tag.
Visualization Library main namespace.
VLCORE_EXPORT VLXArray * setArray(VLXArray *)
VLCORE_EXPORT VLXArrayReal * setArrayReal(VLXArrayReal *)
Wrapper for all VLX value types.
An array of 64 bits integers, can also have a tag.
T * as()
Casts an Object to the specified class.
VLCORE_EXPORT VLXArrayInteger * setArrayInteger(VLXArrayInteger *)
A simple sequence of VLXValue objects, can also have a tag.
VLCORE_EXPORT VLXRawtextBlock * setRawtextBlock(VLXRawtextBlock *)
A list of key/VLXValue pairs, can also have a tag.