Geant4
10.02.p02
|
G4FastListNode is the entity actually stored by the G4FastList. More...
#include <G4FastList.hh>
Public Member Functions | |
~G4FastListNode () | |
OBJECT * | GetObject () |
const OBJECT * | GetObject () const |
G4FastListNode< OBJECT > * | GetNext () |
const G4FastListNode< OBJECT > * | GetNext () const |
G4FastListNode< OBJECT > * | GetPrevious () |
const G4FastListNode< OBJECT > * | GetPrevious () const |
bool | IsAttached () |
G4FastListNode (OBJECT *track=0) | |
Default constructor. More... | |
void | SetNext (G4FastListNode< OBJECT > *node) |
void | SetPrevious (G4FastListNode< OBJECT > *node) |
void | SetAttachedToList (bool flag) |
void | UnHook () |
void | DetachYourSelf () |
Public Attributes | |
bool | fAttachedToList |
G4shared_ptr< _ListRef < G4FastList< OBJECT > > > | fListRef |
OBJECT * | fpObject |
G4FastListNode< OBJECT > * | fpPrevious |
G4FastListNode< OBJECT > * | fpNext |
Private Types | |
typedef type_wrapper< OBJECT > | ObjectW |
typedef G4FastList< typename ObjectW::type > | LIST |
typedef type_wrapper < G4FastList< OBJECT > > | ListW |
typedef type_wrapper < G4ManyFastLists< OBJECT > > | ManyListsW |
typedef type_wrapper < G4ManyFastLists_iterator < OBJECT > > | ManyListsIteratorW |
G4FastListNode is the entity actually stored by the G4FastList.
A G4FastListNode should belong only to one list. Also, an object should belong only to one list.
Definition at line 127 of file G4FastList.hh.
|
private |
Definition at line 130 of file G4FastList.hh.
|
private |
Definition at line 132 of file G4FastList.hh.
|
private |
Definition at line 136 of file G4FastList.hh.
|
private |
Definition at line 134 of file G4FastList.hh.
|
private |
Definition at line 129 of file G4FastList.hh.
G4FastListNode< OBJECT >::~G4FastListNode | ( | ) |
G4FastListNode< OBJECT >::G4FastListNode | ( | OBJECT * | track = 0 | ) |
Default constructor.
void G4FastListNode< OBJECT >::DetachYourSelf | ( | ) |
|
inline |
Definition at line 164 of file G4FastList.hh.
Referenced by G4FastList< G4Track >::EraseListNode(), G4FastList_iterator< OBJECT >::operator++(), and G4FastList_const_iterator< OBJECT >::operator++().
|
inline |
Definition at line 168 of file G4FastList.hh.
|
inline |
Definition at line 154 of file G4FastList.hh.
Referenced by G4FastList< G4Track >::CheckFlag(), G4FastList_const_iterator< OBJECT >::operator*(), G4ManyFastLists_iterator< OBJECT >::operator--(), G4FastList_const_iterator< OBJECT >::operator->(), and G4ManyFastLists< G4Track >::RemoveLists().
|
inline |
Definition at line 159 of file G4FastList.hh.
|
inline |
Definition at line 172 of file G4FastList.hh.
Referenced by G4FastList< G4FastList< G4Track > >::back(), G4FastList_iterator< OBJECT >::operator--(), and G4FastList_const_iterator< OBJECT >::operator--().
|
inline |
Definition at line 176 of file G4FastList.hh.
|
inline |
Definition at line 180 of file G4FastList.hh.
|
inline |
Definition at line 197 of file G4FastList.hh.
|
inline |
Definition at line 189 of file G4FastList.hh.
|
inline |
Definition at line 193 of file G4FastList.hh.
void G4FastListNode< OBJECT >::UnHook | ( | ) |
bool G4FastListNode< OBJECT >::fAttachedToList |
Definition at line 206 of file G4FastList.hh.
Referenced by G4FastList< G4Track >::Flag(), G4FastListNode< G4FastList< G4Track > >::IsAttached(), and G4FastListNode< G4FastList< G4Track > >::SetAttachedToList().
G4shared_ptr<_ListRef<G4FastList<OBJECT> > > G4FastListNode< OBJECT >::fListRef |
Definition at line 207 of file G4FastList.hh.
Referenced by G4FastList< G4Track >::CheckFlag(), and G4FastList< G4Track >::Flag().
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::fpNext |
Definition at line 210 of file G4FastList.hh.
Referenced by G4FastListNode< G4FastList< G4Track > >::GetNext(), and G4FastListNode< G4FastList< G4Track > >::SetNext().
OBJECT* G4FastListNode< OBJECT >::fpObject |
Definition at line 208 of file G4FastList.hh.
Referenced by G4FastListNode< G4Track >::DetachYourSelf(), and G4FastListNode< G4FastList< G4Track > >::GetObject().
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::fpPrevious |
Definition at line 209 of file G4FastList.hh.
Referenced by G4FastListNode< G4FastList< G4Track > >::GetPrevious(), and G4FastListNode< G4FastList< G4Track > >::SetPrevious().