GDCM
2.2.0
|
class to handle a path of tag. More...
#include <gdcmTagPath.h>
Public Member Functions | |
TagPath () | |
~TagPath () | |
bool | ConstructFromString (const char *path) |
bool | ConstructFromTagList (Tag const *l, unsigned int n) |
Construct from a list of tags. | |
void | Print (std::ostream &) const |
bool | Push (Tag const &t) |
bool | Push (unsigned int itemnum) |
Static Public Member Functions | |
static bool | IsValid (const char *path) |
Return if path is valid or not. |
class to handle a path of tag.
Any Resemblance to Existing XPath is Purely Coincidental ftp://medical.nema.org/medical/dicom/supps/sup118_pc.pdf
bool gdcm::TagPath::ConstructFromString | ( | const char * | path | ) |
"/0018,0018/"... No space allowed, comma is use to separate tag group from tag element and slash is used to separate tag return false if invalid
bool gdcm::TagPath::ConstructFromTagList | ( | Tag const * | l, |
unsigned int | n | ||
) |
Construct from a list of tags.
static bool gdcm::TagPath::IsValid | ( | const char * | path | ) | [static] |
Return if path is valid or not.
void gdcm::TagPath::Print | ( | std::ostream & | ) | const |
bool gdcm::TagPath::Push | ( | Tag const & | t | ) |
bool gdcm::TagPath::Push | ( | unsigned int | itemnum | ) |