Inheritance diagram for OFList< T >:

Public Member Functions | |
| OFIterator< T > | insert (OFIterator< T > position, const T &x) |
| inserts an element into the list before the given position. | |
| OFList () | |
| default constructor | |
| OFList (const OFList< T > &oldList) | |
| copy constructor | |
| OFIterator< T > | begin () const |
| returns an iterator referencing the first element in the list. | |
| OFIterator< T > | end () const |
| returns an iterator which points to the past-to-end element of the list. | |
| OFBool | empty () const |
| returns true if list is empty. | |
| size_t | size () const |
| returns number of elements in the list. | |
| T & | front () |
| returns a reference to the first element in the list. | |
| T & | back () |
| returns a reference to the last element in the list. | |
| void | push_front (const T &x) |
| inserts before the first element of the list. | |
| void | pop_front () |
| removes the first element of the list. | |
| void | push_back (const T &x) |
| inserts after the last element of the list. | |
| void | pop_back () |
| removes the last element of the list. | |
| void | insert (OFIterator< T > position, size_t n, const T &x) |
| inserts n elements with value x into the list, before the given position. | |
| OFIterator< T > | erase (OFIterator< T > position) |
| removes the element at the given position from the list. | |
| OFIterator< T > | erase (OFIterator< T > position, OFIterator< T > last) |
| removes all elements in the range [position,last) from the list. | |
| void | clear () |
| removes all elements from the list. | |
| void | splice (OFIterator< T > position, OFList< T > &x) |
| moves the contents of list x into the current list before the given position. | |
| void | splice (OFIterator< T > position, OFList< T > &x, OFIterator< T > i) |
| inserts one element from list x into the current list and removes it from x | |
| void | splice (OFIterator< T > position, OFList< T > &x, OFIterator< T > first, OFIterator< T > last) |
| inserts elements in the range [first, last) before position and removes the elements from x | |
| void | remove (const T &value) |
| removes all elements from the list referred by an iterator i where *i == value | |
Private Member Functions | |
| void | copy (const OFList< T > &oldList) |
| inserts a copy of the given list into the current list. | |
| void | recalcListSize () |
| counts the elements in the list and adjusts the listSize member variable. | |
| OFList< T > & | operator= (const OFList< T > &arg) |
| private undefined copy assignment operator | |
The interface is a subset of the STL list class.
Definition at line 284 of file oflist.h.
|
|||||||||
|
returns a reference to the last element in the list. May only be called if list is non-empty.
|
|
|||||||||
|
|||||||||
|
removes all elements from the list. All iterators pointing to elements in the list become invalid. Reimplemented in DcmDictEntryList. Definition at line 424 of file oflist.h. Referenced by DVStudyCache::clear(), DVSeriesCache::clear(), and DVInstanceCache::clear(). |
|
||||||||||
|
inserts a copy of the given list into the current list.
Definition at line 302 of file oflist.h. Referenced by OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::OFList(). |
|
||||||||||
|
returns true if list is empty.
Definition at line 347 of file oflist.h. Referenced by DVStudyCache::empty(), DVSeriesCache::empty(), and DVInstanceCache::empty(). |
|
|||||||||
|
||||||||||||||||
|
removes all elements in the range [position,last) from the list. All iterators pointing to the removed elements become invalid.
|
|
||||||||||
|
removes the element at the given position from the list. All iterators pointing to the removed element become invalid.
Definition at line 404 of file oflist.h. Referenced by DVStudyCache::clear(), DVSeriesCache::clear(), DVInstanceCache::clear(), OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::erase(), OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::pop_back(), OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::pop_front(), OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::remove(), and DcmRLEEncoder::~DcmRLEEncoder(). |
|
|||||||||
|
returns a reference to the first element in the list. May only be called if list is non-empty.
|
|
||||||||||||||||||||
|
inserts n elements with value x into the list, before the given position.
|
|
||||||||||||||||
|
inserts an element into the list before the given position.
Definition at line 292 of file oflist.h. Referenced by OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::copy(), OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::push_back(), and OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::push_front(). |
|
|||||||||
|
removes the last element of the list. May only be called if list is non-empty. All iterators pointing to the removed element become invalid. |
|
|||||||||
|
removes the first element of the list. May only be called if list is non-empty. All iterators pointing to the removed element become invalid. |
|
||||||||||
|
inserts after the last element of the list.
Definition at line 381 of file oflist.h. Referenced by DVStudyCache::addItem(), DVSeriesCache::addItem(), DVInstanceCache::addItem(), DVPSStoredPrint_PList::insert(), DVPSPresentationLUT_PList::insert(), and DcmRLEEncoder::move(). |
|
||||||||||
|
inserts before the first element of the list.
|
|
||||||||||
|
removes all elements from the list referred by an iterator i where *i == value
|
|
|||||||||
|
||||||||||||||||||||||||
|
inserts elements in the range [first, last) before position and removes the elements from x
|
|
||||||||||||||||||||
|
inserts one element from list x into the current list and removes it from x
|
|
||||||||||||||||
|
moves the contents of list x into the current list before the given position.
Definition at line 431 of file oflist.h. Referenced by OFList< DcmKeyValuePair< DcmPresentationContextList * > * >::splice(). |