57 template<
class OBJECT>
59 template<
class OBJECT>
61 template<
typename OBJECT>
63 template<
typename OBJECT>
65 template<
typename OBJECT>
67 template<
typename OBJECT>
69 template<
class OBJECT>
81 template <
typename T>
126 template<
class OBJECT>
207 G4shared_ptr<_ListRef<G4FastList<OBJECT> > >
fListRef;
219 template<
class OBJECT>
226 G4shared_ptr<_ListRef<G4FastList<OBJECT> > >
fListRef;
255 typename std::set<G4FastList<OBJECT>*>
::iterator it = fWatching.begin();
256 typename std::set<G4FastList<OBJECT>*>
::iterator end = fWatching.end();
259 (*it)->RemoveWatcher(
this);
284 fWatching.insert(fastList);
290 typename std::set<G4FastList<OBJECT>*>
::iterator it = fWatching.find(fastList);
291 if(it == fWatching.end())
return;
300 std::set<G4FastList<OBJECT>*> fWatching;
303 template<
typename WATCHER_TYPE>
311 return typeid(WATCHER_TYPE).
name();
316 typedef std::set<typename G4FastList<OBJECT>::Watcher*,
347 typename WatcherSet::iterator it =
fWatchers.find(watcher);
364 inline bool empty()
const;
377 bool Holds(
const OBJECT*)
const;
383 void remove(OBJECT*);
410 static void Pop(OBJECT*);
434 template<
class OBJECT>
458 template<
typename OBJECT>
550 template<
typename OBJECT>
634 #include "G4FastList.icc"
636 #endif // G4FastList_H
void SetAttachedToList(bool flag)
G4FastList_const_iterator< OBJECT > _Self
G4FastListNode< OBJECT > * GetNext()
void SetPrevious(G4FastListNode< OBJECT > *node)
G4FastListNode< OBJECT > * Flag(OBJECT *)
G4FastList_iterator< OBJECT > iterator
G4FastList_const_iterator< OBJECT > const_iterator
const OBJECT * GetObject() const
G4FastListNode< G4FastList< OBJECT > > * fpNodeInManyLists
G4FastListNode< OBJECT > node
static G4FastListNode< OBJECT > * GetNode(OBJECT *)
G4FastListNode< OBJECT > * CreateNode(OBJECT *)
G4FastList_const_iterator(const _Node *__x)
bool operator!=(const _Self &__x) const
G4FastListNode< G4FastList< OBJECT > > * GetListNode()
virtual void NotifyRemoveObject(OBJECT *, G4FastList< OBJECT > *)
const _Node * GetNode() const
const OBJECT * operator*() const
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
G4FastList_const_iterator()
std::set< typename G4FastList< OBJECT >::Watcher *, sortWatcher< OBJECT > > WatcherSet
G4FastListNode< OBJECT > * GetPrevious()
G4FastList_const_iterator(const G4FastList_iterator< OBJECT > &right)
void AddWatcher(Watcher *watcher)
static void Pop(OBJECT *)
virtual G4String GetWatcherName()
type_wrapper< G4ManyFastLists_iterator< typename LIST::object > > mli_traits_type
void DeleteObject(OBJECT *)
G4FastListNode< OBJECT > _Node
void CheckFlag(G4FastListNode< OBJECT > *)
void Hook(G4FastListNode< OBJECT > *, G4FastListNode< OBJECT > *)
bool operator()(const typename G4FastList< OBJECT >::Watcher *left, const typename G4FastList< OBJECT >::Watcher *right) const
G4FastListNode< OBJECT > _Node
virtual G4String GetWatcherName()
virtual void NotifyAddObject(OBJECT *, G4FastList< OBJECT > *)
static G4FastListNode< OBJECT > * __GetNode(OBJECT *)
bool operator==(const _Self &__x) const
void NotifyDeletingList(G4FastList< OBJECT > *)
const OBJECT * operator->() const
G4FastList_iterator(const G4FastList_iterator &right)
void SetListNode(G4FastListNode< G4FastList< OBJECT > > *__node)
void SetNext(G4FastListNode< OBJECT > *node)
const G4FastListNode< OBJECT > * GetPrevious() const
type_wrapper< LIST > traits_type
bool Holds(const OBJECT *) const
const G4FastListNode< OBJECT > * GetNext() const
G4FastListNode< OBJECT > * Unflag(OBJECT *)
void push_back(OBJECT *__track)
void transferTo(G4FastList< OBJECT > *)
static G4FastList< OBJECT > * GetList(OBJECT *)
G4FastListNode< OBJECT > * fpNext
G4FastListNode< OBJECT > * fpPrevious
void push_front(OBJECT *__track)
Priority GetPriority() const
void RemoveWatcher(Watcher *watcher)
void StopWatching(G4FastList< OBJECT > *fastList, bool removeWatcher=true)
G4FastListNode< OBJECT > * EraseListNode(OBJECT *)
G4FastListNode< OBJECT > fBoundary
G4FastList_const_iterator(const G4FastList_const_iterator &right)
void Watch(G4FastList< OBJECT > *fastList)
G4FastListNode(OBJECT *track=0)
static void SetNode(OBJECT *__obj, G4FastListNode< OBJECT > *__node)
G4FastList_iterator< OBJECT > _Self
void Unhook(G4FastListNode< OBJECT > *)
bool operator!=(const _Self &__x) const
G4shared_ptr< _ListRef< G4FastList< OBJECT > > > fListRef
iterator insert(iterator, OBJECT *)
G4FastList_iterator(_Node *__x)
G4FastList< OBJECT > list
bool operator==(const _Self &__x) const