MCPcopy Create free account
hub / github.com/PDAL/PDAL / fromName

Function fromName

pdal/DimUtil.hpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53};
54
55inline BaseType fromName(std::string name)
56{
57 if (name == "signed")
58 return BaseType::Signed;
59 else if (name == "unsigned")
60 return BaseType::Unsigned;
61 else if (name == "floating" || name == "float")
62 return BaseType::Floating;
63 return BaseType::None;
64}
65
66inline std::string toName(BaseType b)
67{

Callers 1

typeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected