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

Loading...
Searching...
No Matches
WRawDataError.h
1#pragma once
2#include <RawDataSensor.h>
6 public ref class WRawDataError
7{
8 public:
9 WRawDataError() {
10 _rawError = new RawDataError();
11 }
12
13 WRawDataError(WRawDataError^ toCopy) {
14 _rawError = new RawDataError();
15 ErrorCode = toCopy->ErrorCode;
16 ErrorDate = toCopy->ErrorDate;
17 }
18
19
20 ~WRawDataError() {
21 delete(_rawError);
22 }
23 property int ErrorCode {
24 int get() {
25 return _rawError->GetErrorCode();
26 }
27
28 void set(int x) {
29 _rawError->SetErrorCode(x);
30 }
31 }
32 property int ErrorDate {
33 int get() {
34 return _rawError->GetErrorDate();
35 }
36
37 void set(int x) {
38 _rawError->SetErrorDate(x);
39 }
40 }
41
42 static bool operator== (WRawDataError^ pComp1, WRawDataError^ pComp2) {
43 if (System::Object::ReferenceEquals(pComp1, pComp2))
44 return true;
45
46 if (System::Object::ReferenceEquals(pComp1, nullptr) ||
47 System::Object::ReferenceEquals(pComp2, nullptr)) {
48 return false;
49 }
50 return pComp1->ErrorCode == pComp2->ErrorCode &&
51 pComp1->ErrorDate == pComp2->ErrorDate;
52 }
53
54 static bool operator!= (WRawDataError^ pComp1, WRawDataError^ pComp2) {
55 return !(pComp1 == pComp2);
56 }
57
58 private:
59 RawDataError* _rawError;
60};
61
RawDataError
Helper to encapsulate the the raw data error.
Definition RawDataError.h:15
WRawDataError
A wrapper on the RawDataError data encapsulation.
Definition WRawDataError.h:7
WRawDataError::~WRawDataError
~WRawDataError()
Definition WRawDataError.h:20
WRawDataError::WRawDataError
WRawDataError()
Definition WRawDataError.h:9
WRawDataError::WRawDataError
WRawDataError(WRawDataError^ toCopy)
Definition WRawDataError.h:13
WRawDataError::ErrorCode
property int ErrorCode
Definition WRawDataError.h:23