library: libTable
#include "TGenericTable.h"

TGenericTable::iterator


class description - header file
viewCVS header

class TGenericTable::iterator

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

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

Data Members

protected:
UInt_tfRowSize
char*fCurrentRow

Class Description

iterator()
{}
iterator(UInt_t size, char &rowPtr)
{}
iterator(const TTable &t, char &rowPtr)
{}
iterator(const TTable &t)
{}
iterator(const iterator& iter)
{}
iterator & operator=(const iterator& iter)
{ fRowSize = iter.fRowSize; fCurrentRow = iter.fCurrentRow; return *this;}
iterator & operator++()
{ if (fCurrentRow) fCurrentRow+=fRowSize; return *this;}
void operator++(int)
{ if (fCurrentRow) fCurrentRow+=fRowSize;}
iterator & operator--()
{ if (fCurrentRow) fCurrentRow-=fRowSize; return *this;}
void operator--(int)
{ if (fCurrentRow) fCurrentRow-=fRowSize;}
iterator & operator+(Int_t idx)
{ if (fCurrentRow) fCurrentRow+=idx*fRowSize; return *this;}
iterator & operator-(Int_t idx)
{ if (fCurrentRow) fCurrentRow-=idx*fRowSize; return *this;}
Int_t operator-(const iterator &it)
{ return (fCurrentRow-it.fCurrentRow)/fRowSize; }
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:19:47 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.