.. role:: blue :class: blue Version Container ================= .. _Version_container_: .. версия ядра: The type :blue:`VERSION` defines a version. It is defined in the file *system_types.h*. The class :blue:`VersionContainer` defines a container for versions of geometric model objects. It implements the following main methods: :blue:`VERSION` GetMathVersion\() - Get the main version (the mathematical kernel version). :blue:`VERSION` GetAppVersion\( size_t ind ) - Get the additional version (the target application version). void Flush\() - Flush the container. void SetVersion\( size_t index, :blue:`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 :blue:`VersionContainer` is defined in the file *io_version_container.h*.