3D Forest
Software for analysis of Lidar data from forest environment.
RecordFile::Buffer Struct Reference

#include <RecordFile.hpp>

Public Member Functions

void write (const std::vector< size_t > &v)
 
void write (const std::vector< double > &v)
 
void read (std::vector< size_t > &v) const
 
void read (std::vector< double > &v) const
 
void copy (const RecordFile::Buffer &src, uint64_t n, uint64_t to, uint64_t from)
 

Public Attributes

RecordFile::Type recordType
 
size_t recordSize
 
size_t size
 
std::string name
 
std::vector< uint8_t > data
 

Member Function Documentation

◆ copy()

void RecordFile::Buffer::copy ( const RecordFile::Buffer & src,
uint64_t n,
uint64_t to,
uint64_t from )

◆ read() [1/2]

void RecordFile::Buffer::read ( std::vector< double > & v) const

◆ read() [2/2]

void RecordFile::Buffer::read ( std::vector< size_t > & v) const

◆ write() [1/2]

void RecordFile::Buffer::write ( const std::vector< double > & v)

◆ write() [2/2]

void RecordFile::Buffer::write ( const std::vector< size_t > & v)

Member Data Documentation

◆ data

std::vector<uint8_t> RecordFile::Buffer::data

◆ name

std::string RecordFile::Buffer::name

◆ recordSize

size_t RecordFile::Buffer::recordSize

◆ recordType

RecordFile::Type RecordFile::Buffer::recordType

Referenced by RecordFile::createBuffer(), and write().

◆ size

size_t RecordFile::Buffer::size

Referenced by RecordFile::createBuffer(), and write().


The documentation for this struct was generated from the following files: