torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::physical::PortTemp Class Reference

Temporary module port. More...

#include <Port.hpp>

+ Collaboration diagram for torc::physical::PortTemp:

Protected Member Functions

 PortTemp (const string &inName, const string &inInstance, const string &inPin)
 
const stringgetName (void) const
 Returns the port name. More...
 
const stringgetInstance (void) const
 Returns the port instance. More...
 
const stringgetPin (void) const
 Returns the port instance pin. More...
 

Protected Attributes

string mName
 The port name. More...
 
string mInstance
 The port instance. More...
 
string mPin
 The port pin. More...
 

Private Types

typedef std::string string
 Imported type name. More...
 

Friends

class torc::XdlParser
 The XdlParser class has direct access to our internals. More...
 

Detailed Description

Temporary module port.

This class should only be used by XdlParser to remember the port while awaiting the definition of the port's instance.

Definition at line 82 of file physical/Port.hpp.

Member Typedef Documentation

typedef std::string torc::physical::PortTemp::string
private

Imported type name.

Definition at line 87 of file physical/Port.hpp.

Constructor & Destructor Documentation

torc::physical::PortTemp::PortTemp ( const string inName,
const string inInstance,
const string inPin 
)
inlineprotected
Parameters
inNameThe port name.
inInstanceThe port instance.
inPinThe port pin.

Definition at line 100 of file physical/Port.hpp.

101  : mName(inName), mInstance(inInstance), mPin(inPin) {}
string mPin
The port pin.
string mInstance
The port instance.
string mName
The port name.

Member Function Documentation

const string& torc::physical::PortTemp::getInstance ( void  ) const
inlineprotected

Returns the port instance.

Definition at line 106 of file physical/Port.hpp.

106 { return mInstance; }
string mInstance
The port instance.
const string& torc::physical::PortTemp::getName ( void  ) const
inlineprotected

Returns the port name.

Definition at line 104 of file physical/Port.hpp.

104 { return mName; }
string mName
The port name.
const string& torc::physical::PortTemp::getPin ( void  ) const
inlineprotected

Returns the port instance pin.

Definition at line 108 of file physical/Port.hpp.

108 { return mPin; }
string mPin
The port pin.

Friends And Related Function Documentation

friend class torc::XdlParser
friend

The XdlParser class has direct access to our internals.

Definition at line 84 of file physical/Port.hpp.

Field Documentation

string torc::physical::PortTemp::mInstance
protected

The port instance.

Definition at line 93 of file physical/Port.hpp.

string torc::physical::PortTemp::mName
protected

The port name.

Definition at line 91 of file physical/Port.hpp.

string torc::physical::PortTemp::mPin
protected

The port pin.

Definition at line 95 of file physical/Port.hpp.


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