Representation of variable-length record data.
More...
#include <variablerecord.hpp>
Representation of variable-length record data.
Enumerator |
---|
eUserIdSize |
|
eDescriptionSize |
|
liblas::VariableRecord::VariableRecord |
( |
| ) |
|
Default constructor.
Zero-initialization of record data.
- Exceptions
-
liblas::VariableRecord::VariableRecord |
( |
VariableRecord const & |
other | ) |
|
Copy constructor.
Construction of new record object as a copy of existing one.
- Exceptions
-
liblas::VariableRecord::~VariableRecord |
( |
| ) |
|
bool liblas::VariableRecord::equal |
( |
VariableRecord const & |
other | ) |
const |
std::vector<uint8_t> const& liblas::VariableRecord::GetData |
( |
| ) |
const |
Get the data for this VLR.
std::string liblas::VariableRecord::GetDescription |
( |
bool |
pad | ) |
const |
Get text description of data in the record.
The character data is up to 32 bytes long.
- Exceptions
-
liblas::property_tree::ptree liblas::VariableRecord::GetPTree |
( |
| ) |
const |
uint16_t liblas::VariableRecord::GetRecordId |
( |
| ) |
const |
Get identifier of record.
The record ID is closely related to the user ID.
- Exceptions
-
uint16_t liblas::VariableRecord::GetRecordLength |
( |
| ) |
const |
Get record length after the header.
- Exceptions
-
uint16_t liblas::VariableRecord::GetReserved |
( |
| ) |
const |
Get record signature (LAS 1.0) or reserved bytes (LAS 1.1).
- Exceptions
-
std::size_t liblas::VariableRecord::GetTotalSize |
( |
| ) |
const |
Get the total size of the VLR in bytes.
std::string liblas::VariableRecord::GetUserId |
( |
bool |
pad | ) |
const |
Get identifier of user which created the record.
The character data is up to 16 bytes long.
- Exceptions
-
Assignment operator.
Construction and initializition of record object by assignment of another one.
- Exceptions
-
void liblas::VariableRecord::SetData |
( |
std::vector< uint8_t > const & |
data | ) |
|
void liblas::VariableRecord::SetDescription |
( |
std::string const & |
text | ) |
|
void liblas::VariableRecord::SetRecordId |
( |
uint16_t |
id | ) |
|
void liblas::VariableRecord::SetRecordLength |
( |
uint16_t |
length | ) |
|
void liblas::VariableRecord::SetReserved |
( |
uint16_t |
data | ) |
|
void liblas::VariableRecord::SetUserId |
( |
std::string const & |
id | ) |
|
The documentation for this class was generated from the following file: