Public Member Functions | |
| DesignCache (std::string directory) | |
| std::shared_ptr< ProductModel::Design > | GetDesign (const std::string &designName) |
| std::shared_ptr< FileModel::Design::FileArchive > | GetFileArchive (const std::string &designName) |
| void | AddFileArchive (const std::string &designName, std::shared_ptr< FileModel::Design::FileArchive > fileArchive, bool save) |
| bool | SaveFileArchive (const std::string &designName) |
| std::vector< std::string > | getLoadedDesignNames (const std::string &filter="") const |
| std::vector< std::string > | getLoadedFileArchiveNames (const std::string &filter="") const |
| std::vector< std::string > | getUnloadedDesignNames (const std::string &filter="") const |
| int | loadAllFileArchives (bool stopOnError) |
| int | loadAllDesigns (bool stopOnError) |
| int | loadFileArchives (const Utils::StringVector &names) |
| int | loadDesigns (const Utils::StringVector &names) |
| void | setDirectory (const std::string &directory) |
| std::string | getDirectory () const |
| void | Clear () |
| void | ensureDirectoryExists () const |
Definition at line 15 of file DesignCache.h.
| Odb::Lib::App::DesignCache::DesignCache | ( | std::string | directory | ) |
Definition at line 22 of file DesignCache.cpp.
| Odb::Lib::App::DesignCache::~DesignCache | ( | ) |
Definition at line 28 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::AddFileArchive | ( | const std::string & | designName, |
| std::shared_ptr< FileModel::Design::FileArchive > | fileArchive, | ||
| bool | save | ||
| ) |
Definition at line 105 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::Clear | ( | ) |
Definition at line 322 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::ensureDirectoryExists | ( | ) | const |
Definition at line 430 of file DesignCache.cpp.
| std::shared_ptr< ProductModel::Design > Odb::Lib::App::DesignCache::GetDesign | ( | const std::string & | designName | ) |
Definition at line 33 of file DesignCache.cpp.
| std::string Odb::Lib::App::DesignCache::getDirectory | ( | ) | const |
Definition at line 316 of file DesignCache.cpp.
| std::shared_ptr< FileModel::Design::FileArchive > Odb::Lib::App::DesignCache::GetFileArchive | ( | const std::string & | designName | ) |
Definition at line 62 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getLoadedDesignNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 133 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getLoadedFileArchiveNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 144 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getUnloadedDesignNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 155 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadAllDesigns | ( | bool | stopOnError | ) |
Definition at line 223 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadAllFileArchives | ( | bool | stopOnError | ) |
Definition at line 186 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadDesigns | ( | const Utils::StringVector & | names | ) |
Definition at line 286 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadFileArchives | ( | const Utils::StringVector & | names | ) |
Definition at line 262 of file DesignCache.cpp.
| bool Odb::Lib::App::DesignCache::SaveFileArchive | ( | const std::string & | designName | ) |
Definition at line 118 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::setDirectory | ( | const std::string & | directory | ) |
Definition at line 310 of file DesignCache.cpp.