GDCM 3.2.1

gdcmTagPath.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMTAGPATH_H
15#define GDCMTAGPATH_H
16
17#include "gdcmTag.h"
18
19#include <vector>
20
21 namespace gdcm
22{
23
30 class GDCM_EXPORT TagPath
31{
32 public:
33 TagPath();
34 ~TagPath();
35 void Print(std::ostream &) const;
36
41 bool ConstructFromString(const char *path);
42
44 static bool IsValid(const char *path);
45
47 bool ConstructFromTagList(Tag const *l, unsigned int n);
48
49 bool Push(Tag const & t);
50 bool Push(unsigned int itemnum);
51
52 private:
53 std::vector<Tag> Path;
54};
55
56} // end namespace gdcm
57
58#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