![]() |
Simulacrum
1.2
|
#include <dcmtag.h>


Public Member Functions | |
| DCMTag () | |
| DCMTag (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH, char, char, const char *, char *, DICOM_LONG_LENGTH) | |
| DCMTag (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) | |
| DCMTag (const DCMTag &) | |
| ~DCMTag () | |
| DCMTag & | operator= (const DCMTag &) |
| DCMTag & | operator= (const dcm_info_store &) |
| bool | operator== (const DCMTag &) const |
| bool | operator< (const DCMTag &) const |
| DICOM_ID_PART_LENGTH | getID1 () const |
| DICOM_ID_PART_LENGTH | getID2 () const |
| DICOM_ID_LENGTH | getID () const |
| const std::string | getIDstr () const |
| const char * | getVR () const |
| const char * | getName () const |
| const char * | getData () const |
| DICOM_LONG_LENGTH | getDataLength () const |
| DICOM_LONG_LENGTH | getDataLengthUnpadded () const |
| DCMTag & | getTag (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) |
| DCMTag & | getTag (DICOM_ID_LENGTH) |
| DCMTag & | getTagDFS (DICOM_ID_LENGTH) |
| DCMTag & | getTagDFS (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) |
| tagset_t & | getTags () |
| bool | hasTag (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) |
| bool | hasTag (DICOM_ID_LENGTH) |
| bool | hasTagDFS (DICOM_ID_LENGTH) |
| bool | hasTagDFS (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) |
| unsigned | hasTags (bool ignoredelimeters=false) const |
| bool | hasError () const |
| DCMTag & | getParent () |
| std::string | getPath () |
| bool | pathExists (const std::string &) |
| DCMTag & | getByPath (const std::string &) |
| bool | dataPresent () const |
| bool | isMeta () const |
| bool | isNULL (bool=false) const |
| bool | isTop () const |
| bool | isInt () const |
| bool | isFloat () const |
| bool | isString () const |
| bool | isArray () const |
| bool | isPrivate () const |
| bool | shouldSave () const |
| std::string | getElement (unsigned short, bool toend=false) const |
| SVector | toVector () const |
| void | fromVector (const SVector &) |
| int64_t | toInt () const |
| int64_t | toInt (unsigned) const |
| double | toFloat () const |
| void | toString (std::string &) const |
| std::string | toString () const |
| void | toStringSafe (std::string &) const |
| void | fromInt (int64_t) |
| void | fromFloat (double) |
| void | fromString (const std::string &) |
| void | clear () |
| void | clearData () |
| void | clearTags () |
| void | setID (DICOM_ID_LENGTH) |
| void | setID (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH) |
| void | setID (const std::string &) |
| void | setVR (char, char) |
| void | setName (const char *, bool ownsname=false) |
| void | setDataLength (DICOM_LONG_LENGTH) |
| void | setData (DICOM_LONG_LENGTH, char *) |
| void | setMeta (bool) |
| void | setParent (DCMTag *) |
| void | setError (bool) |
| void | setIsParent (bool isTheParent) |
| void | setShouldSave (bool) |
| bool | matches (const std::string &, bool recurse=false) |
| DCMTag & | addTag (DCMTag &, bool check=true) |
| void | addTag (DCMTag *, bool check=true) |
| DCMTag & | addItem (DCMTag &) |
| DCMTag * | addItem (DCMTag *) |
| bool | removeNode () |
| void | detachNode () |
| bool | removeTag (const DCMTag *, bool dodelete=true) |
| bool | removeTag (DICOM_ID_LENGTH, bool doelete=true) |
| bool | removeTag (DICOM_ID_PART_LENGTH, DICOM_ID_PART_LENGTH, bool doelete=true) |
| std::string | NodeID () |
| void | NodeID (const std::string &) |
| std::string | NodeType () |
| void | NodeType (const std::string &) |
| unsigned long | NodeSize () |
| std::string | NodeName () |
| std::string | NodeValue () |
| void | NodeValue (const std::string &) |
| std::string | NodeData () |
| void | NodeData (const std::string &) |
| unsigned long | NodeChildrenNum (bool strict=false) |
| SAbsTreeNodeList_t | NodeChildren (bool strict=false, bool=false) |
| bool | NodePathExists (const std::string &) |
| SAbsTreeNode & | NodeByPath (const std::string &) |
| SAbsTreeNode & | NodeParent () |
| bool | hasNodeParent () |
| bool | NodeError () |
| SAbsTreeNode & | NewChild () |
| SimulacrumLibrary::str_enc | stringEncoding () override |
Public Member Functions inherited from Simulacrum::SAbsTreeNode | |
| virtual void | NodeSize (const std::string &) |
| virtual void | NodeName (const std::string &) |
| virtual SAbsTreeNode & | NodeRoot () |
| virtual std::string | NodePath (bool skiptop=false) |
| virtual bool | NodeEmph () |
| virtual bool | hasAttribute (const std::string &) |
| virtual std::string | getAttribute (const std::string &) |
| virtual std::map< std::string, std::string > | getAttributes () |
| virtual void | setAttribute (const std::string &, const std::string &) |
| virtual void | copy (SAbsTreeNode &) |
| virtual | ~SAbsTreeNode () |
| virtual void | clearChildren () |
| SPtr< SAbsTreeNode > | query (const std::string &) |
| virtual SAbsTreeNode * | queryP (const std::string &) |
Static Public Member Functions | |
| static DCMTag * | genItemTag () |
| static DCMTag * | genSequenceTag (DICOM_ID_LENGTH) |
| static DCMTag * | genIntTag (DICOM_ID_LENGTH, int64_t=0) |
| static DCMTag * | genFloatTag (DICOM_ID_LENGTH, double=0.0) |
| static DCMTag * | genStringTag (DICOM_ID_LENGTH, const std::string &="") |
Protected Member Functions | |
| char * | data () |
| tagmap_t & | getTagsMap () |
Friends | |
| class | SDICOM |
| DCMTag::DCMTag | ( | ) |
| DCMTag::DCMTag | ( | DICOM_ID_PART_LENGTH | lID1, |
| DICOM_ID_PART_LENGTH | lID2, | ||
| char | VR1, | ||
| char | VR2, | ||
| const char * | lName, | ||
| char * | lData, | ||
| DICOM_LONG_LENGTH | lLength | ||
| ) |
| DCMTag::DCMTag | ( | DICOM_ID_PART_LENGTH | lID1, |
| DICOM_ID_PART_LENGTH | lID2 | ||
| ) |
| DCMTag::DCMTag | ( | const DCMTag & | that | ) |
| DCMTag::~DCMTag | ( | ) |
| void DCMTag::addTag | ( | DCMTag * | newtag, |
| bool | check = true |
||
| ) |
|
virtual |
Implements Simulacrum::SAbsTreeNode.
| void DCMTag::clearData | ( | ) |
| void DCMTag::clearTags | ( | ) |
|
protected |
| bool DCMTag::dataPresent | ( | ) | const |
|
virtual |
Implements Simulacrum::SAbsTreeNode.
| void DCMTag::fromFloat | ( | double | newfloat | ) |
| void DCMTag::fromInt | ( | int64_t | newint | ) |
| void DCMTag::fromString | ( | const std::string & | newstring | ) |
| void DCMTag::fromVector | ( | const SVector & | srcvect | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| DCMTag & DCMTag::getByPath | ( | const std::string & | lpath | ) |
| const char * DCMTag::getData | ( | ) | const |
| DICOM_LONG_LENGTH DCMTag::getDataLength | ( | ) | const |
| DICOM_LONG_LENGTH DCMTag::getDataLengthUnpadded | ( | ) | const |
| std::string DCMTag::getElement | ( | unsigned short | , |
| bool | toend = false |
||
| ) | const |
| DICOM_ID_LENGTH DCMTag::getID | ( | ) | const |
| DICOM_ID_PART_LENGTH DCMTag::getID1 | ( | ) | const |
| DICOM_ID_PART_LENGTH DCMTag::getID2 | ( | ) | const |
| const std::string DCMTag::getIDstr | ( | ) | const |
| const char * DCMTag::getName | ( | ) | const |
| DCMTag & DCMTag::getParent | ( | ) |
| std::string DCMTag::getPath | ( | ) |
| DCMTag & DCMTag::getTag | ( | DICOM_ID_LENGTH | lid | ) |
| DCMTag & DCMTag::getTag | ( | DICOM_ID_PART_LENGTH | lid1, |
| DICOM_ID_PART_LENGTH | lid2 | ||
| ) |
| DCMTag & DCMTag::getTagDFS | ( | DICOM_ID_LENGTH | lid | ) |
| DCMTag & DCMTag::getTagDFS | ( | DICOM_ID_PART_LENGTH | lid1, |
| DICOM_ID_PART_LENGTH | lid2 | ||
| ) |
| tagset_t & DCMTag::getTags | ( | ) |
|
protected |
| const char * DCMTag::getVR | ( | ) | const |
| bool DCMTag::hasError | ( | ) | const |
|
virtual |
Implements Simulacrum::SAbsTreeNode.
| bool DCMTag::hasTag | ( | DICOM_ID_LENGTH | lid | ) |
| bool DCMTag::hasTag | ( | DICOM_ID_PART_LENGTH | lid1, |
| DICOM_ID_PART_LENGTH | lid2 | ||
| ) |
| bool DCMTag::hasTagDFS | ( | DICOM_ID_LENGTH | lid | ) |
| bool DCMTag::hasTagDFS | ( | DICOM_ID_PART_LENGTH | lid1, |
| DICOM_ID_PART_LENGTH | lid2 | ||
| ) |
| unsigned int DCMTag::hasTags | ( | bool | ignoredelimeters = false | ) | const |
| bool DCMTag::isArray | ( | ) | const |
| bool DCMTag::isFloat | ( | ) | const |
| bool DCMTag::isInt | ( | ) | const |
| bool DCMTag::isMeta | ( | ) | const |
| bool DCMTag::isNULL | ( | bool | onlyfirst = false | ) | const |
| bool DCMTag::isPrivate | ( | ) | const |
| bool DCMTag::isString | ( | ) | const |
| bool DCMTag::isTop | ( | ) | const |
| bool DCMTag::matches | ( | const std::string & | searchstr, |
| bool | recurse = false |
||
| ) |
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Reimplemented from Simulacrum::SAbsTreeNode.
|
virtual |
Reimplemented from Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Reimplemented from Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Reimplemented from Simulacrum::SAbsTreeNode.
|
virtual |
Implements Simulacrum::SAbsTreeNode.
|
virtual |
Reimplemented from Simulacrum::SAbsTreeNode.
| bool DCMTag::operator< | ( | const DCMTag & | rhs | ) | const |
| DCMTag & DCMTag::operator= | ( | const dcm_info_store & | dicinfo | ) |
| bool DCMTag::operator== | ( | const DCMTag & | rhs | ) | const |
| bool DCMTag::pathExists | ( | const std::string & | lpath | ) |
|
virtual |
Implements Simulacrum::SAbsTreeNode.
| bool DCMTag::removeTag | ( | const DCMTag * | tagtogo, |
| bool | dodelete = true |
||
| ) |
| bool DCMTag::removeTag | ( | DICOM_ID_LENGTH | dcmid, |
| bool | doelete = true |
||
| ) |
| bool DCMTag::removeTag | ( | DICOM_ID_PART_LENGTH | lid1, |
| DICOM_ID_PART_LENGTH | lid2, | ||
| bool | doelete = true |
||
| ) |
| void DCMTag::setData | ( | DICOM_LONG_LENGTH | LDataLength, |
| char * | lData | ||
| ) |
| void DCMTag::setDataLength | ( | DICOM_LONG_LENGTH | LDataLength | ) |
| void DCMTag::setError | ( | bool | errstat | ) |
| void DCMTag::setID | ( | const std::string & | newid | ) |
| void DCMTag::setID | ( | DICOM_ID_LENGTH | lID | ) |
| void DCMTag::setID | ( | DICOM_ID_PART_LENGTH | lID1, |
| DICOM_ID_PART_LENGTH | lID2 | ||
| ) |
| void DCMTag::setIsParent | ( | bool | isTheParent | ) |
| void DCMTag::setMeta | ( | bool | metatag | ) |
| void DCMTag::setName | ( | const char * | lName, |
| bool | ownsname = false |
||
| ) |
| void DCMTag::setParent | ( | DCMTag * | newp | ) |
| void DCMTag::setShouldSave | ( | bool | dosave | ) |
| void DCMTag::setVR | ( | char | VR1, |
| char | VR2 | ||
| ) |
| bool DCMTag::shouldSave | ( | ) | const |
|
overridevirtual |
Reimplemented from Simulacrum::SAbsTreeNode.
| double DCMTag::toFloat | ( | ) | const |
| int64_t DCMTag::toInt | ( | ) | const |
| int64_t DCMTag::toInt | ( | unsigned | elem | ) | const |
| std::string DCMTag::toString | ( | ) | const |
| void DCMTag::toString | ( | std::string & | target | ) | const |
| void DCMTag::toStringSafe | ( | std::string & | target | ) | const |
| SVector DCMTag::toVector | ( | ) | const |
|
friend |