GenApi  3.5.1
EnumClasses.h
1 //-----------------------------------------------------------------------------
2 // (c) 2006 by Basler Vision Technologies
3 // Author: Margret Albrecht
4 //
5 // License: This file is published under the license of the EMVA GenICam Standard Group.
6 // A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
7 // If for some reason you are missing this file please contact the EMVA or visit the website
8 // (http://www.genicam.org) for a full copy.
9 //
10 // THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
11 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
12 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
14 // OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
15 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20 // POSSIBILITY OF SUCH DAMAGE.
21 //
22 //-----------------------------------------------------------------------------
28 #ifndef GENAPI_ENUMCLASSES_H
29 #define GENAPI_ENUMCLASSES_H
30 #include <GenApi/Types.h>
31 
32 namespace GENAPI_NAMESPACE
33 {
34  //*************************************************************
35  // Build in enummeration classes
36  //*************************************************************
37 
39 
40  class GENAPI_DECL ESignClass
41  {
42  public:
44  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ESign *pValue)
45  {
46  if (!pValue) return false;
47  if( ValueStr == "Signed" )
48  *pValue = Signed;
49  else if( ValueStr == "Unsigned" )
50  *pValue = Unsigned;
51  else
52  return false;
53  return true;
54  }
56  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ESign *pValue)
57  {
58 
59  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
60  if( *pValue == Signed )
61  ValueStr = "Signed";
62  else if( *pValue == Unsigned )
63  ValueStr = "Unsigned";
64  else
65  ValueStr = "_UndefinedSign";
66  }
67 
70  {
72  ToString(Result, &Value);
73  return Result;
74  }
75  };
76 
80  class GENAPI_DECL EEndianessClass
81  {
82  public:
84  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EEndianess *pValue)
85  {
86  if (!pValue) return false;
87  if( ValueStr == "BigEndian" )
88  *pValue = BigEndian;
89  else if( ValueStr == "LittleEndian" )
90  *pValue = LittleEndian;
91  else
92  return false;
93  return true;
94  }
96  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EEndianess *pValue)
97  {
98 
99  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
100  if( *pValue == BigEndian )
101  ValueStr = "BigEndian";
102  else if( *pValue == LittleEndian )
103  ValueStr = "LittleEndian";
104  else
105  ValueStr = "_UndefinedEndian";
106  }
107 
110  {
112  ToString(Result, &Value);
113  return Result;
114  }
115  };
116 
120  class GENAPI_DECL ERepresentationClass
121  {
122  public:
124  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ERepresentation *pValue)
125  {
126  if (!pValue) return false;
127  if( ValueStr == "Linear" )
128  *pValue = Linear;
129  else if( ValueStr == "Logarithmic" )
130  *pValue = Logarithmic;
131  else if( ValueStr == "Boolean" )
132  *pValue = Boolean;
133  else if( ValueStr == "PureNumber" )
134  *pValue = PureNumber;
135  else if( ValueStr == "HexNumber" )
136  *pValue = HexNumber;
137  else if( ValueStr == "IPV4Address" )
138  *pValue = IPV4Address;
139  else if( ValueStr == "MACAddress" )
140  *pValue = MACAddress;
141  else
142  return false;
143  return true;
144  }
146  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ERepresentation *pValue)
147  {
148  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
149  if( *pValue == Linear )
150  ValueStr = "Linear";
151  else if( *pValue == Logarithmic )
152  ValueStr = "Logarithmic";
153  else if( *pValue == Boolean )
154  ValueStr = "Boolean";
155  else if( *pValue == PureNumber )
156  ValueStr = "PureNumber";
157  else if( *pValue == HexNumber )
158  ValueStr = "HexNumber";
159  else if( *pValue == IPV4Address )
160  ValueStr = "IPV4Address";
161  else if( *pValue == MACAddress )
162  ValueStr = "MACAddress";
163  else
164  ValueStr = "_UndefinedRepresentation";
165  }
166 
169  {
171  ToString(Result, &Value);
172  return Result;
173  }
174  };
175 
179  class GENAPI_DECL EVisibilityClass
180  {
181  public:
183  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EVisibility *pValue)
184  {
185  if (!pValue) return false;
186  if( ValueStr == "Beginner" )
187  *pValue = Beginner;
188  else if( ValueStr == "Expert" )
189  *pValue = Expert;
190  else if( ValueStr == "Guru" )
191  *pValue = Guru;
192  else if( ValueStr == "Invisible" )
193  *pValue = Invisible;
194  else
195  return false;
196  return true;
197  }
199  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EVisibility *pValue)
200  {
201  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
202  if( *pValue == Beginner )
203  ValueStr = "Beginner";
204  else if( *pValue == Expert )
205  ValueStr = "Expert";
206  else if( *pValue == Guru )
207  ValueStr = "Guru";
208  else if( *pValue == Invisible )
209  ValueStr = "Invisible";
210  else
211  ValueStr = "_UndefinedVisibility";
212  }
215  {
217  ToString(Result, &Value);
218  return Result;
219  }
220  };
221 
225  class GENAPI_DECL EAccessModeClass
226  {
227  public:
229  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EAccessMode *pValue)
230  {
231 
232  if (!pValue) return false;
233  if( ValueStr == "RW" )
234  *pValue = RW;
235  else if( ValueStr == "RO" )
236  *pValue = RO;
237  else if( ValueStr == "WO" )
238  *pValue = WO;
239  else if( ValueStr == "NA" )
240  *pValue = NA;
241  else if( ValueStr == "NI" )
242  *pValue = NI;
243  else
244  return false;
245  return true;
246  }
248  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EAccessMode *pValue)
249  {
250  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
251  if( *pValue == RW )
252  ValueStr = "RW";
253  else if( *pValue == RO )
254  ValueStr = "RO";
255  else if( *pValue == WO )
256  ValueStr = "WO";
257  else if( *pValue == NI )
258  ValueStr = "NI";
259  else if( *pValue == NA )
260  ValueStr = "NA";
261  else
262  ValueStr = "_UndefinedAccessMode";
263  }
264 
267  {
269  ToString(Result, &Value);
270  return Result;
271  }
272  };
273 
277  class GENAPI_DECL ECachingModeClass
278  {
279  public:
281  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ECachingMode *pValue )
282  {
283  if( ! pValue ) return false;
284  if( ValueStr == "NoCache" )
285  *pValue = NoCache;
286  else if( ValueStr == "WriteThrough" )
287  *pValue = WriteThrough;
288  else if( ValueStr == "WriteAround" )
289  *pValue = WriteAround;
290  else
291  return false;
292  return true;
293  }
294  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ECachingMode *pValue)
295  {
296  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
297  if( *pValue == NoCache )
298  ValueStr = "NoCache";
299  else if( *pValue == WriteThrough )
300  ValueStr = "WriteThrough";
301  else if( *pValue == WriteAround )
302  ValueStr = "WriteAround";
303  else
304  ValueStr = "_UndefinedCachingMode";
305  }
308  {
310  ToString(Result, &Value);
311  return Result;
312  }
313 
314  };
315 
319  class GENAPI_DECL ENameSpaceClass
320  {
321  public:
323  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ENameSpace *pValue)
324  {
325  if (!pValue) return false;
326  if( ValueStr == "Custom" )
327  *pValue = Custom;
328  else if( ValueStr == "Standard" )
329  *pValue = Standard;
330  else
331  return false;
332  return true;
333  }
335  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ENameSpace *pValue)
336  {
337  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
338  if( *pValue == Custom )
339  ValueStr = "Custom";
340  else if( *pValue == Standard )
341  ValueStr = "Standard";
342  else
343  ValueStr = "_UndefinedNameSpace";
344  }
347  {
349  ToString(Result, &Value);
350  return Result;
351  }
352  };
353 
357  class GENAPI_DECL EYesNoClass
358  {
359  public:
361  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EYesNo *pValue)
362  {
363  if (!pValue) return false;
364  if( ValueStr == "Yes" )
365  *pValue = Yes;
366  else if( ValueStr == "No" )
367  *pValue = No;
368  else
369  return false;
370  return true;
371  }
373  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EYesNo *pValue)
374  {
375  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
376  if( *pValue == Yes)
377  ValueStr = "Yes";
378  else if( *pValue == No )
379  ValueStr = "No";
380  else
381  ValueStr = "_UndefinedYesNo";
382  }
383 
386  {
388  ToString(Result, &Value);
389  return Result;
390  }
391  };
392 
396  class GENAPI_DECL EStandardNameSpaceClass
397  {
398  public:
400  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EStandardNameSpace *pValue)
401  {
402  if (!pValue) return false;
403  if( ValueStr == "None" )
404  *pValue = None;
405  else if( ValueStr == "GEV" )
406  *pValue = GEV;
407  else if( ValueStr == "IIDC" )
408  *pValue = IIDC;
409  else if( ValueStr == "CL" )
410  *pValue = CL;
411  else if( ValueStr == "USB" )
412  *pValue = USB;
413  else
414  return false;
415  return true;
416  }
419  {
420  if( ! pValue ) throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
421  if( *pValue == None )
422  ValueStr = "None";
423  else if( *pValue == GEV )
424  ValueStr = "GEV";
425  else if( *pValue == IIDC )
426  ValueStr = "IIDC";
427  else if( *pValue == CL )
428  ValueStr = "CL";
429  else if( *pValue == USB )
430  ValueStr = "USB";
431  else
432  ValueStr = "_UndefinedStandardNameSpace";
433  }
436  {
438  ToString(Result, &Value);
439  return Result;
440  }
441  };
442 
446  class GENAPI_DECL ESlopeClass
447  {
448  public:
450  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ESlope *pValue)
451  {
452  if (!pValue)
453  return false;
454 
455  if( ValueStr == "Increasing" )
456  *pValue = Increasing;
457  else if( ValueStr == "Decreasing" )
458  *pValue = Decreasing;
459  else if( ValueStr == "Varying" )
460  *pValue = Varying;
461  else if( ValueStr == "Automatic" )
462  *pValue = Automatic;
463  else
464  return false;
465 
466  return true;
467  }
469  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ESlope *pValue)
470  {
471  if( ! pValue )
472  throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
473 
474  if( *pValue == Increasing )
475  ValueStr = "Increasing";
476  else if( *pValue == Decreasing )
477  ValueStr = "Decreasing";
478  else if( *pValue == Varying )
479  ValueStr = "Varying";
480  else if( *pValue == Automatic )
481  ValueStr = "Automatic";
482  else
483  ValueStr = "_UndefinedESlope";
484  }
487  {
489  ToString(Result, &Value);
490  return Result;
491  }
492  };
493 
497  class GENAPI_DECL EDisplayNotationClass
498  {
499  public:
501  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EDisplayNotation *pValue)
502  {
503  if (!pValue)
504  return false;
505 
506  if( ValueStr == "Automatic" )
507  *pValue = fnAutomatic;
508  else if( ValueStr == "Fixed" )
509  *pValue = fnFixed;
510  else if( ValueStr == "Scientific" )
511  *pValue = fnScientific;
512  else
513  return false;
514 
515  return true;
516  }
518  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EDisplayNotation *pValue)
519  {
520  if( ! pValue )
521  throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
522 
523  if( *pValue == fnAutomatic )
524  ValueStr = "Automatic";
525  else if( *pValue == fnFixed )
526  ValueStr = "Fixed";
527  else if( *pValue == fnScientific )
528  ValueStr = "Scientific";
529  else
530  ValueStr = "_UndefinedEDisplayNotation";
531  }
534  {
536  ToString(Result, &Value);
537  return Result;
538  }
539  };
540 
544  class GENAPI_DECL EInputDirectionClass
545  {
546  public:
548  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EInputDirection *pValue)
549  {
550  if (!pValue)
551  return false;
552 
553  if( ValueStr == "From" )
554  *pValue = idFrom;
555  else if( ValueStr == "To" )
556  *pValue = idTo;
557  else if( ValueStr == "None" )
558  *pValue = idNone;
559  else
560  return false;
561 
562  return true;
563  }
565  static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EInputDirection *pValue)
566  {
567  if( ! pValue )
568  throw INVALID_ARGUMENT_EXCEPTION( "NULL argument pValue" );
569 
570  if( *pValue == idFrom )
571  ValueStr = "From";
572  else if( *pValue == idTo )
573  ValueStr = "To";
574  else if( *pValue == idNone )
575  ValueStr = "None";
576  else
577  ValueStr = "_UndefinedEInputDirection";
578  }
581  {
583  ToString(Result, &Value);
584  return Result;
585  }
586  };
587 
589  class GENAPI_DECL EGenApiSchemaVersionClass
590  {
591  public:
593  static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EGenApiSchemaVersion *pValue)
594  {
595  if (!pValue) return false;
596  if (ValueStr == "v1_0")
597  *pValue = v1_0;
598  else if (ValueStr == "v1_1")
599  *pValue = v1_1;
600  else
601  return false;
602  return true;
603  }
606  {
607 
608  assert(!pValue);
609  if (*pValue == v1_0)
610  ValueStr = "v1_0";
611  else if (*pValue == v1_1)
612  ValueStr = "v1_1";
613  else
614  ValueStr = "_Undefined";
615  }
616 
619  {
621  ToString(Result, &Value);
622  return Result;
623  }
624  };
625 
626 
627 }
628 
629 #endif // ifndef GENAPI_ENUMCLASSES_H
the notation is scientific, e.g. 1.234e2
Definition: Types.h:180
slope is determined automatically by probing the function
Definition: Types.h:157
Register is little endian.
Definition: Types.h:108
SwissKnife is not used within a converter.
Definition: Types.h:232
Common types used in the public GenApi interface.
IP-Address.
Definition: Types.h:93
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EEndianess *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:84
name resides in custom namespace
Definition: Types.h:127
strictly monotonous decreasing
Definition: Types.h:155
enum GENAPI_NAMESPACE::_ESign ESign
slope changes, e.g. at run-time
Definition: Types.h:156
enum GENAPI_NAMESPACE::_EGenApiSchemaVersion EGenApiSchemaVersion
GenApi schema version.
enum GENAPI_NAMESPACE::_ENameSpace ENameSpace
Indicates schema version 1.0.
Definition: Types.h:238
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EInputDirection *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:565
name resides in 1394 IIDC namespace
Definition: Types.h:129
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
enum GENAPI_NAMESPACE::_ESlope ESlope
Write Only.
Definition: Types.h:56
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EDisplayNotation *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:518
enum GENAPI_NAMESPACE::_EYesNo EYesNo
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EEndianess *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:96
Visible for Gurus.
Definition: Types.h:69
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ESign *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:44
enum GENAPI_NAMESPACE::_EEndianess EEndianess
static GENICAM_NAMESPACE::gcstring ToString(EAccessMode Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:266
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ERepresentation *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:146
static GENICAM_NAMESPACE::gcstring ToString(EDisplayNotation Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:533
EEndianessClass holds conversion methods for the endianess enumeration.
Definition: EnumClasses.h:80
static GENICAM_NAMESPACE::gcstring ToString(ENameSpace Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:346
Holds conversion methods for the notation type of floats.
Definition: EnumClasses.h:544
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EYesNo *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:361
no
Definition: Types.h:141
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EGenApiSchemaVersion *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:593
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
Do not use cache.
Definition: Types.h:78
enum GENAPI_NAMESPACE::_EVisibility EVisibility
Indicates a swiss knife that it is used as worker for a converter computing FROM. ...
Definition: Types.h:230
EAccessModeClass holds conversion methods for the access mode enumeration.
Definition: EnumClasses.h:225
static GENICAM_NAMESPACE::gcstring ToString(EInputDirection Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:580
static GENICAM_NAMESPACE::gcstring ToString(EYesNo Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:385
ERepresentationClass holds conversion methods for the representation enumeration. ...
Definition: EnumClasses.h:120
name resides in GigE Vision namespace
Definition: Types.h:128
Not Visible.
Definition: Types.h:70
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EDisplayNotation *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:501
static GENICAM_NAMESPACE::gcstring ToString(ESign Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:69
Holds conversion methods for the namespace enumeration.
Definition: EnumClasses.h:319
static GENICAM_NAMESPACE::gcstring ToString(ERepresentation Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:168
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ESlope *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:469
static GENICAM_NAMESPACE::gcstring ToString(ESlope Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:486
MAC-Address.
Definition: Types.h:94
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
Holds conversion methods for the notation type of floats.
Definition: EnumClasses.h:497
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ERepresentation *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:124
helper class converting EGenApiSchemaVersion from and to string
Definition: EnumClasses.h:589
the notation is fixed, e.g. 123.4
Definition: Types.h:179
Write to cache and register.
Definition: Types.h:79
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EStandardNameSpace *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:418
static GENICAM_NAMESPACE::gcstring ToString(EStandardNameSpace Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:435
Write to register, write to cache on read.
Definition: Types.h:80
enum GENAPI_NAMESPACE::_EInputDirection EInputDirection
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ECachingMode *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:281
enum GENAPI_NAMESPACE::_EStandardNameSpace EStandardNameSpace
Integer is unsigned.
Definition: Types.h:46
EVisibilityClass holds conversion methods for the visibility enumeration.
Definition: EnumClasses.h:179
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ESign *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:56
Read and Write.
Definition: Types.h:58
Visible for experts or Gurus.
Definition: Types.h:68
Read Only.
Definition: Types.h:57
the notation if either scientific or fixed depending on what is shorter
Definition: Types.h:178
static GENICAM_NAMESPACE::gcstring ToString(EGenApiSchemaVersion Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:618
Not available.
Definition: Types.h:55
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, ENameSpace *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:335
ECachingModeClass holds conversion methods for the caching mode enumeration.
Definition: EnumClasses.h:277
name resides in USB namespace
Definition: Types.h:131
yes
Definition: Types.h:140
Always visible.
Definition: Types.h:67
Integer is signed.
Definition: Types.h:45
Register is big endian.
Definition: Types.h:107
Holds conversion methods for the standard namespace enumeration.
Definition: EnumClasses.h:396
A string class which is a clone of std::string.
Definition: GCString.h:50
name resides in one of the standard namespaces
Definition: Types.h:118
Slider with logarithmic behaviour.
Definition: Types.h:89
name resides in camera link namespace
Definition: Types.h:130
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EStandardNameSpace *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:400
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EAccessMode *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:248
Holds conversion methods for the standard namespace enumeration.
Definition: EnumClasses.h:357
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EGenApiSchemaVersion *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:605
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ENameSpace *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:323
Hex number in an edit control.
Definition: Types.h:92
#define INVALID_ARGUMENT_EXCEPTION
Fires an invalid argument exception, e.g. throw INVALID_ARGUMENT_EXCEPTION("%ld too large"...
Definition: GCException.h:237
ESignClass holds conversion methods for the sign enumeration.
Definition: EnumClasses.h:40
static GENICAM_NAMESPACE::gcstring ToString(EVisibility Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:214
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EYesNo *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:373
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EAccessMode *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:229
strictly monotonous increasing
Definition: Types.h:154
static GENICAM_NAMESPACE::gcstring ToString(ECachingMode Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:307
static GENICAM_NAMESPACE::gcstring ToString(EEndianess Value)
Converts a string to an int32_t property.
Definition: EnumClasses.h:109
Holds conversion methods for the converter formulas.
Definition: EnumClasses.h:446
Decimal number in an edit control.
Definition: Types.h:91
enum GENAPI_NAMESPACE::_EDisplayNotation EDisplayNotation
Slider with linear behavior.
Definition: Types.h:88
Indicates schema version 1.1.
Definition: Types.h:239
Not implemented.
Definition: Types.h:54
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, ESlope *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:450
static void ToString(GENICAM_NAMESPACE::gcstring &ValueStr, EVisibility *pValue)
Converts a string to an int32_t property.
Definition: EnumClasses.h:199
name resides in custom namespace
Definition: Types.h:117
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EInputDirection *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:548
Definition: ChunkAdapter.h:37
static bool FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, EVisibility *pValue)
Converts a string to enum value.
Definition: EnumClasses.h:183
Check box.
Definition: Types.h:90
Indicates a swiss knife that it is used as worker for a converter computing TO.
Definition: Types.h:231