28 #ifndef SCHNEK_DATABUFFER_HPP_ 29 #define SCHNEK_DATABUFFER_HPP_ 31 #include "../grid/grid.hpp" 32 #include "../grid/gridstorage.hpp" 33 #include "../grid/gridcheck.hpp" 45 class iterator :
public std::iterator<std::forward_iterator_tag, T>
51 iterator(
unsigned char *data_) : data(data_) {}
73 return (data == rhs.data);
78 return (data != rhs.data);
98 template<
class ContainerType>
101 BufferType &getBuffer()
120 #include "databuffer.t" Definition: databuffer.hpp:45
T * getRawData() const
Access to the underlying raw data.
Definition: single-array-storage-base.hpp:65
Definition: databuffer.hpp:37
void makeBuffer(ContainerType &container)
SCHNEK_INLINE int getSize() const
Get the length of the allocated array.
Definition: single-array-storage-base.hpp:89