GDCM  2.4.5
Public Member Functions | Static Public Member Functions | List of all members
gdcm::TagPath Class Reference

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. More...
 
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. More...
 

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 Fri Sep 25 2015 17:58:34 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo