Public Methods | |
oaBuildInfo (const oaString &packageNameIn, const oaString &buildNameIn, const oaString &buildTimeIn, oaUInt4 buildNumberIn, oaUInt4 majorReleaseNum=OA_MAJOR_RELEASE_NUM, oaUInt4 minorReleaseNum=OA_MINOR_RELEASE_NUM) | |
const oaString & | getPackageName () const |
const oaString & | getBuildName () const |
const oaString & | getBuildTime () const |
oaUInt4 | getBuildNumber () const |
oaUInt4 | getMajorReleaseNum () const |
oaUInt4 | getMinorReleaseNum () const |
Static Public Methods | |
oaBuildInfo * | find (const oaString &packageName) |
void | getPackages (oaBuildInfoArray &packagesIn) |
oaBuildInfo ** | getPackages () |
oaUInt4 | getNumPackages () |
const oaString | getPlatformName () |
const oaString & | getAppBuildName () |
The build process defines the build name, time, and number, which helps identify the OpenAccess code in use. This information can be important when considering data compatibility. See Compatibility for OpenAccess Applications and Data in the Programmers Guide for more information.
|
This is the constructor for the oaBuildInfo object. It initializes the oaBuildInfo object with the specified values and adds it to the list of build packages.
|
|
This function searches the list of build packages for a package with the specified name. NULL is returned if no such package is registered.
|
|
This function returns the OpenAccess build name that the application is compiled against. |
|
This function returns the build name associated with this oaBuildInfo object. |
|
This function returns the build number associated with this oaBuildInfo object. |
|
This function returns the build time string associated with this oaBuildInfo object. |
|
This function returns the major release number associated with this oaBuildInfo object. |
|
This function returns the minor release number associated with this oaBuildInfo object. |
|
This function returns the number of registered build packages. |
|
This function returns the package name associated with this oaBuildInfo object. |
|
This function returns a pointer to the list of registered packages that have registered build information. This list can be traversed as follows:
oaBuildInfo **packages = oaBuildInfo::getPackages(); for (oaUInt4 i = 0; i < oaBuildInfo::getNumPackages(); i++) { oaBuildInfo *pkg = packages[i]; ... } |
|
This function returns the array of oaBuildInfo pointers stored by this class.
|
|
This static function returns the platform name string associated with this oaBuildInfo object. For a complete list of the OpenAccess supported platforms, refer to the OpenAccess 2.2 Installation and Configuration Notes. |
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.