X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOTreeAttributeDescriptor.h;h=1ae86ddeb89c94381cc240dbf589a31c6d33abf6;hb=d1b74d1cf08d3792a53d4fb730beee32aab45781;hp=ad4d7bfe601fe38922f3fb3b10fae6e97b482cb4;hpb=b573a12c2f9e5c887ae36166c531fb17cdb7db8f;p=creaImageIO.git diff --git a/src2/creaImageIOTreeAttributeDescriptor.h b/src2/creaImageIOTreeAttributeDescriptor.h index ad4d7bf..1ae86dd 100644 --- a/src2/creaImageIOTreeAttributeDescriptor.h +++ b/src2/creaImageIOTreeAttributeDescriptor.h @@ -24,6 +24,8 @@ namespace creaImageIO static const unsigned int IDENTIFIER; /// The attribute enters in label constitution (for printing) static const unsigned int LABEL; + /// The attribute can be edited + static const unsigned int EDITABLE; /// Types /// The attribute is of numeric type @@ -81,7 +83,10 @@ namespace creaImageIO ///Decodes the type of attribute into the existing ones void DecodeType(unsigned int& type) const; + /// Determines if Attribute is a date bool isDateEntry() const; + + /// Determines if Attribute is a time bool isTimeEntry() const; private: