Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMTAGPATH_H
00016 #define GDCMTAGPATH_H
00017
00018 #include "gdcmTag.h"
00019
00020 #include <vector>
00021
00022 namespace gdcm
00023 {
00024
00031 class GDCM_EXPORT TagPath
00032 {
00033 public:
00034 TagPath();
00035 ~TagPath();
00036 void Print(std::ostream &) const;
00037
00042 bool ConstructFromString(const char *path);
00043
00045 static bool IsValid(const char *path);
00046
00048 bool ConstructFromTagList(Tag const *l, unsigned int n);
00049
00050 bool Push(Tag const & t);
00051 bool Push(unsigned int itemnum);
00052
00053 private:
00054 std::vector<Tag> Path;
00055 };
00056
00057 }
00058
00059 #endif //GDCMTAGPATH_H