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

Method GetNumberOfComponents

IO/Geometry/vtkOpenFOAMReader.cxx:700–700  ·  view source on GitHub ↗

The number of data components

Source from the content-addressed store, hash-verified

698
699 // The number of data components
700 static int GetNumberOfComponents(const dataType dtype) noexcept { return (dtype & 0xF); }
701
702 static bool IsGood(dataType dtype) noexcept { return dtype != NO_TYPE; }
703 static bool IsBool(dataType dtype) noexcept { return dtype == BOOL_TYPE; }

Callers 15

WriteBufferAndViewFunction · 0.45
WriteMeshFunction · 0.45
WriteDataMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45
LoadAnimationDataMethod · 0.45
DivideByDensityMethod · 0.45
operator()Function · 0.45
WriteBufferAndViewMethod · 0.45
AttributeMethod · 0.45
StreamHeaderMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestOpenFOAMReaderRegExFunction · 0.36
CheckArrayPointDataFunction · 0.36
TestOBJReaderRelativeFunction · 0.36