Public Member Functions | |
DVSeriesCache () | |
Constructor. | |
virtual | ~DVSeriesCache () |
Destructor. | |
void | clear () |
reset all member variables to initial state delete all list items. | |
OFBool | empty () const |
checks whether instance 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 | reset () |
sets internal cursor to last visited 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) series | |
DVPSInstanceType | getType () const |
gets type of all instances in the series | |
ItemStruct * | getItem () const |
gets reference to current (selected) series | |
void | addItem (const OFString &uid, const DVIFhierarchyStatus status=DVIF_objectIsNew) |
adds a new item to the cache list. | |
DVIFhierarchyStatus | updateStatus () |
updates hierarchical/review status for all list items. | |
Protected Member Functions | |
OFListIterator (ItemStruct *) Iterator | |
internal cursor to current (selected) list item | |
OFListIterator (ItemStruct *) OldIterator | |
last visited position in item list | |
Protected Attributes | |
OFList< ItemStruct * > | List |
list of series | |
Classes | |
struct | ItemStruct |
Internal structure defining the list items. More... |
This is the middle level in the hierarchical cache structure. This class is used by DVStudyCache. The internal structure is a list of DVInstanceCache.
Definition at line 412 of file dvcache.h.
|
adds a new item to the cache list. sets internal cursor to new position.
Definition at line 625 of file dvcache.h. References OFList< T >::end(), and OFList< T >::push_back(). |
|
checks whether instance cache is empty
Definition at line 484 of file dvcache.h. References OFList< T >::empty(). |
|
gets number of cache entries
Definition at line 493 of file dvcache.h. References OFList< T >::size(). |
|
gets reference to current (selected) series
Definition at line 614 of file dvcache.h. References OFList< T >::end(). |
|
gets review status of the current (selected) series
Definition at line 594 of file dvcache.h. References DVInstanceCache::getItem(), and DVSeriesCache::ItemStruct::Status. |
|
gets type of all instances in the series
Definition at line 604 of file dvcache.h. References DVInstanceCache::getItem(), and DVSeriesCache::ItemStruct::Type. |
|
sets internal cursor to first position in cache list
Definition at line 526 of file dvcache.h. References OFList< T >::begin(), and OFList< T >::end(). |
|
sets internal cursor to specified position in cache list
Definition at line 504 of file dvcache.h. References OFList< T >::begin(), OFList< T >::end(), and DVInstanceCache::OFListIterator(). |
|
sets internal cursor to next position in cache list
Definition at line 537 of file dvcache.h. References OFList< T >::end(), and DVInstanceCache::OFListIterator(). |
|
checks whether an item with the specified UID exists in the cache list
Definition at line 569 of file dvcache.h. References OFList< T >::begin(), OFList< T >::end(), DVInstanceCache::OFListIterator(), and DVSeriesCache::ItemStruct::UID. |
|
sets internal cursor to last visited position in cache list
Definition at line 550 of file dvcache.h. References OFList< T >::end(), and DVInstanceCache::OFListIterator(). |
|
updates hierarchical/review status for all list items.
Definition at line 637 of file dvcache.h. References OFList< T >::begin(), OFList< T >::end(), DVSeriesCache::ItemStruct::List, DVInstanceCache::OFListIterator(), DVSeriesCache::ItemStruct::Status, and DVInstanceCache::updateStatus(). Referenced by DVStudyCache::updateStatus(). |