X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOTreeHandlerImageAdder.h;h=9800a7a01bcca2475aa61da92f915cfa50fa7af1;hb=9bd9f8fb720e39c6fdfec3225033d72a854c04ef;hp=252e78833e295f7345065751b26834a15309af6f;hpb=3a22e19184c369b130d4caa992a8e98e50c7a0ee;p=creaImageIO.git diff --git a/src/creaImageIOTreeHandlerImageAdder.h b/src/creaImageIOTreeHandlerImageAdder.h index 252e788..9800a7a 100644 --- a/src/creaImageIOTreeHandlerImageAdder.h +++ b/src/creaImageIOTreeHandlerImageAdder.h @@ -119,6 +119,9 @@ namespace creaImageIO void RemoveFile(tree::Node* node); /// Removes files from the databases void RemoveFiles(const std::vector& nodes); + + void remove( tree::Node* i_node); + /// Synchronizes the DB and disk by repeating the operations the user has done and returns a report std::string Synchronize(bool repair, bool checkAttributes); ///Recursively checks if the directory is synchronized and optionally the state of the attributes @@ -155,7 +158,9 @@ namespace creaImageIO void GetAttributes(const std::vector& params, const std::string& filename, std::vector& results); - + + /// Test if an attribute is referenced for a given treeHandler + const std::string isAttributeExist(const std::string i_attr);