Maintains a collection of scheduler features.
#include <Workspace/DataExecution/Execution/schedulerfeatures.h>
◆ SchedulerFeatures() [1/2]
constructs the features collection
◆ SchedulerFeatures() [2/2]
◆ ~SchedulerFeatures()
◆ add()
- Parameters
-
newFeature | the feature to add |
Adds a feature to the collection, if the name of the feature is not already in the collection
◆ begin()
◆ clear()
clears the features in the collection
◆ contains() [1/2]
◆ contains() [2/2]
◆ count()
- Returns
- returns a count of the features in the collection
◆ empty()
◆ end()
◆ indexOf()
- Returns
- returns the index of the provided feature
◆ inheritFeaturesFrom()
- Parameters
-
systemScopeFeatures | list of features inherited from, usually from system scope. |
Inherit system scope features into the features list and adding up the count.
◆ insertAt()
inserts a feature into a location in the collection
◆ load()
void load |
( |
const QJsonArray & |
array | ) |
|
◆ mergeFeaturesByCount()
- Parameters
-
newFeatures | list of features to be added. |
Merge new features into the features list by adding up the count.
◆ operator=()
◆ operator[]() [1/2]
- Parameters
-
index | the index of the element to return |
- Returns
- returns the feature at index Array access operator
◆ operator[]() [2/2]
- Parameters
-
index | the index of the element to return |
- Returns
- returns the feature at index array access operator
◆ remove()
- Parameters
-
index | the index of the feature to remove |
Removes a feature from the collection
◆ save()
void save |
( |
QJsonArray & |
array | ) |
const |
◆ toString()
QString toString |
( |
| ) |
const |