X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOSQLiteTreeHandler.h;h=1172298500f114096ee6195b71b0687251853084;hb=96ca5a0d7b7ccd6b4291160c19afd48e3207db2a;hp=0b102b584f4f66a71fc66d93e41375c450dd28ab;hpb=e4c4c1a9a170f8eb89f8e8642a510c4499465280;p=creaImageIO.git diff --git a/src2/creaImageIOSQLiteTreeHandler.h b/src2/creaImageIOSQLiteTreeHandler.h index 0b102b5..1172298 100644 --- a/src2/creaImageIOSQLiteTreeHandler.h +++ b/src2/creaImageIOSQLiteTreeHandler.h @@ -217,47 +217,7 @@ namespace creaImageIO //====================================================================== - /* - /// - int DBQueryNumberOfChildren(tree::Node* n); - - // Insertion - bool DBInsert(tree::Node* alien_node) ; //, UpdateSummary& summary); - - // - std::string DBGetNodeId(tree::Node* node, const std::string& parent_id); - - tree::Node* GetNodeFromTypeId(int level, - const std::string& id); - - // - tree::Node* DBGetOrCreateNode(tree::Node* alien_node, - tree::Node* internal_parent, - std::string parentid, - std::string& created_id); - // UpdateSummary& summary); - - tree::Node* DBGetOrCreateParent(tree::Node* alien_node, - std::string& parent_id); - // UpdateSummary& summary); - - void DBRecursiveGetOrCreateNode(tree::Node* alien_node, - tree::Node* parent, - const std::string& parent_id); - // UpdateSummary& summary); - - - */ - - /* - - void BuildSQLFieldsValues(tree::Node* n, - std::string& str); - - - tree::Node* GetChildrenLike(tree::Node* internal_parent, - tree::Node* alien_node); - */ + private: /// The DB CppSQLite3DB* mDB; @@ -269,21 +229,7 @@ namespace creaImageIO bool GetWritable() const { return mWritable; } bool mIsAdding; - /* - struct TypeId - { - int type; - std::string id; - bool operator< (const TypeId& o) const - { - return ((type TypeIdToNodeMapType; - TypeIdToNodeMapType mTypeIdToNodeMap; - */ + }; // EO class SQLiteTreeHandler //=======================================================================