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

Method GetValueAsInt64

ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx:791–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791XdmfInt64 XdmfArray::GetValueAsInt64( XdmfInt64 Index ) {
792
793XdmfPointer ArrayPointer;
794XdmfInt64 Value, *vp = &Value;
795
796ArrayPointer = this->GetDataPointer(Index);
797XDMF_ARRAY_COPY( ArrayPointer, this->GetNumberType(), 1,
798 vp, XDMF_INT64_TYPE, 1,
799 XDMF_ARRAY_OUT, 1);
800return( Value );
801}
802
803XdmfInt32 XdmfArray::GetValueAsInt32( XdmfInt64 Index ) {
804

Callers 2

EvaluateMethod · 0.80
UpdateMethod · 0.80

Calls 2

GetDataPointerMethod · 0.95
GetNumberTypeMethod · 0.80

Tested by

no test coverage detected