Signal declaration class.
More...
#include <SignalDeclaration.h>
|
| SignalDeclaration () |
| Default constructor creates a "noname" signal with width 0.
|
|
| SignalDeclaration (string _name, int _width) |
| Constructor allowing to set the signal's name and width. More...
|
|
| SignalDeclaration (string _name, int _width, int _printBase) |
| Constructor allowing to set the signal's name and width. More...
|
|
| SignalDeclaration (const string _name, const int _width, const int _printBase, const bool _appendWidthInCaption) |
| Constructor allowing to set the signal's name and width. More...
|
|
virtual | ~SignalDeclaration () |
| Destructor.
|
|
int | GetPrintBase () |
|
int | GetWidth () const |
|
string | GetName () const |
|
bool | IsAppendWidthInCaption () const |
|
Signal declaration class.
- Author
- Michael Muehlberghuber (mbgh,michmueh)
- Date
- 21 August 2014
- Version
- 0.1
SignalDeclaration::SignalDeclaration |
( |
string |
_name, |
|
|
int |
_width |
|
) |
| |
Constructor allowing to set the signal's name and width.
- Parameters
-
_name | Name of the signal. |
_width | Width of the signal in bits. |
SignalDeclaration::SignalDeclaration |
( |
string |
_name, |
|
|
int |
_width, |
|
|
int |
_printBase |
|
) |
| |
Constructor allowing to set the signal's name and width.
- Parameters
-
_name | Name of the signal. |
_width | Width of the signal in bits. |
_printBase | The number base in which the signal should be printed per default. |
SignalDeclaration::SignalDeclaration |
( |
const string |
_name, |
|
|
const int |
_width, |
|
|
const int |
_printBase, |
|
|
const bool |
_appendWidthInCaption |
|
) |
| |
Constructor allowing to set the signal's name and width.
- Parameters
-
_name | Name of the signal. |
_width | Width of the signal in bits. |
_printBase | The number base in which the signal should be printed per default. |
_appendWidthInCaption | Determines whether the width of the signal should be appending in the signal caption. |
The documentation for this class was generated from the following files: