DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DcmDictEntryList Class Reference

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

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. More...
 
void remove (DcmDictEntry *entry)
 Remove an element from the list. More...
 
void push_back (DcmDictEntry *entry)
 Append a new entry to the list. More...
 
DcmDictEntryinsertAndReplace (DcmDictEntry *entry)
 inserts an entry into the list and returns any replaced entry More...
 
DcmDictEntryfind (const DcmTagKey &key, const char *privCreator)
 find an entry in the set More...
 

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
DcmDictEntry* DcmDictEntryList::insertAndReplace ( DcmDictEntry entry)

inserts an entry into the list and returns any replaced entry

Parameters
entrynew list entry
Returns
replaced list entry or NULL
void DcmDictEntryList::push_back ( DcmDictEntry entry)

Append a new entry to the list.

Parameters
entryThe entry to append.
void DcmDictEntryList::remove ( DcmDictEntry entry)

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 Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8