]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeAttributeDescriptor.h
Added creaImageIOGimmickView.h
[creaImageIO.git] / src2 / creaImageIOTreeAttributeDescriptor.h
index dc734bd62964469ef4d4600890d1366d5192866d..f48a4c09234ec3c7e18f9c0d8ba03a991f48ab63 100644 (file)
@@ -9,6 +9,9 @@ namespace creaImageIO
 
   namespace tree
   {
+         /**
+       * \ingroup Model
+       */
     //=====================================================================
     /// Descriptor of an attribute of a node of a tree (name, dicom group/element)
     class AttributeDescriptor
@@ -16,7 +19,7 @@ namespace creaImageIO
     public:
       /// Flags
       /// The attribute is hidden (not visible to user)
-      static const unsigned int HIDDEN;
+      static const unsigned int PRIVATE;
       /// The attribute enters in unique identifier constitution (KEY)
       static const unsigned int KEY;
       /// The attribute enters in label constitution (for printing)
@@ -27,6 +30,17 @@ namespace creaImageIO
        : mKey(""), mName(""), mGroup(0), mElement(0), mFlags(0)
       {
       }
+      /// Ctor with all explicitely
+      AttributeDescriptor(const std::string& key,
+                         const std::string& name,
+                         unsigned short group,
+                         unsigned short element,
+                         unsigned int flags)
+       : mKey(key), mName(name), mGroup(group), mElement(element), 
+         mFlags(flags)
+      {
+      }
+
       // Ctor with key, name and flags
       AttributeDescriptor(const std::string& key,
                          const std::string& name,