BaseOneInputGate Class Reference
#include <BaseOneInputGate.h>
List of all members.
Constructor & Destructor Documentation
BaseOneInputGate::BaseOneInputGate |
( |
const std::string & |
outputName, |
|
|
const std::string & |
inputName | |
|
) |
| | [inline] |
Instantiates a new one input gate.
- Parameters:
-
| outputName | the output name |
| inputName | the input name |
Member Function Documentation
const std::string& BaseOneInputGate::getInputName |
( |
|
) |
const [inline] |
Gets the input name.
- Returns:
- the input name
const LogicVal& BaseOneInputGate::getInputVal |
( |
|
) |
const [inline] |
Gets the input val.
- Returns:
- the input val
const std::string& BaseOneInputGate::getOutputName |
( |
|
) |
const [inline] |
const LogicVal& BaseOneInputGate::getOutputVal |
( |
|
) |
const [inline] |
Gets the output val.
- Returns:
- the output val
bool BaseOneInputGate::hasInputName |
( |
const std::string & |
net |
) |
const [inline] |
- Parameters:
-
- Returns:
- true if has an input with the name equal to 'net'
Reimplemented in OneInputGate.
bool BaseOneInputGate::hasOutputName |
( |
const std::string & |
net |
) |
const [inline] |
- Parameters:
-
- Returns:
- true if has an output with the name equal to 'net'
Reimplemented in OneInputGate.
void BaseOneInputGate::setInputName |
( |
const std::string & |
inputName |
) |
[inline] |
Sets the input name.
- Parameters:
-
| inputName | the new input name |
void BaseOneInputGate::setInputVal |
( |
const LogicVal & |
inputVal |
) |
[inline] |
Sets the input val.
- Parameters:
-
| inputVal | the new input val |
void BaseOneInputGate::setOutputName |
( |
const std::string & |
outputName |
) |
[inline] |
Sets the output name.
- Parameters:
-
| outputName | the new output name |
void BaseOneInputGate::setOutputVal |
( |
const LogicVal & |
outputVal |
) |
[inline] |
Sets the output val.
- Parameters:
-
| outputVal | the new output val |
const std::string BaseOneInputGate::toString |
( |
|
) |
const [inline] |
- Returns:
- string representation
Reimplemented in OneInputGate.
Member Data Documentation
The documentation for this class was generated from the following file: