torc-master
|
Represents an ordered list of port references with a name aliased. More...
#include <PortListAlias.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef VisitorType < PortListAlias > | Visitor |
typedef PortListAlias | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual void | accept (BaseVisitor &inoutVisitor) throw (Error) |
const PortListSharedPtr | getPortList () const |
void | setPortList (const PortListSharedPtr &inPortList) |
~PortListAlias () throw () | |
virtual const std::string | getName () const |
void | setName (const std::string &inSource) throw (Error) |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
Protected Member Functions | |
PortListAlias () | |
Private Attributes | |
PortListSharedPtr | mPortList |
Friends | |
class | FactoryType< PortListAlias > |
Represents an ordered list of port references with a name aliased.
The PortList class represents an ordered list of port references. Such objects in EDIF are declard using the (portList portRefName1 portRefName2 ... ) syntax.
Definition at line 37 of file PortListAlias.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
Convenience class to visit a port list alias.
Definition at line 46 of file PortListAlias.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
torc::generic::PortListAlias::~PortListAlias | ( | ) | ||
throw | ( | |||
) |
Definition at line 64 of file PortListAlias.cpp.
|
protected |
Definition at line 49 of file PortListAlias.cpp.
|
virtual |
Definition at line 51 of file PortListAlias.cpp.
|
inlinevirtualinherited |
Get the object name
Definition at line 89 of file Nameable.hpp.
|
inline |
Get the portList accociated with this PortListAlias.
Definition at line 94 of file PortListAlias.hpp.
|
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 |
|
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.
void torc::generic::PortListAlias::setPortList | ( | const PortListSharedPtr & | inPortList | ) |
Set the portList accociated with this PortListAlias.
[in] | inPortList | Pointer to PortList |
Definition at line 60 of file PortListAlias.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 39 of file PortListAlias.hpp.
|
private |
Definition at line 91 of file PortListAlias.hpp.