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

Method GetAsObjectBase

Common/Core/vtkInformation.cxx:151–163  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

149
150//------------------------------------------------------------------------------
151const vtkObjectBase* vtkInformation::GetAsObjectBase(const vtkInformationKey* key) const
152{
153 if (key)
154 {
155 typedef vtkInformationInternals::MapType MapType;
156 MapType::const_iterator i = this->Internal->Map.find(const_cast<vtkInformationKey*>(key));
157 if (i != this->Internal->Map.end())
158 {
159 return i->second;
160 }
161 }
162 return nullptr;
163}
164
165//------------------------------------------------------------------------------
166vtkObjectBase* vtkInformation::GetAsObjectBase(vtkInformationKey* key)

Callers 15

SetMethod · 0.45
GetMethod · 0.45
GetExecutiveMethod · 0.45
GetPortMethod · 0.45
ReportMethod · 0.45
AppendMethod · 0.45
RemoveMethod · 0.45
SetMethod · 0.45
GetExecutivesMethod · 0.45
GetPortsMethod · 0.45
GetMethod · 0.45
LengthMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected