TVGenerator  0.1
 All Classes Files Functions Pages
SignalDeclaration Class Reference

Signal declaration class. More...

#include <SignalDeclaration.h>

Public Member Functions

 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
 

Detailed Description

Signal declaration class.

Author
Michael Muehlberghuber (mbgh,michmueh)
Date
21 August 2014
Version
0.1

Constructor & Destructor Documentation

SignalDeclaration::SignalDeclaration ( string  _name,
int  _width 
)

Constructor allowing to set the signal's name and width.

Parameters
_nameName of the signal.
_widthWidth of the signal in bits.
SignalDeclaration::SignalDeclaration ( string  _name,
int  _width,
int  _printBase 
)

Constructor allowing to set the signal's name and width.

Parameters
_nameName of the signal.
_widthWidth of the signal in bits.
_printBaseThe 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
_nameName of the signal.
_widthWidth of the signal in bits.
_printBaseThe number base in which the signal should be printed per default.
_appendWidthInCaptionDetermines whether the width of the signal should be appending in the signal caption.

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