Template Class NodeData
Defined in File NodeData.hpp
Nested Relationships
Nested Types
Class Documentation
-
template<typename BaseVecT>
class NodeData Class that contains the actual points of a node
Public Functions
-
NodeData(size_t bufferSize)
Constructor
- Parameters:
bufferSize – amount of points to store in a buffer. when buffersize is reached all points are stored to hdd
-
void open(std::string path)
sets data path
- Parameters:
path –
-
inline const std::string &getDataPath() const
returns path where data is stored on hdd
- Returns:
-
inline const std::string getFolder() const
returns path to folder on hdd where data is stored
- Returns:
-
void remove()
removes the data file from hdd
-
void remove(unsigned int i)
removes element at index i (not implemented)
- Parameters:
i –
-
void writeBuffer()
writes buffer to file
-
size_t getMaxWriteBufferSize()
gets amount of points stored in write buffer
- Returns:
-
size_t size()
returns amount of elements stored in data
- Returns:
-
size_t getBufferSize()
returns amount of poiunts stored in buffer
- Returns:
Public Static Functions
-
static inline void printTimer()
-
class Iterator
-
NodeData(size_t bufferSize)