OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Member Functions | List of all members
DcmDictEntryList Class Reference

an ordered list of pointers to DcmDictEntry objects More...

Inheritance diagram for DcmDictEntryList:
[legend]
Collaboration diagram for DcmDictEntryList:
[legend]

Public Member Functions

 DcmDictEntryList ()
 constructor
 
 ~DcmDictEntryList ()
 destructor
 
void clear ()
 clears list and deletes all entries
 
DcmDictEntryinsertAndReplace (DcmDictEntry *e)
 inserts an entry into the list and returns any replaced entry
 
DcmDictEntryfind (const DcmTagKey &k, const char *privCreator)
 
- Public Member Functions inherited from OFList< DcmDictEntry * >
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
 
DcmDictEntryListoperator= (const DcmDictEntryList &)
 private undefined copy assignment operator
 

Detailed Description

an ordered list of pointers to DcmDictEntry objects

Definition at line 97 of file dchashdi.h.

Member Function Documentation

DcmDictEntry* DcmDictEntryList::insertAndReplace ( DcmDictEntry e)

inserts an entry into the list and returns any replaced entry

Parameters
enew list entry
Returns
replaced list entry or NULL

The documentation for this class was generated from the following file:


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2