Go to the documentation of this file.
34 #include "vtkCommonCoreModule.h"
37 #include "vtkSetGet.h"
47 #define vtkExtraExtendedTemplateMacro(call) \
48 vtkExtendedTemplateMacro(call); \
49 vtkTemplateMacroCase(VTK_VARIANT, vtkVariant, call)
52 #define vtkExtendedArrayIteratorTemplateMacro(call) \
53 vtkArrayIteratorTemplateMacro(call); \
54 vtkArrayIteratorTemplateMacroCase(VTK_VARIANT, vtkVariant, call);
187 bool IsValid()
const;
192 bool IsString()
const;
197 bool IsUnicodeString()
const;
202 bool IsNumeric()
const;
207 bool IsFloat()
const;
212 bool IsDouble()
const;
222 bool IsUnsignedChar()
const;
227 bool IsSignedChar()
const;
232 bool IsShort()
const;
237 bool IsUnsignedShort()
const;
247 bool IsUnsignedInt()
const;
257 bool IsUnsignedLong()
const;
262 bool Is__Int64()
const;
267 bool IsUnsigned__Int64()
const;
272 bool IsLongLong()
const;
277 bool IsUnsignedLongLong()
const;
282 bool IsVTKObject()
const;
287 bool IsArray()
const;
292 unsigned int GetType()
const;
297 const char* GetTypeAsString()
const;
319 float ToFloat(
bool *valid)
const;
321 return this->ToFloat(
nullptr); };
322 double ToDouble(
bool *valid)
const;
324 return this->ToDouble(
nullptr); };
325 char ToChar(
bool *valid)
const;
327 return this->ToChar(
nullptr); };
328 unsigned char ToUnsignedChar(
bool *valid)
const;
330 return this->ToUnsignedChar(
nullptr); };
331 signed char ToSignedChar(
bool *valid)
const;
333 return this->ToSignedChar(
nullptr); };
334 short ToShort(
bool *valid)
const;
336 return this->ToShort(
nullptr); };
337 unsigned short ToUnsignedShort(
bool *valid)
const;
339 return this->ToUnsignedShort(
nullptr); };
340 int ToInt(
bool *valid)
const;
342 return this->ToInt(
nullptr); };
343 unsigned int ToUnsignedInt(
bool *valid)
const;
345 return this->ToUnsignedInt(
nullptr); };
346 long ToLong(
bool *valid)
const;
348 return this->ToLong(
nullptr); };
349 unsigned long ToUnsignedLong(
bool *valid)
const;
351 return this->ToUnsignedLong(
nullptr); };
352 long long ToLongLong(
bool *valid)
const;
354 return this->ToLongLong(
nullptr); };
355 unsigned long long ToUnsignedLongLong(
bool *valid)
const;
357 return this->ToUnsignedLongLong(
nullptr); };
358 vtkTypeInt64 ToTypeInt64(
bool *valid)
const;
360 return this->ToTypeInt64(
nullptr); };
361 vtkTypeUInt64 ToTypeUInt64(
bool *valid)
const;
363 return this->ToTypeUInt64(
nullptr); };
431 template <
typename T>
432 T ToNumeric(
bool *valid, T* vtkNotUsed(ignored))
const;
unsigned short ToUnsignedShort() const
unsigned char ToUnsignedChar() const
unsigned long ToUnsignedLong() const
VTKCOMMONCORE_EXPORT bool operator<(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
bool IsInt(ADIOS_DATATYPES ta)
unsigned char UnsignedChar
vtkTypeInt64 ToTypeInt64() const
unsigned int ToUnsignedInt() const
abstract base class for most VTK objects
unsigned short UnsignedShort
String class that stores Unicode text.
A atomic type representing the union of many types.
long long ToLongLong() const
VTKCOMMONCORE_EXPORT bool operator==(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
VTKCOMMONCORE_EXPORT ostream & operator<<(ostream &os, const vtkVariant &val)
vtkObjectBase * VTKObject
Abstract superclass for all arrays.
unsigned long UnsignedLong
const std::string & ToString(TransportMethod)
vtkTypeUInt64 ToTypeUInt64() const
VTKCOMMONCORE_EXPORT bool operator>=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
unsigned long long ToUnsignedLongLong() const
vtkUnicodeString * UnicodeString
Wrapper around std::string to keep symbols short.
VTKCOMMONCORE_EXPORT bool operator!=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
VTKCOMMONCORE_EXPORT bool operator>(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
VTKCOMMONCORE_EXPORT bool operator<=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
signed char ToSignedChar() const
unsigned long long UnsignedLongLong