A wrapper on the ConfigurationResult data encapsulation.
More...
#include <WConfigurationResult.h>
A wrapper on the ConfigurationResult data encapsulation.
◆ WConfigurationResult() [1/2]
WConfigurationResult::WConfigurationResult |
( |
| ) |
|
|
inline |
◆ WConfigurationResult() [2/2]
WConfigurationResult::WConfigurationResult |
( |
bool |
pResult | ) |
|
|
inline |
◆ ~WConfigurationResult()
WConfigurationResult::~WConfigurationResult |
( |
| ) |
|
|
inline |
◆ Result
property bool WConfigurationResult::Result |
Initial value:{
bool get() {
return _result->GetResult();
}
void set(bool x) {
_result->SetResult(x);
}
}
property List<String^>^ Reasons {
List<String^>^ get() {
vector<string> actual = _result->GetReasons();
List<String^>^ toReturn = gcnew List<String^>();
String^ toAdd;
for (int i = 0; i < actual.size(); i++) {
toAdd = gcnew String(actual[i].c_str());
toReturn->Add(toAdd);
}
return toReturn;
}
}
void PushReason(String^ pReason) {
_result->PushReason(WConverter::ConvertToNativeString(pReason));
}
private:
Helper to encapsulate the configuration result.
Definition ConfigurationResult.h:15
The documentation for this class was generated from the following file: