Library description (API) More...
Public Types | |
typedef DBo | Inherit |
Public Member Functions | |
DataBase * | getDataBase () const |
Library * | getLibrary () const |
const Name & | getName () const |
Library * | getLibrary (const Name &name) const |
Libraries | getLibraries () const |
Cell * | getCell (const Name &name) const |
Cells | getCells () const |
void | setName (const Name &name) |
Public Member Functions inherited from Hurricane::DBo | |
virtual void | destroy () |
Property * | getProperty (const Name &) const |
Properties | getProperties () const |
bool | hasProperty () const |
void | put (Property *) |
void | remove (Property *) |
void | removeProperty (const Name &) |
void | clearProperties () |
Static Public Member Functions | |
static Library * | create (DataBase *dataBase, const Name &name) |
static Library * | create (Library *library, const Name &name) |
Library description (API)
A library contains a set of symbols, a set of cells and may also contains a set of sub libraries.
A root library exists directly attached to the data_base. This root library is the only one which has no parent library.
Useful for calling upon methods of the base class without knowing it.
creates and returns a new root library named <name>
for the data base <dataBase>
.
creates and returns a new sub library named <name>
for the library <library>
.
|
inline |
Returns: the data base owning directly or indirectly the library.
|
inline |
Returns: the library owning the library (NULL for the root library).
|
inline |
Returns: the name of the library.
Returns: the sub library of name <name>
if it exists, else NULL.
|
inline |
Returns: the collection of all sub libraries of the library.
Returns: the cell of name <name>
if it exists, else NULL.
|
inline |
Returns: the collection of all cells of the library.
void Hurricane::Library::setName | ( | const Name & | name | ) |
Allows to change the library name.
Generated by doxygen 1.9.1 on Thu Aug 11 2022 | Return to top of page |
Hurricane VLSI Database | Copyright © 2000-2020 Bull S.A. All rights reserved |