1 #ifndef __creaImageIOField_h_INCLUDED__
2 #define __creaImageIOField_h_INCLUDED__
10 //=====================================================================
14 typedef std::string Key;
19 : key(""), group(0), element(0), name(""), flags(0)
22 Description(const std::string& k,
27 : key(k), group(g), element(e), name(n), flags(f)
29 const std::string& GetKey() const { return key; }
30 unsigned short GetGroup() const { return group; }
31 unsigned short GetElement() const { return element; }
32 const std::string& GetName() const { return name; }
33 unsigned int GetFlags() const { return flags; }
37 unsigned short element;
42 typedef std::string Value;
45 //=====================================================================
48 } // namespace creaImageIO
52 //=====================================================================
53 inline std::ostream& operator<<(std::ostream& s, const creaImageIO::Field::Description& d)
55 s << "[" << d.key << ":" << d.name << "]";
58 //=====================================================================
62 #endif // #ifndef __creaImageIOField_h_INCLUDED__