![]() |
Kactus2
Kactus2 reference guide
|
Parameter finder. More...
#include <ParameterFinder.h>
Public Member Functions | |
virtual | ~ParameterFinder ()=default |
virtual QStringList | getAllParameterIds () const =0 |
virtual int | getNumberOfParameters () const =0 |
virtual QSharedPointer< Parameter > | getParameterWithID (QStringView parameterId) const =0 |
virtual bool | hasId (QStringView id) const =0 |
virtual QString | nameForId (QStringView id) const =0 |
virtual void | registerParameterModel (QAbstractItemModel const *model)=0 |
virtual QString | valueForId (QStringView id) const =0 |
Parameter finder.
Definition at line 23 of file ParameterFinder.h.
|
virtualdefault |
The destructor.
|
pure virtual |
Gets all of the ids of components parameters.
Implemented in ComponentAndInstantiationsParameterFinder, ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, MultipleParameterFinder, and ParameterCache.
|
pure virtual |
Gets the number of parameters in the component.
Implemented in ComponentAndInstantiationsParameterFinder, ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, MultipleParameterFinder, and ParameterCache.
|
pure virtual |
Get the parameter corresponding the id.
[in] | parameterId | The id of the parameter being searched for. |
Implemented in ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, MultipleParameterFinder, and ParameterCache.
|
pure virtual |
Checks if a parameter with the given id exists.
[in] | id | The id to search for. |
Implemented in ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, MultipleParameterFinder, and ParameterCache.
|
pure virtual |
Finds the name of the parameter with the given id.
[in] | id | The id to search for. |
Implemented in ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, and MultipleParameterFinder.
|
pure virtual |
Registers a parameter model that can modify parameters for the finder.
[in] | model | The model to register. |
Implemented in ComponentInstantiationParameterFinder, ComponentParameterFinder, ListParameterFinder, MultipleParameterFinder, and ParameterCache.
|
pure virtual |
Finds the value of the parameter with the given id.
[in] | id | The id of the parameter to search for. |
Implemented in ComponentInstanceParameterFinder, ComponentInstantiationParameterFinder, ComponentParameterFinder, DesignParameterFinder, ListParameterFinder, and MultipleParameterFinder.