liblas::LASVLR Class Reference
Representation of variable-length record data. More...
#include <lasrecordheader.hpp>
Public Member Functions | |
| LASVLR () | |
| Default constructor. | |
| LASVLR (LASVLR const &other) | |
| Copy constructor. | |
| ~LASVLR () | |
| LASVLR & | operator= (LASVLR const &rhs) |
| Assignment operator. | |
| uint16_t | GetReserved () const |
| Get record signature (LAS 1.0) or reserved bytes (LAS 1.1). | |
| void | SetReserved (uint16_t) |
| std::string | GetUserId (bool pad) const |
| Get identifier of user which created the record. | |
| void | SetUserId (std::string const &) |
| uint16_t | GetRecordId () const |
| Get identifier of record. | |
| void | SetRecordId (uint16_t) |
| uint16_t | GetRecordLength () const |
| Get record length after the header. | |
| void | SetRecordLength (uint16_t) |
| std::string | GetDescription (bool pad) const |
| Get text description of data in the record. | |
| void | SetDescription (std::string const &) |
| std::vector< uint8_t > const & | GetData () const |
| Get the data for this VLR. | |
| void | SetData (std::vector< uint8_t > const &) |
| bool | equal (LASVLR const &other) const |
| Compare actual header object against the other. | |
| uint32_t | GetTotalSize () const |
| Get the total size of the VLR in bytes. | |
Detailed Description
Representation of variable-length record data.
Definition at line 54 of file lasrecordheader.hpp.
Constructor & Destructor Documentation
| liblas::LASVLR::LASVLR | ( | ) |
Default constructor.
Zero-initialization of record data.
- Exceptions:
-
No throw
| liblas::LASVLR::LASVLR | ( | LASVLR const & | other | ) |
Copy constructor.
Construction of new record object as a copy of existing one.
- Exceptions:
-
No throw
| liblas::LASVLR::~LASVLR | ( | ) |
Member Function Documentation
Assignment operator.
Construction and initializition of record object by assignment of another one.
- Exceptions:
-
No throw
| uint16_t liblas::LASVLR::GetReserved | ( | ) | const |
Get record signature (LAS 1.0) or reserved bytes (LAS 1.1).
- Exceptions:
-
No throw
| void liblas::LASVLR::SetReserved | ( | uint16_t | ) |
| std::string liblas::LASVLR::GetUserId | ( | bool | pad | ) | const |
Get identifier of user which created the record.
The character data is up to 16 bytes long.
- Exceptions:
-
No throw
| void liblas::LASVLR::SetUserId | ( | std::string const & | ) |
| uint16_t liblas::LASVLR::GetRecordId | ( | ) | const |
Get identifier of record.
The record ID is closely related to the user ID.
- Exceptions:
-
No throw
| void liblas::LASVLR::SetRecordId | ( | uint16_t | ) |
| uint16_t liblas::LASVLR::GetRecordLength | ( | ) | const |
Get record length after the header.
- Exceptions:
-
No throw
| void liblas::LASVLR::SetRecordLength | ( | uint16_t | ) |
| std::string liblas::LASVLR::GetDescription | ( | bool | pad | ) | const |
Get text description of data in the record.
The character data is up to 32 bytes long.
- Exceptions:
-
No throw
| void liblas::LASVLR::SetDescription | ( | std::string const & | ) |
| std::vector<uint8_t> const& liblas::LASVLR::GetData | ( | ) | const |
Get the data for this VLR.
| void liblas::LASVLR::SetData | ( | std::vector< uint8_t > const & | ) |
| bool liblas::LASVLR::equal | ( | LASVLR const & | other | ) | const |
Compare actual header object against the other.
- Exceptions:
-
No throw
Referenced by liblas::operator==().
Here is the caller graph for this function:

| uint32_t liblas::LASVLR::GetTotalSize | ( | ) | const |
Get the total size of the VLR in bytes.
The documentation for this class was generated from the following file:
