Visioscan Set SDK Libraries 1.0.14
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
ConfigurationResult Class Reference

Helper to encapsulate the configuration result. More...

#include <ConfigurationResult.h>

Public Member Functions

 ConfigurationResult ()
 Base constructor.
 
 ConfigurationResult (bool pResult)
 Copy constructor.
 
void SetResult (bool pResult)
 Sets the result.
 
bool GetResult ()
 Gets the result.
 
vector< string > GetReasons ()
 Gets the reason of failure.
 
void PushReason (string reason)
 Push a reason into the internal reasons vector.
 

Detailed Description

Helper to encapsulate the configuration result.

Constructor & Destructor Documentation

◆ ConfigurationResult() [1/2]

ConfigurationResult::ConfigurationResult ( )

Base constructor.

◆ ConfigurationResult() [2/2]

ConfigurationResult::ConfigurationResult ( bool  pResult)

Copy constructor.

Parameters
pResultThe result to be set

Member Function Documentation

◆ 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
reasonThe reason to be pushed

◆ SetResult()

void ConfigurationResult::SetResult ( bool  pResult)

Sets the result.

Parameters
pResultThe result to be set

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