#include <DCMTree_FileCache.h>
|
| virtual | ~FileCache ()=default |
| |
| virtual void | init (std::string const &filename, TagId const &id)=0 |
| | Initializes the file cache for filename filename and the DICOM tag ID.
|
| |
| virtual bool | isInitialized () const =0 |
| |
| virtual bool | getValue (boost::uint32_t idx, unsigned char *dest, boost::uint32_t bufSize)=0 |
| | Copies DICOM attribute value to buffer dest with size bufSize.
|
| |
| virtual bool | getValue (boost::uint32_t idx, unsigned char *dest, boost::uint32_t bufSize, std::string &colorModel, unsigned int &fragment)=0 |
| |
Definition at line 26 of file DCMTree_FileCache.h.
◆ ~FileCache()
| virtual DCMTree::FileCache::~FileCache |
( |
| ) |
|
|
virtualdefault |
◆ getValue() [1/2]
| virtual bool DCMTree::FileCache::getValue |
( |
boost::uint32_t |
idx, |
|
|
unsigned char * |
dest, |
|
|
boost::uint32_t |
bufSize |
|
) |
| |
|
pure virtual |
Copies DICOM attribute value to buffer dest with size bufSize.
Caller needs to prepare the buffer with the correct size. For values with multiple entries (especially multi-frame images), idx is the index of the requested value.
◆ getValue() [2/2]
| virtual bool DCMTree::FileCache::getValue |
( |
boost::uint32_t |
idx, |
|
|
unsigned char * |
dest, |
|
|
boost::uint32_t |
bufSize, |
|
|
std::string & |
colorModel, |
|
|
unsigned int & |
fragment |
|
) |
| |
|
pure virtual |
◆ init()
| virtual void DCMTree::FileCache::init |
( |
std::string const & |
filename, |
|
|
TagId const & |
id |
|
) |
| |
|
pure virtual |
Initializes the file cache for filename filename and the DICOM tag ID.
◆ isInitialized()
| virtual bool DCMTree::FileCache::isInitialized |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: