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 | |
Uint32 | getCount () const |
gets number of cache entries | |
OFBool | gotoItem (Uint32 idx) |
sets internal cursor to specified position in cache list | |
OFBool | gotoFirst () |
sets internal cursor to first position in cache list | |
OFBool | gotoNext () |
sets internal cursor to next position in cache list | |
OFBool | isElem (const OFString &uid) |
checks whether an item with the specified UID exists in the cache list | |
DVIFhierarchyStatus | getStatus () const |
gets review status of the current (selected) sstudy | |
ItemStruct * | getItem () const |
gets reference to current (selected) study | |
void | addItem (const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew) |
adds a new item to the cache list. | |
void | updateStatus () |
updates hierarchical/review status for all list items. | |
Protected Member Functions | |
OFListIterator (ItemStruct *) Iterator | |
internal cursor to current (selected) list item | |
Protected Attributes | |
OFList< ItemStruct * > | List |
list of studies |
This is the highest level in the hierarchical cache structure. This class is used by DVInterface. The internal structure is a list of DVSeriesCache.
Definition at line 692 of file dvcache.h.
|
adds a new item to the cache list. sets internal cursor to new position.
References OFList< T >::end(), and OFList< T >::push_back(). |
|
checks whether study cache is empty
References OFList< T >::empty(). |
|
gets number of cache entries
References OFList< T >::size(). |
|
gets reference to current (selected) study
References OFList< T >::end(). |
|
gets review status of the current (selected) sstudy
References DVInstanceCache::getItem(), and DVStudyCache::ItemStruct::Status. |
|
sets internal cursor to first position in cache list
References OFList< T >::begin(), and OFList< T >::end(). |
|
sets internal cursor to specified position in cache list
References OFList< T >::begin(), OFList< T >::end(), and DVInstanceCache::OFListIterator(). |
|
sets internal cursor to next position in cache list
References OFList< T >::end(), and DVInstanceCache::OFListIterator(). |
|
checks whether an item with the specified UID exists in the cache list
References OFList< T >::begin(), OFList< T >::end(), DVInstanceCache::OFListIterator(), and DVStudyCache::ItemStruct::UID. |
|
updates hierarchical/review status for all list items.
References OFList< T >::begin(), OFList< T >::end(), DVStudyCache::ItemStruct::List, DVInstanceCache::OFListIterator(), DVStudyCache::ItemStruct::Status, and DVSeriesCache::updateStatus(). |