Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NavItrT< T > Class Template Reference

#include <NavItrT.h>

Inheritance diagram for NavItrT< T >:

NavItr List of all members.

Public Member Functions

 NavItrT ()
 NavItrT (TCollection *source)
 NavItrT (TIter *sourceItr)
 NavItrT (const TIter &sourceItr)
 NavItrT (const Text_t *farclass, Int_t rship=0)
 NavItrT (Lattice *source, ESide side)
 NavItrT (const NavItrT< T > &from, Bool_t subSlice=kFALSE)
NavItrT< T > & operator= (const NavItrT< T > &from)
virtual ~NavItrT ()
T * operator * () const
T * Ptr () const
T * NextPtr ()
T * PrevPtr ()
T * operator() (Int_t dir=0)
NavItrT< T > & operator++ ()
NavItrT< T > & operator-- ()
T * JumpPtr (Int_t index)
void Attach (TCollection *source)
T * Map (const void *far)

Static Public Member Functions

Int_t Offset ()

Static Public Attributes

std::string fgItrName
 i.e. NavItrT<Xxx>. Set by NameSetter
std::string fgClassName
 i.e. Xxx. Set NameSetter

template<class T>
class NavItrT< T >


Constructor & Destructor Documentation

template<class T>
NavItrT< T >::NavItrT  ) 
 

Definition at line 20 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00020                     :
00021   NavItr(fgClassName.c_str(), Offset()) {
00022   LEA_CTOR_NM(fgItrName.c_str(),this)
00023 }

template<class T>
NavItrT< T >::NavItrT TCollection *  source  ) 
 

Definition at line 28 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00028                                        :
00029   NavItr(source, fgClassName.c_str(), Offset()) {
00030   LEA_CTOR_NM(fgItrName.c_str(),this)
00031 }

template<class T>
NavItrT< T >::NavItrT TIter *  sourceItr  ) 
 

Definition at line 36 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00036                                     : 
00037   NavItr(sourceItr, fgClassName.c_str(), Offset()) {
00038   LEA_CTOR_NM(fgItrName.c_str(),this)
00039 }

template<class T>
NavItrT< T >::NavItrT const TIter &  sourceItr  ) 
 

Definition at line 44 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00044                                           : 
00045   NavItr(&sourceItr, fgClassName.c_str(), Offset()) {
00046   LEA_CTOR_NM(fgItrName.c_str(),this)
00047 }

template<class T>
NavItrT< T >::NavItrT const Text_t *  farclass,
Int_t  rship = 0
 

Definition at line 52 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00052                                                        :
00053   NavItr(fgClassName.c_str(), farclass, rship) {
00054   LEA_CTOR_NM(fgItrName.c_str(),this)
00055 }

template<class T>
NavItrT< T >::NavItrT Lattice source,
ESide  side
 

Definition at line 60 of file NavItrT.tpl.

References NavItrT< T >::fgItrName, and LEA_CTOR_NM.

00060                                                :
00061   NavItr(source, fgClassName.c_str(), side) {
00062   LEA_CTOR_NM(fgItrName.c_str(),this)
00063 }

template<class T>
NavItrT< T >::NavItrT const NavItrT< T > &  from,
Bool_t  subSlice = kFALSE
[inline]
 

Definition at line 48 of file NavItrT.h.

00049                : NavItr(from,subSlice) {}

template<class T>
virtual NavItrT< T >::~NavItrT  )  [inline, virtual]
 

Definition at line 52 of file NavItrT.h.

References NavItrT< T >::fgItrName, and LEA_DTOR_NM.

00052 {LEA_DTOR_NM(fgItrName.c_str(),this)}


Member Function Documentation

template<class T>
void NavItrT< T >::Attach TCollection *  source  ) 
 

Definition at line 68 of file NavItrT.tpl.

References NavItr::Attach(), NavItrT< T >::fgClassName, and NavItrT< T >::Offset().

00068                                            { 
00069   NavItr::Attach(source, fgClassName.c_str(), Offset());} 

template<class T>
T* NavItrT< T >::JumpPtr Int_t  index  )  [inline]
 

Definition at line 73 of file NavItrT.h.

References NavItr::Jump(), and NavItrT< T >::Ptr().

00073 { Jump(index); return Ptr();} 

template<class T>
T* NavItrT< T >::Map const void *  far  )  [inline]
 

Reimplemented from NavItr.

Definition at line 77 of file NavItrT.h.

References NavItr::Map().

00077                                   {                             
00078             return reinterpret_cast<T*>(NavItr::Map(far));}    

template<class T>
T* NavItrT< T >::NextPtr  )  [inline]
 

Definition at line 63 of file NavItrT.h.

References NavItr::Increment(), and NavItrT< T >::Ptr().

00063 { Increment(); return Ptr(); }

template<class T>
Int_t NavItrT< T >::Offset  )  [static]
 

Definition at line 74 of file NavItrT.tpl.

Referenced by NavItrT< T >::Attach().

00074                          {
00075   const void* obj = reinterpret_cast<const void*>(100); 
00076   const T* a = reinterpret_cast<const T*>(obj);
00077   const TObject*  t = a; 
00078   return (   reinterpret_cast<const Char_t*>(a)
00079            - reinterpret_cast<const Char_t*>(t) );
00080 }

template<class T>
T* NavItrT< T >::operator *  )  const [inline]
 

Reimplemented from NavItr.

Definition at line 56 of file NavItrT.h.

References NavItr::operator *().

00056                                {
00057             return reinterpret_cast<T*>(NavItr::operator*());}

template<class T>
T* NavItrT< T >::operator() Int_t  dir = 0  )  [inline]
 

Definition at line 65 of file NavItrT.h.

References NavItr::Step().

00065                                      {
00066             return reinterpret_cast<T*>(Step(dir)); }

template<class T>
NavItrT<T>& NavItrT< T >::operator++  )  [inline]
 

Definition at line 68 of file NavItrT.h.

References NavItr::Increment().

00068 { Increment(); return *this; }         

template<class T>
NavItrT<T>& NavItrT< T >::operator--  )  [inline]
 

Definition at line 69 of file NavItrT.h.

References NavItr::Decrement().

00069 { Decrement(); return *this; }         

template<class T>
NavItrT<T>& NavItrT< T >::operator= const NavItrT< T > &  from  )  [inline]
 

Definition at line 50 of file NavItrT.h.

References NavItr::Copy().

00050                                               {
00051                               Copy(from); return *this; }

template<class T>
T* NavItrT< T >::PrevPtr  )  [inline]
 

Definition at line 64 of file NavItrT.h.

References NavItr::Decrement(), and NavItrT< T >::Ptr().

00064 { Decrement(); return Ptr(); }

template<class T>
T* NavItrT< T >::Ptr  )  const [inline]
 

Definition at line 58 of file NavItrT.h.

References NavItr::Ptr().

Referenced by NavItrT< T >::JumpPtr(), NavItrT< T >::NextPtr(), and NavItrT< T >::PrevPtr().

00058                          {
00059             return reinterpret_cast<T*>(NavItr::Ptr());}


Member Data Documentation

template<class T>
std::string NavItrT< T >::fgClassName [static]
 

i.e. Xxx. Set NameSetter

Referenced by NavItrT< T >::Attach().

template<class T>
std::string NavItrT< T >::fgItrName [static]
 

i.e. NavItrT<Xxx>. Set by NameSetter

Referenced by NavItrT< T >::NavItrT(), and NavItrT< T >::~NavItrT().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:38 2010 for loon by  doxygen 1.3.9.1