]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeDescriptor.cpp
Added field edition capability.
[creaImageIO.git] / src2 / creaImageIOTreeDescriptor.cpp
index cdbdc15584c30b3bd8a41c460b640dbfcd3c7b04..c1dca8e78b1d5ee575aee2bc12d6d00614a9d866 100644 (file)
@@ -5,7 +5,7 @@
 #include <boost/filesystem.hpp>
 
 
-
+#include <fstream>
 
 
 namespace creaImageIO
@@ -19,6 +19,8 @@ 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;
     const unsigned int AttributeDescriptor::LABEL = 4;
     //==================================================================
 
@@ -145,7 +147,7 @@ namespace creaImageIO
        // @param : file path                                                                           //
        // return : -                                                                                           //
        //////////////////////////////////////////////////////////////
-       void Descriptor::createDescriptorfromFile(std::string &i_name)
+       void Descriptor::createDescriptorfromFile(const std::string &i_name)
        {
                Clear();