File: VehicleDescriptor.h

package info (click to toggle)
mummy 1.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,628 kB
  • ctags: 1,000
  • sloc: cpp: 10,667; cs: 1,107; makefile: 22; xml: 8; sh: 5
file content (55 lines) | stat: -rw-r--r-- 1,003 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef _VehicleDescriptor_h
#define _VehicleDescriptor_h

#include "VehiclesConfig.h"

// VehicleDescriptor is a "yet to be documented" example class...

class iwhUtility base_dll VehicleDescriptor
{
public:
  //--------------------------------------------------------------------------
  /// <summary>
  /// Test "enum" wrapping
  /// </summary>
  enum ManufacturerID
  {
    Unknown,
    Ford = 1001,
    GM,
    Chrysler,
    BMW,
    Honda,
    Nissan,
    Toyota,
    EtcEtcEtc
  };

  //--------------------------------------------------------------------------
  /// <summary>
  /// Fields
  /// </summary>
  int ZMarker;
  int ColorCode;
  float MileageEstimate;
  bool BoolTest1;
  int NumberOfDoors;
  int NumberOfCylinders;
  bool BoolTest2;
  char c1;
  unsigned char uc1;
  short s1;
  unsigned short us1;
  int i1;
  unsigned int ui1;
  long l1;
  unsigned long ul1;
  float f1;
  double d1;
  VehicleInt64 i64;
  VehicleUInt64 ui64;
  ManufacturerID enumMfgID;
  int AMarker;
};

#endif