torc::generic::SingleInstance Class Reference

Represents a single instance of the view of a cell. More...

#include <SingleInstance.hpp>

Inheritance diagram for torc::generic::SingleInstance:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef VisitorType
< SingleInstance
Visitor

Public Member Functions

virtual void accept (BaseVisitor &inoutVisitor) throw (Error)
virtual void flatten () throw (Error)

Friends

class FactoryType< SingleInstance >

Classes

class  Factory


Detailed Description

Represents a single instance of the view of a cell.

The SingleInstance class represents a usage instance of a cell in the design specification (View) of another cell. A single instance can be created using the (instance name ...) syntax.

Definition at line 43 of file SingleInstance.hpp.


Member Function Documentation

void torc::generic::SingleInstance::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 72 of file SingleInstance.cpp.

void torc::generic::SingleInstance::flatten (  )  throw (Error) [virtual]

Flatten an instance so that internal references

Reimplemented from torc::generic::Instance.

Definition at line 90 of file SingleInstance.cpp.


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

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