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

Method ToString

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

Source from the content-addressed store, hash-verified

4176 }
4177
4178 std::string ToString() const
4179 {
4180 return this->empty() ? std::string() : this->FirstValue().ToString();
4181 }
4182 float ToFloat() const { return this->empty() ? 0.0F : this->FirstValue().ToFloat(); }
4183 double ToDouble() const { return this->empty() ? 0.0 : this->FirstValue().ToDouble(); }
4184 vtkTypeInt64 ToInt() const { return this->empty() ? 0 : this->FirstValue().ToInt(); }

Callers

nothing calls this directly

Calls 3

stringClass · 0.50
emptyMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected