MCPcopy Create free account
hub / github.com/Kitware/VTK / IsNumeric

Method IsNumeric

Common/Core/vtkVariant.cxx:516–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514}
515
516bool vtkVariant::IsNumeric() const
517{
518 return this->IsFloat() || this->IsDouble() || this->IsChar() || this->IsUnsignedChar() ||
519 this->IsSignedChar() || this->IsShort() || this->IsUnsignedShort() || this->IsInt() ||
520 this->IsUnsignedInt() || this->IsLong() || this->IsUnsignedLong() || this->IsLongLong() ||
521 this->IsUnsignedLongLong();
522}
523
524bool vtkVariant::IsFloat() const
525{

Callers 9

dataMethod · 0.45
headerDataMethod · 0.45
IsIntegralMethod · 0.45
TestVariantArrayFunction · 0.45
AreEqualFunction · 0.45
CompareTablesFunction · 0.45
CreateArrayMethod · 0.45

Calls 13

IsFloatMethod · 0.95
IsDoubleMethod · 0.95
IsCharMethod · 0.95
IsUnsignedCharMethod · 0.95
IsSignedCharMethod · 0.95
IsShortMethod · 0.95
IsUnsignedShortMethod · 0.95
IsIntMethod · 0.95
IsUnsignedIntMethod · 0.95
IsLongMethod · 0.95
IsUnsignedLongMethod · 0.95
IsLongLongMethod · 0.95

Tested by 3

TestVariantArrayFunction · 0.36
AreEqualFunction · 0.36
CompareTablesFunction · 0.36