gdcmTagPath.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMTAGPATH_H
#define GDCMTAGPATH_H
#include "gdcmTag.h"
#include <vector>
namespace gdcm
{
class GDCM_EXPORT TagPath
{
public:
TagPath();
~TagPath();
void Print(std::ostream &) const;
bool ConstructFromString(const char *path);
static bool IsValid(const char *path);
bool ConstructFromTagList(Tag const *l, unsigned int n);
bool Push(Tag const & t);
bool Push(unsigned int itemnum);
private:
std::vector<Tag> Path;
};
} // end namespace gdcm
#endif //GDCMTAGPATH_H
gdcm::TagPath::IsValid
static bool IsValid(const char *path)
Return if path is valid or not.
gdcm::TagPath::Push
bool Push(Tag const &t)
gdcm::TagPath::~TagPath
~TagPath()
gdcm::TagPath::ConstructFromString
bool ConstructFromString(const char *path)
gdcm::TagPath::Print
void Print(std::ostream &) const
gdcm::TagPath::TagPath
TagPath()
gdcm::TagPath::ConstructFromTagList
bool ConstructFromTagList(Tag const *l, unsigned int n)
Construct from a list of tags.
gdcm::TagPath::Push
bool Push(unsigned int itemnum)
gdcm::Tag
Class to represent a DICOM Data Element (Attribute) Tag (Group, Element).
Definition gdcmTag.h:39
gdcmTag.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21