torc::generic::InstanceArrayMember Class Reference

Represents a member of an instance array. More...

#include <InstanceArrayMember.hpp>

Inheritance diagram for torc::generic::InstanceArrayMember:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef VisitorType
< InstanceArrayMember
Visitor
typedef FactoryType
< InstanceArrayMember
Factory

Public Member Functions

virtual void accept (BaseVisitor &inoutVisitor) throw (Error)
virtual ParameterContext getParameterContext () const throw ()
virtual ParameterMapSharedPtr getParameters () const throw (Error)
virtual void flatten () throw (Error)


Detailed Description

Represents a member of an instance array.

The InstanceArrayMember represents a single instance from an array of instances.

Definition at line 44 of file InstanceArrayMember.hpp.


Member Typedef Documentation

Convenience typedef to create a parameter array element.

Definition at line 57 of file InstanceArrayMember.hpp.


Member Function Documentation

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

ParameterContext torc::generic::InstanceArrayMember::getParameterContext (  )  const throw () [virtual]

Returns the parent container's context that will be used to get parameters from the parameter map. For an unbound instance, this will return an invalid value

Reimplemented from torc::generic::Instance.

Definition at line 65 of file InstanceArrayMember.cpp.

ParameterMapSharedPtr torc::generic::InstanceArrayMember::getParameters (  )  const throw (Error) [virtual]

Get the ParameterMap corresponding to this instance and it's master

Returns:
A ParameterMap consisiting of only the overridden parameters.

Reimplemented from torc::generic::Instance.

Definition at line 80 of file InstanceArrayMember.cpp.

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

Flatten an instance so that internal references are resolved to implementation level gates for the instance

Flatten an instance so that internal references

Reimplemented from torc::generic::Instance.

Definition at line 104 of file InstanceArrayMember.cpp.


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

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