View Issue Details

IDProjectCategoryView StatusLast Update
0013151Open CASCADEOCCT:Foundation Classespublic2012-01-13 17:06
ReporterabvAssigned Toabv 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.1.1 
Summary0013151: Provide complete version number of OCCT as hex
DescriptionCurrently version number of OCCT is defined in file Standard_Version.hxx by
separate components (major, minor, maintenance) or real or string (major.minor).

Though this allows easy checking for major and minor version number (by
comparing real values), comparison of complete version number (including
maintenance number) is not so easy

For that reason it is proposed to add definition of complete version number as
hex integer, with two positions per each major, minor, and maintenance number
(for instance, 0x060101 will stand for OCCT 6.1.0)
Additional information
and documentation updates
Documentation remark, added by ABV 2006-08-14 11:52:33:

New features:
New macro definition is added to Standard_Version.hxx: OCC_VERSION_HEX, which
defines complete version number of Open CASCADE Technology as hex number (with
two positions per each of major, minor, and maintenance version numbers). This
makes checks for precise version number of OCCT more conveninent. For instance,
to check that current version is OCCT 6.1.1 or above, one can put:

#if OCC_VERSION_HEX >= 0x060101


Improvements:


Changes:


Modified entities:

TagsNo tags attached.
Test case number

Attached Files

  • occ13151-abv-v1.tar.gz (564 bytes)
  • occ13151-abv-v2.tar.gz (631 bytes)

Activities

2006-08-09 08:38

 

occ13151-abv-v1.tar.gz (564 bytes)

2006-08-09 09:14

 

occ13151-abv-v2.tar.gz (631 bytes)

Issue History

Date Modified Username Field Change
2006-08-14 13:30 bugmaster Assigned To bugmaster => abv
2006-08-14 13:30 bugmaster Status new => assigned
2006-08-14 14:44 bugmaster Status assigned => verified
2006-11-01 18:22 bugmaster Status verified => closed
2006-11-01 18:22 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes
2012-01-13 17:06 atp Description Updated
2012-01-13 17:06 atp Additional Information Updated