47 class G4TrackList_Boundary;
135 inline bool empty()
const;
137 inline iterator
begin();
138 inline iterator
end();
153 iterator
pop(iterator __first, iterator __last);
161 iterator
erase(iterator __first, iterator __last);
289 #endif // G4TRACKLIST_H
G4TrackListNode is the entity actually stored by the G4TrackList.
G4TrackList_iterator iterator
bool Holds(const G4Track *) const
return an iterator that contains an empty node use for boundary checking only
G4TrackListNode * Flag(G4Track *)
bool operator==(const _Self &__x) const
G4ReferenceCountedHandle< _ListRef > fListRef
G4TrackListNode * EraseTrackListNode(G4Track *)
G4TrackList_iterator _Self
void push_back(G4Track *__track)
G4int operator==(const G4TrackList &right) const
void DeleteTrack(G4Track *)
G4TrackListNode * CreateNode(G4Track *)
Complexity = constant.
G4ReferenceCountedHandle< _ListRef > fListRef
G4TrackList_iterator enables to go through the tracks contained by a list.
G4TrackListNode * fpPrevious
G4int operator!=(const G4TrackList &right) const
iterator insert(iterator, G4Track *)
void transferTo(G4TrackList *)
Complexity = linear in size between __first and __last.
void SetNext(G4TrackListNode *node)
void SetPrevious(G4TrackListNode *node)
G4TrackListNode(G4Track *track=0)
Default constructor.
G4TrackListNode * fpFinish
G4TrackListNode * GetPrevious()
void CheckFlag(G4TrackListNode *)
void Unhook(G4TrackListNode *)
_ListRef(G4TrackList *__list)
iterator erase(G4Track *)
G4TrackList_iterator(_Node *__x)
void Hook(G4TrackListNode *, G4TrackListNode *)
G4TrackList is used by G4ITStepManager to save G4IT tracks only.
G4TrackList * fpTrackList
G4TrackListNode fBoundary
G4TrackListNode * fpStart
void push_front(G4Track *__track)
G4TrackListNode * GetNext()
G4TrackListNode * Unflag(G4Track *)
bool operator!=(const _Self &__x) const
void SetAttachedToList(bool flag)
~G4TrackListNode()
Default destructor.