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 | |
Classes | |
| struct | ItemStruct |
| Internal structure defining the list items. More... | |
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 689 of file dvcache.h.
| OFBool DVStudyCache::empty | ( | void | ) | const [inline] |
checks whether study cache is empty
Definition at line 755 of file dvcache.h.
References DVInstanceCache::List.
| Uint32 DVStudyCache::getCount | ( | ) | const [inline] |
gets number of cache entries
Definition at line 764 of file dvcache.h.
References DVInstanceCache::List.
| OFBool DVStudyCache::gotoItem | ( | Uint32 | idx | ) | [inline] |
sets internal cursor to specified position in cache list
| idx | index position in cache list (starting with 0) |
Definition at line 775 of file dvcache.h.
References DVInstanceCache::List, and DVInstanceCache::OFListIterator().
| OFBool DVStudyCache::gotoFirst | ( | ) | [inline] |
sets internal cursor to first position in cache list
Definition at line 797 of file dvcache.h.
References DVInstanceCache::List.
| OFBool DVStudyCache::gotoNext | ( | ) | [inline] |
sets internal cursor to next position in cache list
Definition at line 808 of file dvcache.h.
References DVInstanceCache::List, and DVInstanceCache::OFListIterator().
| OFBool DVStudyCache::isElem | ( | const OFString & | uid | ) | [inline] |
checks whether an item with the specified UID exists in the cache list
| uid | UID which should be checked |
Definition at line 822 of file dvcache.h.
References DVInstanceCache::List, DVInstanceCache::OFListIterator(), and DVStudyCache::ItemStruct::UID.
| DVIFhierarchyStatus DVStudyCache::getStatus | ( | ) | const [inline] |
gets review status of the current (selected) sstudy
Definition at line 847 of file dvcache.h.
References DVInstanceCache::getItem(), and DVStudyCache::ItemStruct::Status.
| ItemStruct* DVStudyCache::getItem | ( | ) | const [inline] |
gets reference to current (selected) study
Definition at line 857 of file dvcache.h.
References DVInstanceCache::List.
| void DVStudyCache::addItem | ( | const OFString & | uid, | |
| const DVIFhierarchyStatus | status = DVIF_objectIsNew | |||
| ) | [inline] |
adds a new item to the cache list.
sets internal cursor to new position.
| uid | unique identifier | |
| status | review status (optional) |
Definition at line 869 of file dvcache.h.
References DVInstanceCache::List.
| void DVStudyCache::updateStatus | ( | ) | [inline] |
updates hierarchical/review status for all list items.
Definition at line 881 of file dvcache.h.
References DVStudyCache::ItemStruct::List, DVInstanceCache::List, DVInstanceCache::OFListIterator(), DVStudyCache::ItemStruct::Status, and DVSeriesCache::updateStatus().