Table of Contents Previous Next
Logo
The C++ Utility Library : F.15 Version Information
Copyright © 2003-2010 ZeroC, Inc.

F.15 Version Information

The header file IceUtil/Config.h defines two macros that expand to the version of the Ice run time:
#define ICE_STRING_VERSION "3.3.0" // "<major>.<minor>.<patch>"
#define ICE_INT_VERSION 30300      // AABBCC, with AA=major,
                                   // BB=minor, CC=patch
ICE_STRING_VERSION is a string literal in the form <major>.<minor>.<patch>, for example, 3.3.0. For beta releases, the version is <major>.<minor>b, for example, 3.3b.
INT_VERSION is an integer literal in the form AABBCC, where AA is the major version number, BB is the minor version number, and CC is patch level, for example, 30300 for version 3.3.0. For beta releases, the patch level is set to 51 so, for example, for version 3.3b, the value is 30351.

Table of Contents Previous Next
Logo