X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMLibrary.h;h=728b5c93970703cccb7b833a1e85924dc5943914;hb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;hp=9f19defbcf01f41b462ebf8816ecb2eaa1d00859;hpb=609d8d48cae96384e664ec6b000e8ecfcbad6459;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMLibrary.h b/lib/creaDevManagerLib/modelCDMLibrary.h index 9f19def..728b5c9 100644 --- a/lib/creaDevManagerLib/modelCDMLibrary.h +++ b/lib/creaDevManagerLib/modelCDMLibrary.h @@ -44,21 +44,19 @@ class modelCDMLibrary : public modelCDMFolder { public: modelCDMLibrary(); - modelCDMLibrary(const std::string& path, const int& level=2); + modelCDMLibrary(const std::string& path, const std::string& name, const int& level = 2); ~modelCDMLibrary(); const std::string& GetNameLibrary() const; + bool SetNameLibrary(const std::string& fileName, std::string*& result); + + modelCDMFolder* CreateFolder(const std::string& name, std::string*& result); - bool CreateFolder( - const std::string& name, - std::string*& result, - const std::string& path = "/" - ); virtual const bool Refresh(std::string*& result); private: std::string nameLibrary; - std::vector libraries; + std::vector folders; }; #endif /* MODELCDMLIBRARY_H_ */