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

Function interpretationName

pdal/DimUtil.hpp:112–140  ·  view source on GitHub ↗

Get a string reresentation of a datatype. \param[in] dimtype Dimension type. \return String representation of dimension type.

Source from the content-addressed store, hash-verified

110/// \param[in] dimtype Dimension type.
111/// \return String representation of dimension type.
112inline std::string interpretationName(Type dimtype)
113{
114 switch (dimtype)
115 {
116 case Type::None:
117 return "unknown";
118 case Type::Signed8:
119 return "int8_t";
120 case Type::Signed16:
121 return "int16_t";
122 case Type::Signed32:
123 return "int32_t";
124 case Type::Signed64:
125 return "int64_t";
126 case Type::Unsigned8:
127 return "uint8_t";
128 case Type::Unsigned16:
129 return "uint16_t";
130 case Type::Unsigned32:
131 return "uint32_t";
132 case Type::Unsigned64:
133 return "uint64_t";
134 case Type::Float:
135 return "float";
136 case Type::Double:
137 return "double";
138 }
139 return "unknown";
140}
141
142/// Get the type corresponding to a type name.
143/// \param s Name of type.

Callers 13

preparedMethod · 0.85
getTypeMethod · 0.85
preparedMethod · 0.85
fieldMethod · 0.85
addDimensionsMethod · 0.85
getPdalBoundsFunction · 0.85
DimUtil.hppFile · 0.85
dumpMethod · 0.85
getFieldAsMethod · 0.85
setFieldMethod · 0.85
writeXmlMethod · 0.85
getFieldAsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected