#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_mtdata > | setOfTRANIS |
set of transparency data of the module-type | |
set< string > | setOfPorts |
set of port names of the module-type |
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.
clsModuleType::clsModuleType | ( | string | nm | ) | [inline] |
constructor
clsModuleType::~clsModuleType | ( | ) | [inline] |
destructor
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
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<tMTypeData, lt_mtdata> clsModuleType::setOfTRANIS [private] |
set of transparency data of the module-type
set<string> clsModuleType::setOfPorts [private] |
set of port names of the module-type