OFFIS DCMTK
Version 3.6.0
|
an ordered list of pointers to DcmDictEntry objects More...
Public Member Functions | |
DcmDictEntryList () | |
constructor | |
~DcmDictEntryList () | |
destructor | |
void | clear () |
clears list and deletes all entries | |
DcmDictEntry * | insertAndReplace (DcmDictEntry *e) |
inserts an entry into the list and returns any replaced entry | |
DcmDictEntry * | find (const DcmTagKey &k, const char *privCreator) |
![]() | |
OFIterator< DcmDictEntry * > | insert (OFIterator< DcmDictEntry * > position, const DcmDictEntry *&x) |
inserts an element into the list before the given position. | |
void | insert (OFIterator< DcmDictEntry * > position, size_t n, const DcmDictEntry *&x) |
inserts n elements with value x into the list, before the given position. | |
OFList () | |
default constructor | |
OFList (const OFList< DcmDictEntry * > &oldList) | |
copy constructor | |
OFIterator< DcmDictEntry * > | begin () const |
returns an iterator referencing the first element in the list. | |
OFIterator< DcmDictEntry * > | 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. | |
DcmDictEntry *& | front () |
returns a reference to the first element in the list. | |
DcmDictEntry *& | back () |
returns a reference to the last element in the list. | |
void | push_front (const DcmDictEntry *&x) |
inserts before the first element of the list. | |
void | pop_front () |
removes the first element of the list. | |
void | push_back (const DcmDictEntry *&x) |
inserts after the last element of the list. | |
void | pop_back () |
removes the last element of the list. | |
OFIterator< DcmDictEntry * > | erase (OFIterator< DcmDictEntry * > position) |
removes the element at the given position from the list. | |
OFIterator< DcmDictEntry * > | erase (OFIterator< DcmDictEntry * > position, OFIterator< DcmDictEntry * > last) |
removes all elements in the range [position,last) from the list. | |
void | clear () |
removes all elements from the list. | |
void | splice (OFIterator< DcmDictEntry * > position, OFList< DcmDictEntry * > &x) |
moves the contents of list x into the current list before the given position. | |
void | splice (OFIterator< DcmDictEntry * > position, OFList< DcmDictEntry * > &x, OFIterator< DcmDictEntry * > i) |
inserts one element from list x into the current list and removes it from x | |
void | splice (OFIterator< DcmDictEntry * > position, OFList< DcmDictEntry * > &x, OFIterator< DcmDictEntry * > first, OFIterator< DcmDictEntry * > last) |
inserts elements in the range [first, last) before position and removes the elements from x | |
void | remove (const DcmDictEntry *&value) |
removes all elements from the list referred by an iterator i where *i == value | |
Private Member Functions | |
DcmDictEntryList (const DcmDictEntryList &) | |
private undefined copy constructor | |
DcmDictEntryList & | operator= (const DcmDictEntryList &) |
private undefined copy assignment operator | |
an ordered list of pointers to DcmDictEntry objects
Definition at line 97 of file dchashdi.h.
DcmDictEntry* DcmDictEntryList::insertAndReplace | ( | DcmDictEntry * | e | ) |
inserts an entry into the list and returns any replaced entry
e | new list entry |