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

Method GetPorts

Common/ExecutionModel/vtkInformationExecutivePortVectorKey.cxx:174–179  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

172
173//------------------------------------------------------------------------------
174int* vtkInformationExecutivePortVectorKey::GetPorts(vtkInformation* info)
175{
176 vtkInformationExecutivePortVectorValue* v =
177 static_cast<vtkInformationExecutivePortVectorValue*>(this->GetAsObjectBase(info));
178 return (v && !v->Ports.empty()) ? v->Ports.data() : nullptr;
179}
180
181//------------------------------------------------------------------------------
182void vtkInformationExecutivePortVectorKey::Get(

Callers 3

ShallowCopyMethod · 0.95
PrintMethod · 0.95

Calls 3

GetAsObjectBaseMethod · 0.45
emptyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected