torc-master
|
#include <Design.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef VisitorType< Design > | Visitor |
typedef std::string | Name |
typedef Design | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const std::string | getCellRefName () const |
void | setCellRefName (const std::string &inCellRefName) |
const std::string | getLibraryRefName () const |
void | setLibraryRefName (const std::string &inLibraryRefName) |
virtual | ~Design () throw () |
virtual const std::string | getName () const |
void | setName (const std::string &inSource) throw (Error) |
void | addComment (const std::string &comment) |
const std::vector< std::string > & | getComments () const |
void | setComments (const std::vector< std::string > &inSource) |
PropertySharedPtr | getProperty (const std::string &inName) |
bool | setProperty (const std::string &inName, const PropertySharedPtr &inProperty) |
void | getProperties (std::map< std::string, PropertySharedPtr > &outProperties) const |
void | setProperties (const std::map< std::string, PropertySharedPtr > &inSource) |
template<typename _Action > | |
void | applyOnAllProperties (const _Action &action) throw (Error) |
virtual Name | getOriginalName () const |
virtual void | setOriginalName (const Name &inSource) |
const boost::shared_ptr< Root > | getParent () const |
virtual void | setParent (const boost::shared_ptr< Root > &inSource) |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
void | getUserData (std::list< std::string > &outUserData) const |
void | setUserData (const std::list< std::string > &inSource) |
void | addUserData (const std::string &inSource) |
void | getStatuses (std::vector< StatusSharedPtr > &outStatus) const |
void | setStatuses (const std::vector< StatusSharedPtr > &inStatus) |
void | addStatus (const StatusSharedPtr &inStatus) throw (Error) |
template<typename _Action > | |
void | applyOnAllStatuses (const _Action &action) throw (Error) |
Protected Member Functions | |
Design () | |
Design (const std::string &inCellRefName, const std::string &inLibraryRefName) | |
Private Member Functions | |
Design (const Design &inSource) | |
Design & | operator= (const Design &inSource) |
Private Attributes | |
std::string | mCellRefName |
std::string | mLibraryRefName |
Friends | |
class | FactoryType< Design > |
The Design class identifies the Cell at the top level of the hierarchy of a particular design within a library.
Definition at line 44 of file generic/Design.hpp.
|
inherited |
Definition at line 40 of file generic/Renamable.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
Convenience typedef for visiting a design
Definition at line 54 of file generic/Design.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
|
virtual |
Definition at line 62 of file generic/Design.cpp.
|
protected |
Definition at line 53 of file generic/Design.cpp.
|
protected |
Definition at line 57 of file generic/Design.cpp.
|
private |
|
virtual |
Implements torc::generic::Visitable.
Definition at line 44 of file generic/Design.cpp.
|
inherited |
Add a comment to the object
[in] | comment | The comment to add to an existing list of comments |
Definition at line 36 of file Commentable.cpp.
|
inherited |
Add a status to the vector of statuses. If an empty pointer is supplied, it returns without doing anything.
[in] | inStatus | A pointer to a status object. |
Add a status to the list of statuses. If an empty pointer is supplied, it returns without doing anything.
[in] | inStatus | A pointer to a status object. |
Definition at line 47 of file StatusContainer.cpp.
|
inherited |
Add an user data to the list of user data
[in] | inSource | An user data as string |
Definition at line 34 of file UserDataContainer.cpp.
|
inlineinherited |
Apply action on all properties.
[in] | action | Action to be applied |
Definition at line 113 of file PropertyContainer.hpp.
|
inlineinherited |
Apply action on all statuses.
[in] | action | Action to be applied |
Definition at line 95 of file StatusContainer.hpp.
|
inline |
Get the top cell ref name for this Design.
Definition at line 130 of file generic/Design.hpp.
|
inlineinherited |
Get the list of all comments
Definition at line 85 of file Commentable.hpp.
|
inline |
|
inlinevirtualinherited |
Get the object name
Definition at line 89 of file Nameable.hpp.
|
inlinevirtualinherited |
Get the new name provided for the object.
Definition at line 78 of file generic/Renamable.hpp.
|
inlineinherited |
Get a pointer to the parent object
|
inlineinherited |
Get the map of all properties
[out] | outProperties | The map of properties |
Get the map of all properties
Definition at line 107 of file PropertyContainer.hpp.
|
inherited |
Get a property
[in] | inName | Name of the property to be retreived |
Get a property
[in] | name | Name of the property to be retreived |
Definition at line 37 of file PropertyContainer.cpp.
|
inlineinherited |
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
[out] | ptr | Set to a shared pointer to this object |
|
inlineinherited |
Get a vector of pointer to Status object
[out] | outStatus | The vector of pointer to Status object |
Definition at line 86 of file StatusContainer.hpp.
|
inlineinherited |
Get the list of all userData
[out] | outUserData | The list of all userData |
Definition at line 78 of file UserDataContainer.hpp.
void torc::generic::Design::setCellRefName | ( | const std::string & | inCellRefName | ) |
Set the top cell ref name for this Design.
[in] | inCellRefName | The top level cell ref name for this design. |
Definition at line 64 of file generic/Design.cpp.
|
inherited |
Get the list of all comments
[in] | inSource | A list of all comments to be set on this object |
Definition at line 45 of file Commentable.cpp.
void torc::generic::Design::setLibraryRefName | ( | const std::string & | inLibraryRefName | ) |
Set the top Library ref name for this Design.
[in] | inLibraryRefName | The top level Library ref name for this design. |
Definition at line 68 of file generic/Design.cpp.
|
inherited |
Set a name for this object
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members)
|
Set a name for this object
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members) |
Definition at line 41 of file Nameable.cpp.
|
virtualinherited |
Set the new name provided for the object.
[in] | inSource | Name of the object |
Definition at line 35 of file generic/Renamable.cpp.
|
virtualinherited |
Set a pointer to the parent
[in] | inSource | Set a pointer to the parent |
|
inherited |
Set the map of properties
[in] | inSource | The map of properties |
Definition at line 66 of file PropertyContainer.cpp.
|
inherited |
Save the inSource of a property
[in] | inName | Name of the property to be saved |
[in] | inProperty | Pointer to the property object if present, empty pointer otherwise. |
Save the inSource of a property
[in] | inName | Name of the property to be saved |
[in] | inPoperty | Pointer to the property object if present, empty pointer otherwise. |
Definition at line 53 of file PropertyContainer.cpp.
|
inherited |
Set a vector of pointer to Status object
[in] | inStatus | The vector of pointer to Status object |
Definition at line 32 of file StatusContainer.cpp.
|
inherited |
Set the list of userData
[in] | inSource | The list of UserData |
Definition at line 26 of file UserDataContainer.cpp.
|
inlineinherited |
Set a weak pointer to this object. This will be used later to get a shared pointer to this object from within other member methods if required. This should be called by the Factory creating the object.
[in] | weakThis | A weak pointer to this object |
|
friend |
Definition at line 48 of file generic/Design.hpp.
|
private |
Definition at line 121 of file generic/Design.hpp.
|
private |
Definition at line 122 of file generic/Design.hpp.