59template<
typename OBJECT>
61template<
typename OBJECT>
63template<
typename OBJECT>
65template<
typename OBJECT>
124template<
class OBJECT>
205 G4shared_ptr<_ListRef<G4FastList<OBJECT> > >
fListRef;
217template<
class OBJECT>
224 G4shared_ptr<_ListRef<G4FastList<OBJECT> > >
fListRef;
253 typename std::set<G4FastList<OBJECT>*>
::iterator it = fWatching.begin();
254 typename std::set<G4FastList<OBJECT>*>
::iterator end = fWatching.end();
257 (*it)->RemoveWatcher(
this);
282 fWatching.insert(fastList);
288 typename std::set<G4FastList<OBJECT>*>
::iterator it = fWatching.find(fastList);
289 if(it == fWatching.end())
return;
298 std::set<G4FastList<OBJECT>*> fWatching;
301 template<
typename WATCHER_TYPE>
309 return typeid(WATCHER_TYPE).name();
314 typedef std::set<typename G4FastList<OBJECT>::Watcher*,
345 typename WatcherSet::iterator it =
fWatchers.find(watcher);
432template<
class OBJECT>
456template<
typename OBJECT>
543template<
typename OBJECT>
628#include "G4FastList.icc"
const G4FastListNode< OBJECT > * GetNext() const
const G4FastListNode< OBJECT > * GetPrevious() const
G4FastListNode(OBJECT *track=0)
void SetNext(G4FastListNode< OBJECT > *node)
G4FastListNode< OBJECT > * fpNext
G4FastListNode< OBJECT > * GetPrevious()
const OBJECT * GetObject() const
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
void SetPrevious(G4FastListNode< OBJECT > *node)
G4FastListNode< OBJECT > * fpPrevious
void SetAttachedToList(bool flag)
G4FastListNode< OBJECT > * GetNext()
virtual G4String GetWatcherName()
Priority GetPriority() const
virtual void NotifyRemoveObject(OBJECT *, G4FastList< OBJECT > *)
virtual void NotifyAddObject(OBJECT *, G4FastList< OBJECT > *)
virtual G4String GetWatcherName()
G4FastList< OBJECT > list
void Watch(G4FastList< OBJECT > *fastList)
void StopWatching(G4FastList< OBJECT > *fastList, bool removeWatcher=true)
void NotifyDeletingList(G4FastList< OBJECT > *)
std::set< typename G4FastList< OBJECT >::Watcher *, sortWatcher< OBJECT > > WatcherSet
static void Pop(OBJECT *)
static G4FastList< OBJECT > * GetList(G4FastListNode< OBJECT > *__trackListNode)
G4FastListNode< OBJECT > * EraseListNode(OBJECT *)
G4FastListNode< OBJECT > * CreateNode(OBJECT *)
G4FastList_const_iterator< OBJECT > const_iterator
void RemoveWatcher(Watcher *watcher)
static void SetNode(OBJECT *__obj, G4FastListNode< OBJECT > *__node)
void push_front(OBJECT *__track)
G4FastListNode< OBJECT > * Flag(OBJECT *)
static G4FastList< OBJECT > * GetList(OBJECT *)
void transferTo(G4FastList< OBJECT > *)
void SetListNode(G4FastListNode< G4FastList< OBJECT > > *__node)
G4FastListNode< OBJECT > * Unflag(OBJECT *)
void Unflag(G4FastListNode< OBJECT > *__trackListNode)
void CheckFlag(G4FastListNode< OBJECT > *)
void Unhook(G4FastListNode< OBJECT > *)
const_iterator begin() const
static G4FastListNode< OBJECT > * __GetNode(OBJECT *)
G4FastListNode< G4FastList< OBJECT > > * GetListNode()
bool Holds(const OBJECT *) const
iterator insert(iterator, OBJECT *)
iterator pop(G4FastListNode< OBJECT > *)
G4FastListNode< OBJECT > fBoundary
const_iterator end() const
G4FastListNode< OBJECT > node
G4FastList_iterator< OBJECT > iterator
iterator erase(iterator __first, iterator __last)
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
static G4FastListNode< OBJECT > * GetNode(OBJECT *)
void AddWatcher(Watcher *watcher)
void DeleteObject(OBJECT *)
void Hook(G4FastListNode< OBJECT > *, G4FastListNode< OBJECT > *)
void push_back(OBJECT *__track)
iterator pop(iterator __first, iterator __last)
G4FastListNode< G4FastList< OBJECT > > * fpNodeInManyLists
_Self & operator=(const G4FastList_const_iterator &right)=default
G4bool operator!=(const _Self &__x) const
const OBJECT * operator->() const
G4FastList_const_iterator()=default
G4FastList_const_iterator< OBJECT > _Self
G4FastList_const_iterator(const G4FastList_iterator< OBJECT > &right)
G4FastList_const_iterator(const _Node *__x)
G4FastList_const_iterator(const G4FastList_const_iterator &right)=default
G4FastListNode< OBJECT > _Node
_Self & operator=(const G4FastList_iterator< OBJECT > &right)
G4bool operator==(const _Self &__x) const
const OBJECT * operator*() const
G4FastList_iterator(_Node *__x)
G4FastListNode< OBJECT > _Node
const OBJECT * operator*() const
G4FastList_iterator< OBJECT > _Self
const OBJECT * operator->() const
G4FastList_iterator()=default
G4bool operator!=(const _Self &__x) const
G4bool operator==(const _Self &__x) const
const _Node * GetNode() const
_Self & operator=(const G4FastList_iterator &right)=default
G4FastList_iterator(const G4FastList_iterator &right)=default
type_wrapper< LIST > traits_type
type_wrapper< G4ManyFastLists_iterator< typename LIST::object > > mli_traits_type
bool operator()(const typename G4FastList< OBJECT >::Watcher *left, const typename G4FastList< OBJECT >::Watcher *right) const