#include <Design.hpp>
Public Types | |
typedef VisitorType< Design > | Visitor |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const std::string | getCellRefName () const throw () |
void | setCellRefName (const std::string &inCellRefName) throw () |
const std::string | getLibraryRefName () const throw () |
void | setLibraryRefName (const std::string &inLibraryRefName) throw () |
Protected Member Functions | |
Design (const std::string &inCellRefName, const std::string &inLibraryRefName) | |
Private Member Functions | |
Design (const Design &inSource) throw () | |
Design & | operator= (const Design &inSource) throw () |
Private Attributes | |
std::string | mCellRefName |
std::string | mLibraryRefName |
Friends | |
class | FactoryType< Design > |
Classes | |
class | Factory |
Definition at line 45 of file Design.hpp.
Convenience typedef for visiting a design
Definition at line 62 of file Design.hpp.
void torc::generic::Design::accept | ( | BaseVisitor & | inoutVisitor | ) | throw (Error) [virtual] |
Recive a inoutVisitor to this class. The visit method of the inoutVisitor is called and a reference to this object is passed as a parameter. It has to be noted however, that a dynamic_cast is performed inside this method. If the cast fails, an appropriate exception is thrown by this method. This sitation can arise when the passed Visitor object does not inherit from the appropriate inoutVisitor specialization. See Visitor documentation for more details.
[in,out] | inoutVisitor | A reference to the inoutVisitor object |
Error | Visitor type inappropriate for visiting this object or any other error thrown by the Visitor::throw() method. |
Implements torc::generic::Visitable.
Definition at line 53 of file Design.cpp.
const std::string torc::generic::Design::getCellRefName | ( | ) | const throw () [inline] |
Get the top cell ref name for this Design.
Definition at line 150 of file Design.hpp.
void torc::generic::Design::setCellRefName | ( | const std::string & | inCellRefName | ) | throw () |
Set the top cell ref name for this Design.
[in] | inCellRefName | The top level cell ref name for this design. |
Definition at line 99 of file Design.cpp.
const std::string torc::generic::Design::getLibraryRefName | ( | ) | const throw () [inline] |
void torc::generic::Design::setLibraryRefName | ( | const std::string & | inLibraryRefName | ) | throw () |
Set the top Library ref name for this Design.
[in] | inLibraryRefName | The top level Library ref name for this design. |
Definition at line 104 of file Design.cpp.