This class handles the Assessment Model Script Interface.
More...
This class handles the Assessment Model Script Interface.
◆ getAssessmentItemValue()
QString AssessmentModelScriptInterface::getAssessmentItemValue |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
Returns the value of the assessment item for the specified network at the given node.
- Parameters
-
networkType,where | the following are valid network types: user, answer, initial, lastAssessed, assessed. |
idpath,the | path to the assessment item node. For example, Network:PC0:Default Gateway. |
- Returns
- QString, the value of the assessment item for the specified network.
◆ peakAssessmentItemID()
vector< QString > AssessmentModelScriptInterface::peakAssessmentItemID |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
Returns the list of child assessment node IDs for the specified network at the given node.
- Parameters
-
networkType,where | the following are valid network types: user, answer, initial, lastAssessed, assessed. |
idpath,the | path to the assessment item node. For example, Network:PC0. |
- Returns
- vector<QString>, the list of child assessment node IDs for the specified network at the given node.
◆ refreshAssessmentItemsView()
bool AssessmentModelScriptInterface::refreshAssessmentItemsView |
( |
| ) |
|
Updates the Assessment Item tree view in the Activity Results page.
- Returns
- bool, true if the Assessment Items view was refreshed successfully, otherwise false.
◆ setAssessmentItemFeedback()
bool AssessmentModelScriptInterface::setAssessmentItemFeedback |
( |
QString |
, |
|
|
QString |
|
|
) |
| |
Sets the assessment item feedback string.
- Returns
- bool, true if the assessment item feedback was set successfully, otherwise false.
◆ setUseCache()
void AssessmentModelScriptInterface::setUseCache |
( |
bool |
| ) |
|
Enables or Disable the TreeNodes to be cached.
- Parameters
-
cache,if | true the Tree Nodes will be cached, false and they won't. |
The documentation for this class was generated from the following file: