Open CASCADE Technology 7.8.0
|
Enumerations | |
enum | TDocStd_FormatVersion { TDocStd_FormatVersion_VERSION_2 = 2 , TDocStd_FormatVersion_VERSION_3 , TDocStd_FormatVersion_VERSION_4 , TDocStd_FormatVersion_VERSION_5 , TDocStd_FormatVersion_VERSION_6 , TDocStd_FormatVersion_VERSION_7 , TDocStd_FormatVersion_VERSION_8 , TDocStd_FormatVersion_VERSION_9 , TDocStd_FormatVersion_VERSION_10 , TDocStd_FormatVersion_VERSION_11 , TDocStd_FormatVersion_VERSION_12 , TDocStd_FormatVersion_CURRENT = TDocStd_FormatVersion_VERSION_12 } |
Storage format versions of OCAF documents in XML and binary file formats. More... | |
enum | { TDocStd_FormatVersion_LOWER = TDocStd_FormatVersion_VERSION_2 , TDocStd_FormatVersion_UPPER = TDocStd_FormatVersion_VERSION_12 } |
Storage format versions of OCAF documents in XML and binary file formats.
OCAF document file format evolves and a new version number indicates each improvement of the format. This enumeration lists all versions of an OCAF document. TDocStd_FormatVersion_CURRENT value refers to the last file format version. By default, Open CASCADE Technology writes new documents using the last file format version. The last version of Open CASCADE Technology is able to read old documents of any version. However, a previous version of Open CASCADE Technology may not be able to read a new document. In this case use the method ChangeStorageFormatVersion() from TDocStd_Document to change the file format version. Then, save the document by means of SaveAs() from TDocStd_Application.
If it is necessary to improve an XML or binary file format of OCAF document, follow please the next steps:
Enumerator | |
---|---|
TDocStd_FormatVersion_VERSION_2 | First supported version. |
TDocStd_FormatVersion_VERSION_3 | OCCT 6.3.0.
|
TDocStd_FormatVersion_VERSION_4 | OCCT 6.3.1.
|
TDocStd_FormatVersion_VERSION_5 | OCCT 6.3.1.
|
TDocStd_FormatVersion_VERSION_6 | OCCT 6.5.0.
|
TDocStd_FormatVersion_VERSION_7 | OCCT 6.7.0.
|
TDocStd_FormatVersion_VERSION_8 | OCCT 7.0.0.
|
TDocStd_FormatVersion_VERSION_9 | OCCT 7.1.0.
|
TDocStd_FormatVersion_VERSION_10 | OCCT 7.2.0.
|
TDocStd_FormatVersion_VERSION_11 | OCCT 7.6.0.
|
TDocStd_FormatVersion_VERSION_12 | OCCT 7.6.0.
|
TDocStd_FormatVersion_CURRENT | Current version. |