Instance Port. More...

#include <struct.h>

Collaboration diagram for RPortRef:
[legend]

Public Member Functions

 RPortRef (RPort *port, RInstance *inst)
 
int Compare (const RPortRef &ref) const
 

Private Attributes

RPortPort
 
RInstanceInstance
 

Detailed Description

Instance Port.

The RPortRef provides a representation for a port of a particular instance.

Constructor & Destructor Documentation

RPortRef ( RPort port,
RInstance inst 
)

Create a port of an instance.

Parameters
portGeneric port.
instInstance.

Member Function Documentation

int Compare ( const RPortRef ref) const

Compare a instance port with another one.

Parameters
refPort to compare with.
Returns
a value compatible with R::RContainer.

Member Data Documentation

RPort* Port
private

Port of the corresponding cell.

RInstance* Instance
private

Instance of the port.