Geant4  10.00.p02
G4TrackListNode Class Reference

G4TrackListNode is the entity actually stored by the G4TrackList. More...

#include <G4TrackList.hh>

+ Collaboration diagram for G4TrackListNode:

Public Member Functions

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

Protected Member Functions

 G4TrackListNode (G4Track *track=0)
 Default constructor. More...
 
 ~G4TrackListNode ()
 Default destructor. More...
 
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.

G4TrackListNode::~G4TrackListNode ( )
protected

Default destructor.

Definition at line 72 of file G4TrackList.cc.

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().

+ Here is the caller graph for this function:

G4TrackListNode* G4TrackListNode::GetPrevious ( )
inline

Definition at line 79 of file G4TrackList.hh.

References fpPrevious.

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

+ Here is the caller graph for this function:

G4Track* G4TrackListNode::GetTrack ( )
inline

Definition at line 77 of file G4TrackList.hh.

References fpTrack.

Referenced by G4TrackList::back(), G4TrackList::CheckFlag(), G4TrackList::pop_back(), and G4TrackList::~G4TrackList().

+ Here is the caller graph for this function:

bool G4TrackListNode::IsAttached ( )
inline

Definition at line 80 of file G4TrackList.hh.

References fAttachedToList.

void G4TrackListNode::SetAttachedToList ( bool  flag)
inlineprotected

Definition at line 89 of file G4TrackList.hh.

References fAttachedToList.

void G4TrackListNode::SetNext ( G4TrackListNode node)
inlineprotected

Definition at line 87 of file G4TrackList.hh.

References fpNext.

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

+ Here is the caller graph for this function:

void G4TrackListNode::SetPrevious ( G4TrackListNode node)
inlineprotected

Definition at line 88 of file G4TrackList.hh.

References fpPrevious.

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

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4TrackList
friend

Definition at line 74 of file G4TrackList.hh.

Member Data Documentation

bool G4TrackListNode::fAttachedToList
protected
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: