Public Member Functions | |
DVInstanceCache () | |
Constructor. | |
virtual | ~DVInstanceCache () |
Destructor. | |
void | clear () |
reset all member variables to initial state. | |
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 | |
int | getPos () const |
gets the file position of the current (selected) instance | |
DVIFhierarchyStatus | getStatus () const |
gets review status of the current (selected) instance | |
DVPSInstanceType | getType () const |
gets type of the instance | |
int | getImageSize () const |
gets image size of current (selected) instance | |
const char * | getFilename () const |
gets filename of current (selected) instance | |
ItemStruct * | getItem () const |
gets reference to current (selected) instance | |
void | addItem (const OFString &uid, const int pos, const DVIFhierarchyStatus status, const DVPSInstanceType type, const int size, const OFString &filename) |
adds a new item to the cache list. | |
DVIFhierarchyStatus | updateStatus () |
updates hierarchical/review status for all list items. | |
DVInstanceCache () | |
Constructor. | |
virtual | ~DVInstanceCache () |
Destructor. | |
void | clear () |
reset all member variables to initial state. | |
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 | |
int | getPos () const |
gets the file position of the current (selected) instance | |
DVIFhierarchyStatus | getStatus () const |
gets review status of the current (selected) instance | |
DVPSInstanceType | getType () const |
gets type of the instance | |
int | getImageSize () const |
gets image size of current (selected) instance | |
const char * | getFilename () const |
gets filename of current (selected) instance | |
ItemStruct * | getItem () const |
gets reference to current (selected) instance | |
void | addItem (const OFString &uid, const int pos, const DVIFhierarchyStatus status, const DVPSInstanceType type, const int size, const OFString &filename) |
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 | |
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 instances | |
OFList< ItemStruct * > | List |
list of instances |
This is the lowest level in the hierarchical cache structure. Images are handled as well as presentation states. This class is used by DVSeriesCache.
Definition at line 75 of file dvcache.h.
|
adds a new item to the cache list. sets internal cursor to new position.
|
|
adds a new item to the cache list. sets internal cursor to new position.
|
|
reset all member variables to initial state. delete all list items. |
|
reset all member variables to initial state. delete all list items. |
|
checks whether instance cache is empty
|
|
checks whether instance cache is empty
|
|
gets number of cache entries
|
|
gets number of cache entries
|
|
gets filename of current (selected) instance
Definition at line 321 of file dvcache.h. References OFString::c_str(), and DVInstanceCache::ItemStruct::Filename. |
|
gets filename of current (selected) instance
Definition at line 321 of file dvcache.h. References OFString::c_str(), and DVInstanceCache::ItemStruct::Filename. |
|
gets image size of current (selected) instance
Definition at line 311 of file dvcache.h. References DVInstanceCache::ItemStruct::ImageSize. |
|
gets image size of current (selected) instance
Definition at line 311 of file dvcache.h. References DVInstanceCache::ItemStruct::ImageSize. |
|
gets reference to current (selected) instance
|
|
gets reference to current (selected) instance
|
|
gets the file position of the current (selected) instance
Definition at line 281 of file dvcache.h. References DVInstanceCache::ItemStruct::Pos. |
|
gets the file position of the current (selected) instance
Definition at line 281 of file dvcache.h. References DVInstanceCache::ItemStruct::Pos. |
|
gets review status of the current (selected) instance
Definition at line 291 of file dvcache.h. References DVInstanceCache::ItemStruct::Status. |
|
gets review status of the current (selected) instance
Definition at line 291 of file dvcache.h. References DVInstanceCache::ItemStruct::Status. |
|
gets type of the instance
Definition at line 301 of file dvcache.h. References DVInstanceCache::ItemStruct::Type. |
|
gets type of the instance
Definition at line 301 of file dvcache.h. References DVInstanceCache::ItemStruct::Type. |
|
sets internal cursor to first position in cache list
|
|
sets internal cursor to first position in cache list
|
|
sets internal cursor to specified position in cache list
|
|
sets internal cursor to specified position in cache list
|
|
sets internal cursor to next position in cache list
|
|
sets internal cursor to next position in cache list
|
|
checks whether an item with the specified UID exists in the cache list
Definition at line 256 of file dvcache.h. References DVInstanceCache::ItemStruct::UID. |
|
checks whether an item with the specified UID exists in the cache list
Definition at line 256 of file dvcache.h. References DVInstanceCache::ItemStruct::UID. |
|
sets internal cursor to last visited position in cache list
|
|
sets internal cursor to last visited position in cache list
|
|
updates hierarchical/review status for all list items.
Definition at line 362 of file dvcache.h. References DVInstanceCache::ItemStruct::Status. |
|
updates hierarchical/review status for all list items.
Definition at line 362 of file dvcache.h. References DVInstanceCache::ItemStruct::Status. Referenced by DVSeriesCache::updateStatus(). |