27 ptrdiff_t
numVlrs = std::count_if(header.vlrs, header.vlrs + header.number_of_variable_length_records, vlrShouldBeCopied);
32 for (laszip_U32 i = 0; i < header.number_of_variable_length_records; ++i)
34 if (vlrShouldBeCopied(header.vlrs[i]))
50 : extraScalarFields(rhs.extraScalarFields)
55 for (laszip_U32 i = 0; i < rhs.
numVlrs(); ++i)
65 std::swap(lhs.extraScalarFields, rhs.extraScalarFields);
laszip_vlr laszip_vlr_struct
bool IsLaszipVlr(const laszip_vlr_struct &)
Returns whether the vlr is the vlr for/of LASzip compression.
bool IsExtraBytesVlr(const laszip_vlr_struct &)
Returns whether the vlr describes extra bytes.
void CloneVlrInto(const laszip_vlr_struct &src, laszip_vlr_struct &dst)
Clones the content of the src vlr into the dst vlr.
void swap(cloudViewer::core::SmallVectorImpl< T > &LHS, cloudViewer::core::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
std::vector< laszip_vlr_struct > vlrs
static void Swap(LasVlr &lhs, LasVlr &rhs) noexcept
laszip_U32 numVlrs() const
LasVlr & operator=(LasVlr rhs)