CFx SDK Documentation  2022 SP0
GeLibVersion.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 
26 
27 #ifndef OD_GE_LIB_VERSION
28 #define OD_GE_LIB_VERSION
30 #include "GeExport.h"
31 #include "TD_PackPush.h"
32 
33 #define IMAGE_MAJOR_VER 2
34 #define IMAGE_MINOR_VER 0
35 #define IMAGE_CORRECTIVE_VER 0
36 #define IMAGE_INTERNAL_VER 0
46 {
47 public:
53  //FELIX_CHANGE_BEGIN
55  //FELIX_CHANGE_END
57  const OdGeLibVersion& source);
59  unsigned char major,
60  unsigned char minor,
61  unsigned char corrective,
62  unsigned char schema);
63 
67  unsigned char majorVersion () const;
68 
72  unsigned char minorVersion () const;
73 
77  unsigned char correctiveVersion () const;
78 
82  unsigned char schemaVersion () const;
83 
90  unsigned char major);
91 
98  unsigned char minor);
99 
106  unsigned char corrective);
107 
114  unsigned char schema);
115 
117  const OdGeLibVersion& libVersion) const;
118 
120  const OdGeLibVersion& libVersion) const;
121 
123  const OdGeLibVersion& libVersion) const;
124 
126  const OdGeLibVersion& libVersion) const;
127 
129  const OdGeLibVersion& libVersion) const;
130 
132  const OdGeLibVersion& libVersion) const;
133 
134  GE_STATIC_EXPORT static const OdGeLibVersion kRelease0_95; // GeLib release 0.
135 
136  GE_STATIC_EXPORT static const OdGeLibVersion kReleaseSed; // GeLib 14.0 release.
137 
138  GE_STATIC_EXPORT static const OdGeLibVersion kReleaseTah; // GeLib 15.0 release.
139 
140 private:
141  unsigned char mVersion[10];
142 };
143 
144 #include "TD_PackPop.h"
145 
146 #endif // OD_GE_LIB_VERSION
147 
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
#define GE_STATIC_EXPORT
Definition: GeExport.h:53
bool operator>=(const OdString &s1, const OdString &s2)
Definition: OdString.h:1351
bool operator<=(const OdString &s1, const OdString &s2)
Definition: OdString.h:1329
bool operator<(const OdString &s1, const OdString &s2)
Definition: OdString.h:1284
bool operator>(const OdString &s1, const OdString &s2)
Definition: OdString.h:1307
unsigned char schemaVersion() const
static GE_STATIC_EXPORT const OdGeLibVersion kReleaseSed
Definition: GeLibVersion.h:136
unsigned char minorVersion() const
OdGeLibVersion & setMinorVersion(unsigned char minor)
OdGeLibVersion & setSchemaVersion(unsigned char schema)
static GE_STATIC_EXPORT const OdGeLibVersion kReleaseTah
Definition: GeLibVersion.h:138
unsigned char majorVersion() const
OdGeLibVersion & setCorrectiveVersion(unsigned char corrective)
OdGeLibVersion(unsigned char major, unsigned char minor, unsigned char corrective, unsigned char schema)
static GE_STATIC_EXPORT const OdGeLibVersion kRelease0_95
Definition: GeLibVersion.h:134
OdGeLibVersion & setMajorVersion(unsigned char major)
OdGeLibVersion(const OdGeLibVersion &source)
unsigned char correctiveVersion() const
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)