DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions | Private Member Functions | Private Attributes
DcmDictEntryList Class Reference

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

List of all members.

Public Member Functions

 DcmDictEntryList ()
 constructor
 ~DcmDictEntryList ()
 destructor
void clear ()
 clears list and deletes all entries
unsigned int size () const
OFBool empty () const
DcmDictEntryListIterator begin ()
DcmDictEntryListIterator end ()
DcmDictEntryListConstIterator begin () const
DcmDictEntryListConstIterator end () const
DcmDictEntryListIterator insert (DcmDictEntryListIterator position, DcmDictEntry *entry)
 Insert a new element in the list.
void remove (DcmDictEntry *entry)
 Remove an element from the list.
void push_back (DcmDictEntry *entry)
 Append a new entry to the list.
DcmDictEntryinsertAndReplace (DcmDictEntry *entry)
 inserts an entry into the list and returns any replaced entry
DcmDictEntryfind (const DcmTagKey &key, const char *privCreator)
 find an entry in the set

Private Member Functions

 DcmDictEntryList (const DcmDictEntryList &)
 private undefined copy constructor
DcmDictEntryListoperator= (const DcmDictEntryList &)
 private undefined copy assignment operator

Private Attributes

OFList< DcmDictEntry * > list_
 list of entries

Detailed Description

an ordered list of pointers to DcmDictEntry objects


Member Function Documentation

DcmDictEntryListIterator DcmDictEntryList::begin ( )
Returns:
Iterator to the beginning of the list
DcmDictEntryListConstIterator DcmDictEntryList::begin ( ) const
Returns:
Iterator to the beginning of the list
OFBool DcmDictEntryList::empty ( ) const
Returns:
True if this list is empty
DcmDictEntryListIterator DcmDictEntryList::end ( )
Returns:
Iterator past the end of the list
DcmDictEntryListConstIterator DcmDictEntryList::end ( ) const
Returns:
Iterator past the end of the list
DcmDictEntry* DcmDictEntryList::find ( const DcmTagKey key,
const char *  privCreator 
)

find an entry in the set

Parameters:
keytag key of the entry to be searched for
privCreatorprivate creator name, may be NULL
Returns:
pointer to entry (if found), otherwise NULL
DcmDictEntryListIterator DcmDictEntryList::insert ( DcmDictEntryListIterator  position,
DcmDictEntry entry 
)

Insert a new element in the list.

Parameters:
positionPosition to insert after
entryEntry to insert
Returns:
Iterator to the new entry

inserts an entry into the list and returns any replaced entry

Parameters:
entrynew list entry
Returns:
replaced list entry or NULL

Append a new entry to the list.

Parameters:
entryThe entry to append.

Remove an element from the list.

Parameters:
entryThe entry to remove
unsigned int DcmDictEntryList::size ( ) const
Returns:
the number of elements in this list

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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027