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