intarray Class Reference
[modules - functions to process raw data in series]

Treat an array of any-sized integers as a generic pointer/iterator. More...

#include <intarray.hh>

List of all members.

Public Types

typedef int difference_type
typedef uint64_t value_type
typedef uint64_t * pointer
typedef uint64_t & reference
typedef
std::random_access_iterator_tag 
iterator_category

Public Member Functions

uint64_t GetMax ()
 Get the largest value storable in this type of integer.
 intarray (int nbits, void *start=0)
 Constructor; must specify the number of bits of the underlying array.
 intarray (const intarray &right)
intarrayoperator= (const intarray &right)
intarrayoperator= (void *start)
bool operator== (void *start) const
bool operator== (const intarray &right) const
bool operator!= (const intarray &right) const
uint64_t operator[] (int index) const
uint64_t operator* () const
intarrayoperator++ ()
intarray operator++ (int)
intarrayoperator-- ()
intarray operator-- (int)
intarray operator+ (int d) const
intarray operator- (int d) const
int operator- (const intarray &a) const
intarrayoperator+= (int d)
intarrayoperator-= (int d)

Private Attributes

int _nbits
char * _start
int _nchars
uint64_t _mask

Detailed Description

Treat an array of any-sized integers as a generic pointer/iterator.

Definition at line 16 of file intarray.hh.


Constructor & Destructor Documentation

intarray::intarray ( const intarray right  )  [inline]
Parameters:
right copy constructor

Definition at line 36 of file intarray.hh.


Member Function Documentation

intarray& intarray::operator= ( const intarray right  )  [inline]
Parameters:
right assignment operator

Definition at line 45 of file intarray.hh.

intarray& intarray::operator= ( void *  start  )  [inline]
Parameters:
start assignment operator to a raw pointer

Definition at line 55 of file intarray.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1