GDCM  2.2.0
Public Member Functions | Static Public Member Functions
gdcm::TagPath Class Reference

class to handle a path of tag. More...

#include <gdcmTagPath.h>

List of all members.

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.

Detailed Description

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


Constructor & Destructor Documentation

gdcm::TagPath::TagPath ( )
gdcm::TagPath::~TagPath ( )

Member Function Documentation

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)

The documentation for this class was generated from the following file:

Generated on Wed Jun 13 2012 20:40:40 for GDCM by doxygen 1.8.1
SourceForge.net Logo