13 #ifndef DCM_TREE_MFPIXEL_TAG_H
14 #define DCM_TREE_MFPIXEL_TAG_H
19 #include <boost/shared_array.hpp>
20 #include <boost/shared_ptr.hpp>
42 std::string
const & filename,
43 boost::uint32_t value_count,
44 boost::uint32_t value_size);
66 boost::uint32_t
valueCount()
const {
return value_count_; }
67 boost::uint32_t
valueSize()
const {
return value_size_; }
68 std::string
const &
filename()
const {
return filename_; }
71 boost::uint32_t value_count_;
72 boost::uint32_t value_size_;
73 std::string filename_;
boost::uint32_t getValueSize() const override
get the total size in bytes of the data of the values
virtual file_cache_t createFileCache() const =0
boost::uint32_t numberOfValues() const override
get the number of values of this tag
virtual pixel_cont_t getFrame(boost::uint32_t idx, std::string &colorModel, unsigned int &fragment)=0
virtual pixel_cont_t getFrame(boost::uint32_t idx, FileCache *cache)=0
virtual pixel_cont_t getFrame(boost::uint32_t idx)=0
boost::uint32_t valueSize() const
boost::uint32_t valueCount() const
DCMTree::pixel_cont_t pixel_cont_t
boost::shared_ptr< FileCache > file_cache_t
TagPtr copy() const override=0
make a deep-copy of this
virtual boost::uint32_t frameSize() const
virtual boost::uint32_t numberOfFrames() const
std::string const & filename() const
boost::uint32_t getValueSize(unsigned int) const override
get the size in bytes of the data of the value-object with index idx throws if the index is out of ra...
MFPixelTag(TagInfo const &tagInfo, std::string const &filename, boost::uint32_t value_count, boost::uint32_t value_size)
virtual pixel_cont_t getFrame(boost::uint32_t idx, std::string &colorModel, unsigned int &fragment, DCMTree::FileCache *cache)=0
Class to carry meta-information about a specific tag.
Class to represent one dicom tag.
class to dump a DCMTree dicom message into a human readable file this class could be used as a starte...
boost::shared_array< unsigned char > pixel_cont_t
boost::shared_ptr< Tag > TagPtr
shared-pointer to tag