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 21 of file DesignCache.cpp.
| Odb::Lib::App::DesignCache::~DesignCache | ( | ) |
Definition at line 27 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 104 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::Clear | ( | ) |
Definition at line 321 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::ensureDirectoryExists | ( | ) | const |
Definition at line 423 of file DesignCache.cpp.
| std::shared_ptr< ProductModel::Design > Odb::Lib::App::DesignCache::GetDesign | ( | const std::string & | designName | ) |
Definition at line 32 of file DesignCache.cpp.
| std::string Odb::Lib::App::DesignCache::getDirectory | ( | ) | const |
Definition at line 315 of file DesignCache.cpp.
| std::shared_ptr< FileModel::Design::FileArchive > Odb::Lib::App::DesignCache::GetFileArchive | ( | const std::string & | designName | ) |
Definition at line 61 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getLoadedDesignNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 132 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getLoadedFileArchiveNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 143 of file DesignCache.cpp.
| std::vector< std::string > Odb::Lib::App::DesignCache::getUnloadedDesignNames | ( | const std::string & | filter = "" | ) | const |
Definition at line 154 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadAllDesigns | ( | bool | stopOnError | ) |
Definition at line 222 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadAllFileArchives | ( | bool | stopOnError | ) |
Definition at line 185 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadDesigns | ( | const Utils::StringVector & | names | ) |
Definition at line 285 of file DesignCache.cpp.
| int Odb::Lib::App::DesignCache::loadFileArchives | ( | const Utils::StringVector & | names | ) |
Definition at line 261 of file DesignCache.cpp.
| bool Odb::Lib::App::DesignCache::SaveFileArchive | ( | const std::string & | designName | ) |
Definition at line 117 of file DesignCache.cpp.
| void Odb::Lib::App::DesignCache::setDirectory | ( | const std::string & | directory | ) |
Definition at line 309 of file DesignCache.cpp.