|
| PixelDataTag (DCMTree::TagInfo const &tagInfo) |
|
virtual pixel_cont_t | getUncompressedPixelData (size_t &sizeInBytes, std::string &colorModel) const =0 |
|
| Tag () |
| Constructor. More...
|
|
| Tag (const TagInfo &info) |
| Constructor info defines the data type, name, etc., of this tag. More...
|
|
| Tag (const Tag &other) |
| Copy constructor that uses operator=. More...
|
|
| Tag (const Tag &other, unsigned short slot) |
| Copy constructor for private tags with a given private slot. More...
|
|
| ~Tag () override |
| Destructor. More...
|
|
Tag & | operator= (const Tag &other) |
| Deep copies all values from other to this. More...
|
|
bool | operator== (const Tag &other) const |
| Compares the tag with all contained values for equality. More...
|
|
bool | operator!= (const Tag &other) const |
|
bool | isEqual (const Tag &other, double tolerance=0) const |
| Compares the tag with all contained values for equality; use tolerance for float value comparison. More...
|
|
virtual TagPtr | copy () const |
| Makes a deep copy of this. More...
|
|
const TagInfo & | info () const |
| Returns the tag information (type, etc.) of this tag. More...
|
|
const TreePtrVector & | sequenceItems () const |
| Accesses the probably embedded sequences of this tag. More...
|
|
TreePtrVector & | sequenceItems () |
| Accesses the probably embedded sequences of this tag. More...
|
|
boost::uint32_t | numberOfSequenceItems () const |
| Returns the number of embedded sequence items of this tag. More...
|
|
void | dropSequenceItems () |
| Drops all sequences of this tag. More...
|
|
void | dropSequenceItem (unsigned idx) |
| Drop the idx sequences of this tag. More...
|
|
virtual boost::uint32_t | numberOfValues () const |
| Returns the number of values of this tag. More...
|
|
void | dropValues () |
| Drop all values of this tag. More...
|
|
bool | isEmpty () const |
| Returns true if this tag has no sequences and no values. More...
|
|
bool | isSequence () const |
| Returns true if the VR of this tag is SQ. More...
|
|
bool | isNull (unsigned idx) const |
| Checks whether the values with index idx is null. More...
|
|
bool | isSequenceItemNull (unsigned idx) const |
| Checks whether the sequence with index idx is null. More...
|
|
void | setInfo (const TagInfo &info) |
| Sets the tag info for this tag. More...
|
|
void | addSequenceItem (const TreePtr &sequence) |
| Adds the given TreePtr as a sequence to this tag. More...
|
|
TreePtr & | addSequenceItem () |
| Adds a sequence to this tag and returns a reference to it for further processing. More...
|
|
void | setSequenceItem (const TreePtr &sequence, unsigned idx=0) |
| Sets the sequence with index idx . More...
|
|
std::string | toString (unsigned int idx, StringTrimMode trimMode=DO_NOT_TRIM) const |
| Returns the value of tag value idx as a string. More...
|
|
std::string | toString (StringTrimMode trimMode=DO_NOT_TRIM) const |
| Converts the complete tag to a string. More...
|
|
void | setValue (std::string value, unsigned int idx=0) |
| Sets the value of tag value idx as string. More...
|
|
void | addValue (std::string value) |
| Converts string to one or more values and add them to this tag. More...
|
|
Date | toDate (unsigned int idx=0) const |
| Returns the value of tag value idx as date. More...
|
|
void | setValue (Date value, unsigned int idx=0) |
| Sets the value of tag value idx as date. More...
|
|
void | addValue (Date value) |
| Adds a value of this tag as date. More...
|
|
Time | toTime (unsigned int idx=0) const |
| Returns the value of tag value idx as time. More...
|
|
void | setValue (Time value, unsigned int idx=0) |
| Sets thevalue of tag value idx as time. More...
|
|
void | addValue (Time value) |
| Adds a value of this tag as time. More...
|
|
DateTime | toDateTime (unsigned int idx=0) const |
| Returns the value of tag value idx as datetime. More...
|
|
void | setValue (DateTime value, unsigned int idx=0) |
| Sets the value of tag value idx as datetime. More...
|
|
void | addValue (DateTime value) |
| Adds a value of this tag as datetime. More...
|
|
float | toFloat (unsigned int idx=0) const |
| Returns the value of tag value idx as float. More...
|
|
void | setValue (float value, unsigned int idx=0) |
| Sets the value of tag value idx as float. More...
|
|
void | addValue (float value) |
| Adds a value of this tag as float. More...
|
|
double | toDouble (unsigned int idx=0) const |
| Returns the value of tag value idx as double. More...
|
|
void | setValue (double value, unsigned int idx=0) |
| Sets the value of tag value idx as double. More...
|
|
void | addValue (double value) |
| Adds a value of this tag as double. More...
|
|
int | toInt (unsigned int idx=0) const |
| Returns the value of tag value idx as int. More...
|
|
void | setValue (int value, unsigned int idx=0) |
| Sets the value of tag value idx as int. More...
|
|
void | addValue (int value) |
| Adds a value of this tag as int. More...
|
|
unsigned int | toUInt (unsigned int idx=0) const |
| Returns the value of tag-value idx as unsigned int. More...
|
|
void | setValue (unsigned int value, unsigned int idx=0) |
| Sets the value of tag value idx as unsigned int. More...
|
|
void | addValue (unsigned int value) |
| Adds a value of this tag as unsigned int. More...
|
|
short int | toShort (unsigned int idx=0) const |
| Returns the value of tag value idx as short. More...
|
|
void | setValue (short int value, unsigned int idx=0) |
| Sets the value of tag value idx as short. More...
|
|
void | addValue (short int value) |
| Adds a value of this tag as short. More...
|
|
unsigned short | toUShort (unsigned int idx=0) const |
| Returns the value of tag value idx as unsigned short. More...
|
|
void | setValue (unsigned short int value, unsigned int idx=0) |
| Sets the value of tag value idx as unsigned short. More...
|
|
void | addValue (unsigned short int value) |
| Adds a value of this tag as unsigned short. More...
|
|
const Value & | getValue (unsigned int idx=0) const |
| Returns the value object with index idx . More...
|
|
void | setValue (const Value &value, unsigned int idx=0) |
| Sets the value object with index idx . More...
|
|
virtual Value & | addValue () |
| Adds a value and return a reference for further processing. More...
|
|
virtual boost::uint32_t | getValueSize (unsigned int idx) const |
| Returns the size in bytes of the data of the value-object with index idx . More...
|
|
virtual boost::uint32_t | getValueSize () const |
| Returns the total size in bytes of the data of the values. More...
|
|
virtual void | fromStream (std::istream &in, bool readName, size_t maxSize=0) |
| Extracts this instance from the given stream. More...
|
|
virtual void | toStream (std::ostream &out, bool writeName) const |
| Copies this instance recursively into the given stream. More...
|
|
int | compare (const Tag &tag, double tolerance=0.0001) const |
| Compares this to tag and returns -1 if this < tag , 0 if this == tag , and 1 if this > tag . More...
|
|
void | setVr (Vr vr) |
| Sets a new value representation if the VR is unknown. More...
|
|
void | serializeX (DCMTree_Serialization::Sink &sink) const override |
| Writes data of this object to sink . More...
|
|
void | deserializeX (DCMTree_Serialization::Source &source) override |
| Overwrites data of this object with data from source . More...
|
|
virtual | ~Serializable () |
| Empty. More...
|
|
virtual | ~Deserializable () |
| Empty. More...
|
|