Version Container

The type VERSION defines a version. It is defined in the file system_types.h.

The class VersionContainer defines a container for versions of geometric model objects. It implements the following main methods:

VERSION GetMathVersion() - Get the main version (the mathematical kernel version).

VERSION GetAppVersion( size_t ind ) - Get the additional version (the target application version).

void Flush() - Flush the container.

void SetVersion( size_t index, VERSION ver ) - Set the version by index.

size_t ToMemory( const char *& ) - Write the container to the memory block.

size_t FromMemory( const char * ) - Read the container from the memory block.

The class VersionContainer is defined in the file io_version_container.h.