clsModuleType Class Reference

object of the class is utilized to store information about templatized module types More...

#include <model.h>


Public Member Functions

 clsModuleType (string nm)
 constructor
 ~clsModuleType ()
 destructor
bool operator< (clsModuleType const &c) const
 definition of the '<' operator over class objects
bool operator!= (clsModuleType c) const
 definition of the '!=' operator over class objects
bool operator* (clsModuleType const &c) const
 definition of the '*' operator over class objects
string getName () const
 returns caller's name
bool addTranis (string s)
 adds transparency data to an object
bool addPort (string s)
 adds port to an object
void setArea (string s)
 sets formula for area computation to an object
string getArea ()
 gets object's formula for area computation
void setPower (string s)
 sets formula for power-consumption computation to an object
string getPower ()
 gets object's formula for power-consumption
set< tMTypeData, lt_mtdata >
::iterator 
getSTranisBegin ()
 returns begining of setOfTRANIS set
set< tMTypeData, lt_mtdata >
::iterator 
getSTranisEnd ()
 returns end of setOfTRANIS set
set< string >::iterator getSPortsBegin ()
 returns begining of setOfPorts set
set< string >::iterator getSPortsEnd ()
 returns end of setOfPorts set

Private Attributes

string name
 module-type template name
string area
 module-type formula to be used for computing area of particular template instance
string power
 module-type formula to be used for computing power consumption of particular template instance
set< tMTypeData, lt_mtdatasetOfTRANIS
 set of transparency data of the module-type
set< string > setOfPorts
 set of port names of the module-type


Detailed Description

object of the class is utilized to store information about templatized module types

templatized module types are read from a library whose name can be specified by means of tool's command line parameters (see tool's help to -L command line parameter). Map of the class objects is common and stored globally (in clsDesign::mapModType) for all circuits within clsDesign scope.


Constructor & Destructor Documentation

clsModuleType::clsModuleType ( string  nm  )  [inline]

constructor

clsModuleType::~clsModuleType (  )  [inline]

destructor


Member Function Documentation

bool clsModuleType::operator< ( clsModuleType const &  c  )  const [inline]

definition of the '<' operator over class objects

bool clsModuleType::operator!= ( clsModuleType  c  )  const [inline]

definition of the '!=' operator over class objects

bool clsModuleType::operator* ( clsModuleType const &  c  )  const [inline]

definition of the '*' operator over class objects

string clsModuleType::getName (  )  const [inline]

returns caller's name

bool clsModuleType::addTranis ( string  s  ) 

adds transparency data to an object

bool clsModuleType::addPort ( string  s  ) 

adds port to an object

void clsModuleType::setArea ( string  s  )  [inline]

sets formula for area computation to an object

string clsModuleType::getArea (  )  [inline]

gets object's formula for area computation

void clsModuleType::setPower ( string  s  )  [inline]

sets formula for power-consumption computation to an object

string clsModuleType::getPower (  )  [inline]

gets object's formula for power-consumption

set<tMTypeData, lt_mtdata>::iterator clsModuleType::getSTranisBegin (  )  [inline]

returns begining of setOfTRANIS set

set<tMTypeData, lt_mtdata>::iterator clsModuleType::getSTranisEnd (  )  [inline]

returns end of setOfTRANIS set

set<string>::iterator clsModuleType::getSPortsBegin (  )  [inline]

returns begining of setOfPorts set

set<string>::iterator clsModuleType::getSPortsEnd (  )  [inline]

returns end of setOfPorts set


Field Documentation

string clsModuleType::name [private]

module-type template name

string clsModuleType::area [private]

module-type formula to be used for computing area of particular template instance

string clsModuleType::power [private]

module-type formula to be used for computing power consumption of particular template instance

set of transparency data of the module-type

set<string> clsModuleType::setOfPorts [private]

set of port names of the module-type


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

Generated on Mon Aug 25 08:39:25 2008 for TASTE by  doxygen 1.5.6