12 #if defined(VTK_TYPE_USE_LONG_LONG) && defined(VTK_TYPE_USE___INT64)
15 (VariantType == VTK_TYPE_INT64));
16 #elif defined(VTK_TYPE_USE_LONG_LONG)
18 (VariantType == VTK_TYPE_INT64));
19 #elif defined(VTK_TYPE_USE___INT64)
21 (VariantType == VTK_TYPE_INT64));
23 return (VariantType == VTK_TYPE_INT64);
30 #if (CHAR_MIN == SCHAR_MIN && CHAR_MAX == SCHAR_MAX)
68 return (A >= 0) && (A == UnsignedVariant.
ToTypeInt64());
79 (static_cast<vtkTypeUInt64>(A) < UnsignedVariant.
ToTypeUInt64()));
90 (UnsignedVariant.
ToTypeUInt64() <
static_cast<vtkTypeUInt64
>(B)));
118 if (! (this->Valid && other.Valid))
120 return (!(this->Valid || other.Valid));
129 (this->Data.VTKObject == other.Data.
VTKObject));
169 bool thisSigned =
IsSigned(this->Type);
170 bool otherSigned =
IsSigned(other.Type);
172 if (thisSigned ^ otherSigned)
198 if (! (this->Valid && other.Valid))
200 return ((!this->Valid) && (other.Valid));
209 (this->Data.VTKObject < other.Data.
VTKObject));
248 bool thisSigned =
IsSigned(this->Type);
249 bool otherSigned =
IsSigned(other.Type);
251 if (thisSigned ^ otherSigned)
290 return (!(this->
operator==(other) ||
291 this->
operator<(other)));
297 return (this->
operator==(other) ||
298 this->
operator<(other));
304 return (!this->
operator<(other));
vtkTypeInt64 ToTypeInt64(bool *valid) const
bool operator!=(const vtkVariant &other) const
vtkUnicodeString ToUnicodeString() const
bool IsSigned(int VariantType)
vtkTypeUInt64 ToTypeUInt64(bool *valid) const
#define VTK_UNICODE_STRING
A atomic type representing the union of many types.
vtkObjectBase * VTKObject
float ToFloat(bool *valid) const
bool CompareUnsignedSignedLessThan(const vtkVariant &UnsignedVariant, const vtkVariant &SignedVariant)
bool operator>(const vtkVariant &other) const
bool IsFloatingPoint(int VariantType)
bool CompareSignedUnsignedLessThan(const vtkVariant &SignedVariant, const vtkVariant &UnsignedVariant)
bool CompareUnsignedLessThan(const vtkVariant &A, const vtkVariant &B)
bool operator==(const vtkVariant &other) const
bool CompareSignedLessThan(const vtkVariant &A, const vtkVariant &B)
vtkTypeInt64 ToTypeInt64() const
bool operator<(const vtkVariant &other) const
bool CompareSignedUnsignedEqual(const vtkVariant &SignedVariant, const vtkVariant &UnsignedVariant)
bool IsSigned64Bit(int VariantType)
bool operator<=(const vtkVariant &other) const
bool operator>=(const vtkVariant &other) const
vtkStdString ToString() const
double ToDouble(bool *valid) const