library: libTable
#include "TIndexTable.h"

TIndexTable::iterator


class description - header file
viewCVS header

class TIndexTable::iterator

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
~iterator()
TIndexTable::iteratoriterator(const TTable& t)
TIndexTable::iteratoriterator(const TIndexTable::iterator& iter)
TIndexTable::iteratoriterator(const TTable& t, int& rowPtr)
intoperator int()
Bool_toperator!=(const TIndexTable::iterator& t) const
void*operator*()
TIndexTable::iterator&operator+(Int_t idx)
TIndexTable::iterator&operator++()
voidoperator++(int)
TIndexTable::iterator&operator-(Int_t idx)
Int_toperator-(const TIndexTable::iterator& it) const
TIndexTable::iterator&operator--()
voidoperator--(int)
TIndexTable::iterator&operator=(const TIndexTable::iterator& iter)
Bool_toperator==(const TIndexTable::iterator& t) const
protected:
TIndexTable::iteratoriterator()

Data Members

protected:
const TTable*fTable
int*fCurrentRow

Class Description

iterator()
{}
iterator(const TTable &t, int &rowPtr)
{}
iterator(const TTable &t)
{}
iterator(const iterator& iter)
{}
iterator & operator=(const iterator& iter)
{fTable = iter.fTable; fCurrentRow = iter.fCurrentRow; return *this;}
iterator & operator++()
{ if (fCurrentRow) ++fCurrentRow; return *this;}
void operator++(int)
{ if (fCurrentRow) fCurrentRow++;}
iterator & operator--()
{ if (fCurrentRow) --fCurrentRow; return *this;}
void operator--(int)
{ if (fCurrentRow) fCurrentRow--;}
iterator & operator+(Int_t idx)
{ if (fCurrentRow) fCurrentRow+=idx; return *this;}
iterator & operator-(Int_t idx)
{ if (fCurrentRow) fCurrentRow-=idx; return *this;}
Int_t operator-(const iterator &it)
{ return (fCurrentRow-it.fCurrentRow)/sizeof(int); }
operator int()
{ return *fCurrentRow;}
Bool_t operator==(const iterator &t)
{ return (fCurrentRow == t.fCurrentRow); }
Bool_t operator!=(const iterator &t)
{ return !operator==(t); }

Last update: Tue Nov 21 09:27:20 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.