Go to the documentation of this file.
26 #ifndef BASICS_OCCTVERSION_HXX
27 #define BASICS_OCCTVERSION_HXX
29 #include <Standard_Version.hxx>
31 #include <Standard_DefineHandle.hxx>
43 #ifdef OCC_VERSION_SERVICEPACK
44 # define OCC_VERSION_LARGE (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8 | OCC_VERSION_SERVICEPACK)
46 # ifdef OCC_VERSION_DEVELOPMENT
47 # define OCC_VERSION_LARGE ((OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8)-1)
49 # define OCC_VERSION_LARGE (OCC_VERSION_MAJOR << 24 | OCC_VERSION_MINOR << 16 | OCC_VERSION_MAINTENANCE << 8)
54 #if OCC_VERSION_MAJOR < 7
55 #define OCCT_DEFINE_STANDARD_RTTIEXT(C1,C2) DEFINE_STANDARD_RTTI(C1)
56 #define OCCT_IMPLEMENT_STANDARD_RTTIEXT(C1,C2) \
57 IMPLEMENT_STANDARD_HANDLE(C1,C2) \
58 IMPLEMENT_STANDARD_RTTIEXT(C1,C2)
60 #define OCCT_DEFINE_STANDARD_RTTIEXT(C1,C2) DEFINE_STANDARD_RTTIEXT(C1,C2)
61 #define OCCT_IMPLEMENT_STANDARD_RTTIEXT(C1,C2) IMPLEMENT_STANDARD_RTTIEXT(C1,C2)
64 #endif // BASICS_OCCTVERSION_HXX