A class to handle a series cache (list of items).
More...
A class to handle a series cache (list of items).
This is the middle level in the hierarchical cache structure. This class is used by DVStudyCache. The internal structure is a list of DVInstanceCache.
§ addItem()
void DVSeriesCache::addItem |
( |
const OFString & |
uid, |
|
|
const DVIFhierarchyStatus |
status = DVIF_objectIsNew |
|
) |
| |
|
inline |
§ empty()
OFBool DVSeriesCache::empty |
( |
void |
| ) |
const |
|
inline |
checks whether instance cache is empty
- Returns
- OFTrue if cache is empty, OFFalse otherwise
References OFList< T >::empty().
§ getCount()
Uint32 DVSeriesCache::getCount |
( |
| ) |
const |
|
inline |
§ getItem()
§ getStatus()
DVIFhierarchyStatus DVSeriesCache::getStatus |
( |
| ) |
const |
|
inline |
§ getType()
DVPSInstanceType DVSeriesCache::getType |
( |
| ) |
const |
|
inline |
§ gotoFirst()
OFBool DVSeriesCache::gotoFirst |
( |
| ) |
|
|
inline |
§ gotoItem()
OFBool DVSeriesCache::gotoItem |
( |
Uint32 |
idx | ) |
|
|
inline |
sets internal cursor to specified position in cache list
- Parameters
-
idx | index position in cache list (starting with 0) |
- Returns
- OFTrue if successful, OFFalse if 'idx' is invalid
§ gotoNext()
OFBool DVSeriesCache::gotoNext |
( |
| ) |
|
|
inline |
sets internal cursor to next position in cache list
- Returns
- OFTrue if successful, OFFalse if new position is invalid
References OFList< T >::end().
§ isElem()
checks whether an item with the specified UID exists in the cache list
- Parameters
-
uid | UID which should be checked |
- Returns
- OFTrue if such an item exists, OFFalse otherwise
§ reset()
OFBool DVSeriesCache::reset |
( |
| ) |
|
|
inline |
sets internal cursor to last visited position in cache list
- Returns
- OFTrue if successful, OFFalse if last visited position was invalid or the last one in the list
§ updateStatus()
DVIFhierarchyStatus DVSeriesCache::updateStatus |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- dcmpstat/include/dcmtk/dcmpstat/dvcache.h