X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOTreeDescriptor.cpp;h=80244d0f41c9616a49bf880f9094c34f8d3408cc;hb=3c92794ea3e8ad8e7ca34e270f7980aee304e726;hp=cdbdc15584c30b3bd8a41c460b640dbfcd3c7b04;hpb=d29be141890963fdc3236a28c81cd9dce0e19f69;p=creaImageIO.git diff --git a/src2/creaImageIOTreeDescriptor.cpp b/src2/creaImageIOTreeDescriptor.cpp index cdbdc15..80244d0 100644 --- a/src2/creaImageIOTreeDescriptor.cpp +++ b/src2/creaImageIOTreeDescriptor.cpp @@ -5,7 +5,7 @@ #include - +#include namespace creaImageIO @@ -19,6 +19,9 @@ namespace creaImageIO const unsigned int AttributeDescriptor::PRIVATE = 1; /// The attribute enters in unique identifier constitution const unsigned int AttributeDescriptor::IDENTIFIER = 2; + /// The attribute can be edited + const unsigned int AttributeDescriptor::EDITABLE = 3; + /// the attribute describes the node const unsigned int AttributeDescriptor::LABEL = 4; //================================================================== @@ -145,7 +148,7 @@ namespace creaImageIO // @param : file path // // return : - // ////////////////////////////////////////////////////////////// - void Descriptor::createDescriptorfromFile(std::string &i_name) + void Descriptor::createDescriptorfromFile(const std::string &i_name) { Clear();