|
ngscopeclient v0.2
|
Match if the input's digital width matches the requested value. More...
#include <InputConstraint.h>


Public Member Functions | |
| InputConstraintDigitalWidth (FlowGraphNode *sink, size_t width) | |
| virtual bool | Check (StreamDescriptor source) override |
| Checks if the given input satisfies the constraint. | |
| virtual std::string | ToString () override |
| Convert this constraint to a string. | |
Public Member Functions inherited from InputConstraint | |
| InputConstraint (FlowGraphNode *sink) | |
Protected Attributes | |
| size_t | m_width |
Protected Attributes inherited from InputConstraint | |
| FlowGraphNode * | m_sink |
Additional Inherited Members | |
Protected Member Functions inherited from InputConstraint | |
| std::string | StreamTypeToString (Stream::StreamType type) |
Match if the input's digital width matches the requested value.
Does not verify the input is a digital scalar, waveform, or bus; separate constraints are needed for that
|
inlineoverridevirtual |
Checks if the given input satisfies the constraint.
Implements InputConstraint.
|
inlineoverridevirtual |
Convert this constraint to a string.
Implements InputConstraint.