Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FastListNode< OBJECT > Class Template Reference

#include <G4FastList.hh>

Collaboration diagram for G4FastListNode< OBJECT >:

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

Detailed Description

template<class OBJECT>
class G4FastListNode< OBJECT >

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.

Constructor & Destructor Documentation

template<class OBJECT>
G4FastListNode< OBJECT >::~G4FastListNode ( )
template<class OBJECT>
G4FastListNode< OBJECT >::G4FastListNode ( OBJECT *  track = 0)

Default constructor

Member Function Documentation

template<class OBJECT>
void G4FastListNode< OBJECT >::DetachYourSelf ( )

Here is the caller graph for this function:

template<class OBJECT>
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::GetNext ( )
inline

Definition at line 164 of file G4FastList.hh.

165  {
166  return fpNext;
167  }
G4FastListNode< OBJECT > * fpNext
Definition: G4FastList.hh:210

Here is the caller graph for this function:

template<class OBJECT>
const G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::GetNext ( ) const
inline

Definition at line 168 of file G4FastList.hh.

169  {
170  return fpNext;
171  }
G4FastListNode< OBJECT > * fpNext
Definition: G4FastList.hh:210
template<class OBJECT>
OBJECT* G4FastListNode< OBJECT >::GetObject ( )
inline

Definition at line 154 of file G4FastList.hh.

155  {
156  return fpObject;
157  }
OBJECT * fpObject
Definition: G4FastList.hh:208

Here is the caller graph for this function:

template<class OBJECT>
const OBJECT* G4FastListNode< OBJECT >::GetObject ( ) const
inline

Definition at line 159 of file G4FastList.hh.

160  {
161  return fpObject;
162  }
OBJECT * fpObject
Definition: G4FastList.hh:208
template<class OBJECT>
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::GetPrevious ( )
inline

Definition at line 172 of file G4FastList.hh.

173  {
174  return fpPrevious;
175  }
G4FastListNode< OBJECT > * fpPrevious
Definition: G4FastList.hh:209

Here is the caller graph for this function:

template<class OBJECT>
const G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::GetPrevious ( ) const
inline

Definition at line 176 of file G4FastList.hh.

177  {
178  return fpPrevious;
179  }
G4FastListNode< OBJECT > * fpPrevious
Definition: G4FastList.hh:209
template<class OBJECT>
bool G4FastListNode< OBJECT >::IsAttached ( )
inline

Definition at line 180 of file G4FastList.hh.

181  {
182  return fAttachedToList;
183  }
bool fAttachedToList
Definition: G4FastList.hh:206
template<class OBJECT>
void G4FastListNode< OBJECT >::SetAttachedToList ( bool  flag)
inline

Definition at line 197 of file G4FastList.hh.

198  {
199  fAttachedToList = flag;
200  }
bool fAttachedToList
Definition: G4FastList.hh:206
template<class OBJECT>
void G4FastListNode< OBJECT >::SetNext ( G4FastListNode< OBJECT > *  node)
inline

Definition at line 189 of file G4FastList.hh.

190  {
191  fpNext = node;
192  }
G4FastListNode< OBJECT > * fpNext
Definition: G4FastList.hh:210
template<class OBJECT>
void G4FastListNode< OBJECT >::SetPrevious ( G4FastListNode< OBJECT > *  node)
inline

Definition at line 193 of file G4FastList.hh.

194  {
195  fpPrevious = node;
196  }
G4FastListNode< OBJECT > * fpPrevious
Definition: G4FastList.hh:209
template<class OBJECT>
void G4FastListNode< OBJECT >::UnHook ( )

Member Data Documentation

template<class OBJECT>
bool G4FastListNode< OBJECT >::fAttachedToList

Definition at line 206 of file G4FastList.hh.

template<class OBJECT>
G4shared_ptr<_ListRef<G4FastList<OBJECT> > > G4FastListNode< OBJECT >::fListRef

Definition at line 207 of file G4FastList.hh.

template<class OBJECT>
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::fpNext

Definition at line 210 of file G4FastList.hh.

template<class OBJECT>
OBJECT* G4FastListNode< OBJECT >::fpObject

Definition at line 208 of file G4FastList.hh.

template<class OBJECT>
G4FastListNode<OBJECT>* G4FastListNode< OBJECT >::fpPrevious

Definition at line 209 of file G4FastList.hh.


The documentation for this class was generated from the following file: