A Registry to store Alliance Cell metadatas. More...
Classes | |
| class | State |
| An entry to store the Cell State in the Catalog. More... | |
Public Member Functions | |
| Catalog () | |
| ~Catalog () | |
| State * | getState (const Name &name, bool add=false) |
| void | mergeState (const Name &name, const State &other) |
| bool | deleteState (const Name &name) |
| void | clear () |
| bool | loadFromFile (const string &path, Library *library) |
| map< Name, State * > * | getStates () |
A Registry to store Alliance Cell metadatas.
The Catalog is built from the various CATAL files from the library directories and enriched with the current state of Cell in the database.
|
inline |
A new, empty, Catalog. Normally, there should only be one Catalog, attribute of AllianceFramework.
| CRL::Catalog::~Catalog | ( | ) |
Free a Catalog object.
| bool CRL::Catalog::deleteState | ( | const Name & | name | ) |
| void CRL::Catalog::clear | ( | ) |
Completly empty the Catalog.
| bool CRL::Catalog::loadFromFile | ( | const string & | path, |
| Library * | library ) |
| path | The path to the library catalog file. |
| library | The library for which we are loading a catalog. Returns: true if the catalog file has been found and successfully loaded. |
|
inline |
| Generated by doxygen 1.13.2 on Fri Sep 27 2024 | Return to top of page |
| Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |