|
DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
A class to handle a study cache (list of items). More...
Classes | |
| struct | ItemStruct |
| Internal structure defining the list items. More... | |
Public Member Functions | |
| DVStudyCache () | |
| Constructor. | |
| virtual | ~DVStudyCache () |
| Destructor. | |
| void | clear () |
| reset all member variables to initial state delete all list items. | |
| OFBool | empty () const |
| checks whether study cache is empty More... | |
| Uint32 | getCount () const |
| gets number of cache entries More... | |
| OFBool | gotoItem (Uint32 idx) |
| sets internal cursor to specified position in cache list More... | |
| OFBool | gotoFirst () |
| sets internal cursor to first position in cache list More... | |
| OFBool | gotoNext () |
| sets internal cursor to next position in cache list More... | |
| OFBool | isElem (const OFString &uid) |
| checks whether an item with the specified UID exists in the cache list More... | |
| DVIFhierarchyStatus | getStatus () const |
| gets review status of the current (selected) sstudy More... | |
| ItemStruct * | getItem () const |
| gets reference to current (selected) study More... | |
| void | addItem (const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew) |
| adds a new item to the cache list. More... | |
| void | updateStatus () |
| updates hierarchical/review status for all list items. More... | |
Protected Member Functions | |
| OFListIterator (ItemStruct *) Iterator | |
| internal cursor to current (selected) list item | |
Protected Attributes | |
| OFList< ItemStruct * > | List |
| list of studies | |
A class to handle a study cache (list of items).
This is the highest level in the hierarchical cache structure. This class is used by DVInterface. The internal structure is a list of DVSeriesCache.
|
inline |
adds a new item to the cache list.
sets internal cursor to new position.
| uid | unique identifier |
| status | review status (optional) |
References OFList< T >::end(), and OFList< T >::push_back().
|
inline |
checks whether study cache is empty
References OFList< T >::empty().
|
inline |
|
inline |
gets reference to current (selected) study
References OFList< T >::end().
|
inline |
gets review status of the current (selected) sstudy
References DVStudyCache::ItemStruct::Status.
|
inline |
sets internal cursor to first position in cache list
References OFList< T >::begin(), and OFList< T >::end().
|
inline |
sets internal cursor to specified position in cache list
| idx | index position in cache list (starting with 0) |
References OFList< T >::begin(), and OFList< T >::end().
|
inline |
sets internal cursor to next position in cache list
References OFList< T >::end().
checks whether an item with the specified UID exists in the cache list
| uid | UID which should be checked |
References OFList< T >::begin(), OFList< T >::end(), and DVStudyCache::ItemStruct::UID.
|
inline |
updates hierarchical/review status for all list items.
References OFList< T >::begin(), OFList< T >::end(), DVStudyCache::ItemStruct::List, DVStudyCache::ItemStruct::Status, and DVSeriesCache::updateStatus().