/usr/include/pbseq/hdf/HDF2DArray.hpp is in libpbihdf-dev 0~20161219-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef _BLASR_HDF_2DARRAY_HPP_
#define _BLASR_HDF_2DARRAY_HPP_
#include "BufferedHDF2DArray.hpp"
template<typename T>
class HDF2DArray : public BufferedHDF2DArray<T> {
public:
void WriteRow(const T*data, int dataLength, int destRow=-1) {
this->writeBuffer = (T*) data;
this->bufferIndex = dataLength;
this->bufferSize = dataLength;
this->Flush(destRow);
//
// Reset status of buffer so that no methods are tricked into
// thinking this is a valid pointer.
//
this->writeBuffer = NULL;
this->bufferIndex = 0;
this->bufferSize = 0;
}
};
#endif
|