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

Loading...
Searching...
No Matches
WAvailableResolution.h
1#pragma once
2#include "WUtilities.h"
3#include "WEnums.h"
4
5 using namespace WEnumerations;
6
7 namespace WUtils {
8 public ref class WAvailableResolution
9 {
10 public:
11 WAvailableResolution() {
12 _availableRes = new AvailableResolution();
13 }
14
15 WAvailableResolution(WAvailableResolution^ toCopy) {
16 _availableRes = new AvailableResolution();
17 _availableRes->SetCode(static_cast<SensorResolutionFrequencyEnum>(toCopy->Code));
18 _availableRes->SetName(string(WConverter::ConvertToNativeString(toCopy->Name)));
19 }
20
21 ~WAvailableResolution() {
22 delete(_availableRes);
23 }
24
25 property AngularResolution Code {
26 AngularResolution get() {
27 return static_cast<AngularResolution>(_availableRes->GetCode());
28 }
29 void set(AngularResolution x) {
30 _availableRes->SetCode(static_cast<SensorResolutionFrequencyEnum>(x));
31 }
32 }
33
34 property String^ Name {
35 String^ get() {
36 return gcnew String(_availableRes->GetName().c_str());
37 }
38
39 void set(String^ x) {
40 _availableRes->SetName(string(WConverter::ConvertToNativeString(x)));
41 }
42 }
43 private:
44 AvailableResolution* _availableRes;
45 };
46}
47
WUtils
Definition WAvailableResolution.h:7
WEnumerations
Definition WEnums.h:4
WEnumerations::AngularResolution
AngularResolution
Definition WEnums.h:8
AvailableResolution
Definition AvailableResolution.h:11
WUtils::WAvailableResolution
Definition WAvailableResolution.h:9
WUtils::WAvailableResolution::WAvailableResolution
WAvailableResolution(WAvailableResolution^ toCopy)
Definition WAvailableResolution.h:15
WUtils::WAvailableResolution::Code
property AngularResolution Code
Definition WAvailableResolution.h:25
WUtils::WAvailableResolution::~WAvailableResolution
~WAvailableResolution()
Definition WAvailableResolution.h:21
WUtils::WAvailableResolution::WAvailableResolution
WAvailableResolution()
Definition WAvailableResolution.h:11
WUtils::WConverter::ConvertToNativeString
static char * ConvertToNativeString(String^ toConvert)
Definition WUtilities.h:16