Overture
Version 25
|
#include <ReferenceCountingList.h>
Public Member Functions | |
ReferenceCountingList () | |
~ReferenceCountingList () | |
void | add (ReferenceCounting *val, const int &identifier=-1) |
int | remove (ReferenceCounting *val) |
ReferenceCounting * | find (int identifier) const |
Public Attributes | |
ReferenceCountingItem * | start |
ReferenceCountingItem * | end |
ReferenceCountingList::~ReferenceCountingList | ( | ) |
References ReferenceCountingItem::next, and start.
void ReferenceCountingList::add | ( | ReferenceCounting * | val, |
const int & | identifier = -1 |
||
) |
References end, ReferenceCountingItem::next, NULL, and start.
Referenced by Mapping::get().
ReferenceCounting * ReferenceCountingList::find | ( | int | identifier | ) | const |
References ReferenceCountingItem::id, ReferenceCountingItem::next, NULL, and ReferenceCountingItem::val.
int ReferenceCountingList::remove | ( | ReferenceCounting * | val | ) |
References FALSE, ReferenceCountingItem::next, NULL, start, TRUE, and ReferenceCountingItem::val.
ReferenceCountingItem* ReferenceCountingList::end |
Referenced by add(), and ReferenceCountingList().
ReferenceCountingItem* ReferenceCountingList::start |
Referenced by add(), ReferenceCountingList(), remove(), and ~ReferenceCountingList().