pdal::Dimension

namespace pdal::Dimension

Typedefs

typedef std::vector<Detail> DetailList

Enums

enum BaseType

Values:

enumerator None
enumerator Signed
enumerator Unsigned
enumerator Floating
enum Type

Values:

enumerator None
enumerator Unsigned8
enumerator Signed8
enumerator Unsigned16
enumerator Signed16
enumerator Unsigned32
enumerator Signed32
enumerator Unsigned64
enumerator Signed64
enumerator Float
enumerator Double

Functions

inline BaseType fromName(std::string name)
inline std::string toName(BaseType b)
inline std::size_t size(Type t)
inline BaseType base(Type t)
inline std::string interpretationName(Type dimtype)

Get a string reresentation of a datatype.

Parameters

dimtype[in] Dimension type.

Returns

String representation of dimension type.

inline Type type(std::string s)

Get the type corresponding to a type name.

Parameters

s – Name of type.

Returns

Corresponding type enumeration value.

inline Type type(const std::string &baseType, size_t size)
inline std::size_t extractName(const std::string &s, std::string::size_type p)

Extract a dimension name of a string.

Dimension names start with an alpha and continue with numbers or underscores.

Parameters
  • s – String from which to extract dimension name.

  • p – Position at which to start extracting.

Returns

Number of characters in the extracted name.

inline std::string fixName(std::string name)
inline bool nameValid(std::string name)
inline std::istream &operator>>(std::istream &in, Dimension::Type &type)
inline std::ostream &operator<<(std::ostream &out, const Dimension::Type &type)

Variables

static const int COUNT = 1024
static const int PROPRIETARY = 512
class Detail
#include <DimDetail.hpp>