35 #ifndef LAS_VEGAS_LINEREADER_HPP 36 #define LAS_VEGAS_LINEREADER_HPP 40 #include <boost/shared_array.hpp> 92 LineReader(std::vector<std::string> filePaths);
93 void open(std::string filePath);
94 void open(std::vector<std::string> filePaths);
95 size_t getNumPoints();
96 bool getNextPoint(xyznc &point);
101 boost::shared_ptr<void> getNextPoints(
size_t &return_amount,
size_t amount = 1000000);
104 void rewind(
size_t i);
113 virtual const char *
what()
const throw() {
return error_msg.c_str(); }
136 #endif // LAS_VEGAS_LINEREADER_H
Datastructures for holding loaded data.
struct __attribute__((packed)) xyz
size_t m_line_element_amount
size_t m_line_element_amount
std::vector< std::string > m_filePaths
std::vector< size_t > m_filePos
readException(std::string what)
std::shared_ptr< HighFive::File > open(const std::string &filename)
virtual const char * what() const
std::vector< fileAttribut > m_fileAttributes