npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::NtupleBuffer< T > Class Template Reference

Public Types

typedef T value_type
 

Public Member Functions

 NtupleBuffer (const unsigned long maxrows, const unsigned long ncols, const bool writeColumnByColumn)
 
unsigned long nColumns () const
 
unsigned long maxrows () const
 
unsigned long firstRow () const
 
unsigned long itemsBuffered () const
 
bool writeByColumn () const
 
bool isFull () const
 
const std::vector< long long > & columnOffsets () const
 
unsigned long nRows () const
 
bool rowInRange (const unsigned long row) const
 
operator() (const unsigned long row, const unsigned long c) const
 
at (const unsigned long row, const unsigned long c) const
 
bool fill (const T *values, const unsigned long lenValues)
 
void clear ()
 
bool rowContents (const unsigned long absRow, T *buf, const unsigned long lenBuf) const
 
bool columnContents (const unsigned long col, T *buf, const unsigned long lenBuf) const
 
bool operator== (const NtupleBuffer &r) const
 
bool operator!= (const NtupleBuffer &r) const
 
void setFirstRow (const unsigned long off)
 
gs::ClassId classId () const
 
bool write (std::ostream &) const
 

Static Public Member Functions

static const char * classname ()
 
static unsigned version ()
 
static void restore (const gs::ClassId &id, std::istream &in, NtupleBuffer *buf)
 
static void readColumn (const gs::ClassId &id, std::istream &in, unsigned long column, long long offset, T *buffer, unsigned long bufferLength)
 

The documentation for this class was generated from the following file: