pdal::Dimension

namespace pdal::Dimension

Typedefs

typedef std::vector<Detail> DetailList

Enums

enum BaseType

Values:

None = 0x000
Signed = 0x100
Unsigned = 0x200
Floating = 0x400
enum Type

Values:

None = 0
Unsigned8 = unsigned(BaseType::Unsigned) | 1
Signed8 = unsigned(BaseType::Signed) | 1
Unsigned16 = unsigned(BaseType::Unsigned) | 2
Signed16 = unsigned(BaseType::Signed) | 2
Unsigned32 = unsigned(BaseType::Unsigned) | 4
Signed32 = unsigned(BaseType::Signed) | 4
Unsigned64 = unsigned(BaseType::Unsigned) | 8
Signed64 = unsigned(BaseType::Signed) | 8
Float = unsigned(BaseType::Floating) | 4
Double = unsigned(BaseType::Floating) | 8

Functions

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

Get a string reresentation of a datatype.

Return
String representation of dimension type.
Parameters

Type type(std::string s)

Get the type corresponding to a type name.

Return
Corresponding type enumeration value.
Parameters
  • s: Name of type.

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.

Return
Number of characters in the extracted name.
Parameters
  • s: String from which to extract dimension name.
  • p: Position at which to start extracting.

std::istream &operator>>(std::istream &in, Dimension::Type &type)
std::ostream &operator<<(std::ostream &out, const Dimension::Type &type)

Variables

const int COUNT = (std::numeric_limits<uint16_t>::max)()
const int PROPRIETARY = 0xF000