torc::generic::Design Class Reference

#include <Design.hpp>

Inheritance diagram for torc::generic::Design:

Inheritance graph
[legend]
Collaboration diagram for torc::generic::Design:

Collaboration graph
[legend]

List of all members.

Public Types

typedef VisitorType< DesignVisitor

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 ()
Designoperator= (const Design &inSource) throw ()

Private Attributes

std::string mCellRefName
std::string mLibraryRefName

Friends

class FactoryType< Design >

Classes

class  Factory


Detailed Description

The Design class identifies the Cell at the top level of the hierarchy of a particular design within a library.

Definition at line 45 of file Design.hpp.


Member Typedef Documentation

Convenience typedef for visiting a design

Definition at line 62 of file Design.hpp.


Member Function Documentation

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.

Parameters:
[in,out] inoutVisitor A reference to the inoutVisitor object
Exceptions:
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.

Returns:
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.

Parameters:
[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]

Get the top Library ref name for this Design.

Returns:
The top Library ref name for this Design.

Definition at line 160 of file Design.hpp.

void torc::generic::Design::setLibraryRefName ( const std::string &  inLibraryRefName  )  throw ()

Set the top Library ref name for this Design.

Parameters:
[in] inLibraryRefName The top level Library ref name for this design.

Definition at line 104 of file Design.cpp.


The documentation for this class was generated from the following files:

Generated on Thu Oct 13 16:50:02 2011 for TORC by  doxygen 1.5.6