G4TrackListNode Class Reference

#include <G4TrackList.hh>


Public Member Functions

G4TrackGetTrack ()
G4TrackListNodeGetNext ()
G4TrackListNodeGetPrevious ()
bool IsAttached ()

Protected Member Functions

 G4TrackListNode (G4Track *track=0)
 ~G4TrackListNode ()
void SetNext (G4TrackListNode *node)
void SetPrevious (G4TrackListNode *node)
void SetAttachedToList (bool flag)

Protected Attributes

bool fAttachedToList
G4ReferenceCountedHandle<
_ListRef
fListRef
G4TrackfpTrack
G4TrackListNodefpPrevious
G4TrackListNodefpNext

Friends

class G4TrackList


Detailed Description

G4TrackListNode is the entity actually stored by the G4TrackList. A G4TrackListNode should belong only to one list. Also, a track should belong only to one list.

Definition at line 72 of file G4TrackList.hh.


Constructor & Destructor Documentation

G4TrackListNode::G4TrackListNode ( G4Track track = 0  )  [protected]

Default constructor

Definition at line 64 of file G4TrackList.cc.

References fAttachedToList.

00064                                                :
00065     fpTrack(track),
00066     fpPrevious(0),
00067     fpNext(0)
00068 {
00069     fAttachedToList = false;
00070 }

G4TrackListNode::~G4TrackListNode (  )  [protected]

Default destructor

Definition at line 72 of file G4TrackList.cc.

00073 {;}


Member Function Documentation

G4TrackListNode* G4TrackListNode::GetNext (  )  [inline]

Definition at line 78 of file G4TrackList.hh.

References fpNext.

Referenced by G4TrackList::EraseTrackListNode(), G4TrackList_iterator::operator++(), G4TrackList::pop(), G4TrackList::Unhook(), and G4TrackList::~G4TrackList().

00078 { return fpNext;}

G4TrackListNode* G4TrackListNode::GetPrevious (  )  [inline]

Definition at line 79 of file G4TrackList.hh.

References fpPrevious.

Referenced by G4TrackList::Hook(), G4TrackList_iterator::operator--(), and G4TrackList::Unhook().

00079 { return fpPrevious;}

G4Track* G4TrackListNode::GetTrack (  )  [inline]

Definition at line 77 of file G4TrackList.hh.

References fpTrack.

Referenced by G4TrackList::back(), G4TrackList::CheckFlag(), G4TrackList_iterator::operator *(), G4TrackList_iterator::operator->(), G4TrackList::pop_back(), and G4TrackList::~G4TrackList().

00077 { return fpTrack; }

bool G4TrackListNode::IsAttached (  )  [inline]

Definition at line 80 of file G4TrackList.hh.

References fAttachedToList.

00080 { return fAttachedToList;}

void G4TrackListNode::SetAttachedToList ( bool  flag  )  [inline, protected]

Definition at line 89 of file G4TrackList.hh.

References fAttachedToList.

00089 { fAttachedToList = flag;}

void G4TrackListNode::SetNext ( G4TrackListNode node  )  [inline, protected]

Definition at line 87 of file G4TrackList.hh.

References fpNext.

Referenced by G4TrackList::G4TrackList(), G4TrackList::Hook(), G4TrackList::transferTo(), and G4TrackList::Unhook().

00087 { fpNext = node;}

void G4TrackListNode::SetPrevious ( G4TrackListNode node  )  [inline, protected]

Definition at line 88 of file G4TrackList.hh.

References fpPrevious.

Referenced by G4TrackList::G4TrackList(), G4TrackList::Hook(), G4TrackList::transferTo(), and G4TrackList::Unhook().

00088 { fpPrevious = node;}


Friends And Related Function Documentation

friend class G4TrackList [friend]

Definition at line 74 of file G4TrackList.hh.


Field Documentation

bool G4TrackListNode::fAttachedToList [protected]

Definition at line 91 of file G4TrackList.hh.

Referenced by G4TrackList::Flag(), G4TrackList::G4TrackList(), G4TrackListNode(), IsAttached(), SetAttachedToList(), and G4TrackList::Unflag().

G4ReferenceCountedHandle<_ListRef> G4TrackListNode::fListRef [protected]

Definition at line 92 of file G4TrackList.hh.

Referenced by G4TrackList::Flag(), and G4TrackList::Unflag().

G4TrackListNode* G4TrackListNode::fpNext [protected]

Definition at line 95 of file G4TrackList.hh.

Referenced by GetNext(), and SetNext().

G4TrackListNode* G4TrackListNode::fpPrevious [protected]

Definition at line 94 of file G4TrackList.hh.

Referenced by GetPrevious(), and SetPrevious().

G4Track* G4TrackListNode::fpTrack [protected]

Definition at line 93 of file G4TrackList.hh.

Referenced by GetTrack().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:33 2013 for Geant4 by  doxygen 1.4.7