| Visioscan Set SDK Libraries 1.0.28 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WConfigurationResult Class Reference

A wrapper on the ConfigurationResult data encapsulation. More...

`#include <WConfigurationResult.h>`

## Public Member Functions
| WConfigurationResult ()
| WConfigurationResult (bool pResult)
| ~WConfigurationResult ()

## Public Attributes
property bool | Result

## Detailed Description

A wrapper on the ConfigurationResult data encapsulation.

## Constructor & Destructor Documentation

## ◆ WConfigurationResult() [1/2]

WConfigurationResult::WConfigurationResult | ( |  | ) |
| inline

## ◆ WConfigurationResult() [2/2]

WConfigurationResult::WConfigurationResult | ( | bool | pResult | ) |
| inline

## ◆ ~WConfigurationResult()

WConfigurationResult::~WConfigurationResult | ( |  | ) |
| inline

## Member Data Documentation

## ◆ 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:
ConfigurationResult* _result
ConfigurationResult
Helper to encapsulate the configuration result.
Definition ConfigurationResult.h:15

The documentation for this class was generated from the following file:

- WConfigurationResult.h