creatisIOComparator.h

Go to the documentation of this file.
00001 #ifndef __creatisIOComparator_h_INCLUDED__
00002 #define __creatisIOComparator_h_INCLUDED__
00003 
00004 #include <creaImageIOTreeHandler.h>
00005 
00006 namespace creaImageIO{
00007         class Comparator{
00008         public:
00009 
00010                 Comparator(tree::Node *tr, std::string i_tag);
00011                 ~Comparator();
00012                 bool compare(std::string i_SOPIID);
00013                 void add(std::string i_SOPIID);
00014                 bool hasToCompare(){return bdiscr);
00015 
00016         private:
00017                 std::vector<std::string> m_SOPIID;
00018                 std::string m_discr;            //tag_discriminant
00019                 bool bdiscr;
00020 
00021         };
00022 }
00023 #endif