Visioscan Set SDK Libraries 1.0.28
Visioscan Set SDK Help documentation file for C++ and C++/CLI
 
Loading...
Searching...
No Matches
WRawDataError.h
1#pragma once
2#include <RawDataSensor.h>
6public ref class WRawDataError
7{
8public:
10 _rawError = new RawDataError();
11 }
12
14 _rawError = new RawDataError();
15 ErrorCode = toCopy->ErrorCode;
16 ErrorDate = toCopy->ErrorDate;
17 }
18
19
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
58private:
59 RawDataError* _rawError;
60};
61
Helper to encapsulate the the raw data error.
Definition RawDataError.h:15
A wrapper on the RawDataError data encapsulation.
Definition WRawDataError.h:7
~WRawDataError()
Definition WRawDataError.h:20
WRawDataError()
Definition WRawDataError.h:9
WRawDataError(WRawDataError^ toCopy)
Definition WRawDataError.h:13
property int ErrorCode
Definition WRawDataError.h:23