Helper to encapsulate the configuration result.
More...
#include <ConfigurationResult.h>
Helper to encapsulate the configuration result.
◆ ConfigurationResult() [1/2]
ConfigurationResult::ConfigurationResult |
( |
| ) |
|
◆ ConfigurationResult() [2/2]
ConfigurationResult::ConfigurationResult |
( |
bool |
pResult | ) |
|
Copy constructor.
- Parameters
-
pResult | The result to be set |
◆ GetReasons()
vector< string > ConfigurationResult::GetReasons |
( |
| ) |
|
Gets the reason of failure.
- Returns
- The reasons as a vector of strings
◆ GetResult()
bool ConfigurationResult::GetResult |
( |
| ) |
|
Gets the result.
- Returns
- The result as an int
◆ PushReason()
void ConfigurationResult::PushReason |
( |
string |
reason | ) |
|
Push a reason into the internal reasons vector.
- Parameters
-
reason | The reason to be pushed |
◆ SetResult()
void ConfigurationResult::SetResult |
( |
bool |
pResult | ) |
|
Sets the result.
- Parameters
-
pResult | The result to be set |
The documentation for this class was generated from the following files: