43 #ifndef LIBLAS_LASVARIABLERECORD_HPP_INCLUDED 44 #define LIBLAS_LASVARIABLERECORD_HPP_INCLUDED 46 #include <liblas/detail/private_utility.hpp> 47 #include <liblas/external/property_tree/ptree.hpp> 50 #include <boost/array.hpp> 83 uint16_t GetReserved()
const;
85 void SetReserved(uint16_t data);
90 std::string GetUserId(
bool pad )
const;
92 void SetUserId(std::string
const&
id);
97 uint16_t GetRecordId()
const;
99 void SetRecordId(uint16_t
id);
103 uint16_t GetRecordLength()
const;
105 void SetRecordLength(uint16_t length);
110 std::string GetDescription(
bool pad )
const;
112 void SetDescription(std::string
const& text);
115 std::vector<uint8_t>
const& GetData()
const;
117 void SetData(std::vector<uint8_t>
const& data);
124 std::size_t GetTotalSize()
const;
126 liblas::property_tree::ptree GetPTree()
const;
131 eDescriptionSize = 32
136 std::vector<uint8_t> m_data;
137 boost::array<char, 32> m_description;
138 boost::array<char, 16> m_user_id;
140 uint16_t m_record_id;
141 uint16_t m_record_size;
149 return lhs.
equal(rhs);
157 return (!(lhs == rhs));
165 #endif // LIBLAS_LASVARIABLERECORD_HPP_INCLUDED bool operator!=(Classification const &lhs, Classification const &rhs)
Not-equal-to operator implemented in terms of Classification::equal.
Definition: classification.hpp:232
Representation of variable-length record data.
Definition: variablerecord.hpp:59
#define LAS_DLL
Definition: export.hpp:58
std::ostream & operator<<(std::ostream &os, Classification const &cls)
The output stream operator is based on std::bitset<N>::operator<<.
Definition: classification.hpp:247
bool operator==(Classification const &lhs, Classification const &rhs)
Equal-to operator implemented in terms of Classification::equal.
Definition: classification.hpp:226
Namespace grouping all elements of libLAS public interface.
Definition: bounds.hpp:60
bool equal(VariableRecord const &other) const
Compare actual header object against the other.