Ocean
Ocean::Build Class Reference

This class provides compiler build support. More...

Static Public Member Functions

static std::string platformType ()
 Returns a string holding the platform type. More...
 
static std::string architectureType ()
 Returns a string holding the target architecture type. More...
 
static std::string releaseType ()
 Returns a string holding the release type. More...
 
static std::string runtimeType ()
 Returns a string holding the runtime type. More...
 
static std::string compilerVersion ()
 Returns a string holding the compiler version. More...
 
static std::string buildString ()
 Returns a build string composed of platform type, architecture type, compiler version and release type. More...
 
static std::string buildDate (const char *date)
 Returns the date of the compiler building process as string. More...
 
static std::string buildTime (const char *time)
 Returns the time of the compiler building process as string. More...
 

Detailed Description

This class provides compiler build support.

Member Function Documentation

◆ architectureType()

static std::string Ocean::Build::architectureType ( )
static

Returns a string holding the target architecture type.

Platform type can be e.g. "arm", "arm64", "x64", "x86", or "i386"

Returns
Target platform

◆ buildDate()

static std::string Ocean::Build::buildDate ( const char *  date)
static

Returns the date of the compiler building process as string.

Parameters
dateCompiler build date which must be DATE
Returns
Date of build process

◆ buildString()

static std::string Ocean::Build::buildString ( )
static

Returns a build string composed of platform type, architecture type, compiler version and release type.

Returns
Build string

◆ buildTime()

static std::string Ocean::Build::buildTime ( const char *  time)
static

Returns the time of the compiler building process as string.

Parameters
timeCompiler build time which must be TIME
Returns
Time of build process

◆ compilerVersion()

static std::string Ocean::Build::compilerVersion ( )
static

Returns a string holding the compiler version.

Compiler version are e.g. "gc48", "gc49", "xc6", "xc8", "cl38", "vc08", "vc09", "vc10", "vc11", "vc12", or "vc14".

Returns
Compiler version

◆ platformType()

static std::string Ocean::Build::platformType ( )
static

Returns a string holding the platform type.

Platform type can be "android", "ios", "osx" or "win".

Returns
System type

◆ releaseType()

static std::string Ocean::Build::releaseType ( )
static

Returns a string holding the release type.

In debug mode "debug" is returned, in release mode an empty string is returned.

Returns
Release type

◆ runtimeType()

static std::string Ocean::Build::runtimeType ( )
static

Returns a string holding the runtime type.

Possible values are "shared" or "static"

Returns
Runtime type

The documentation for this class was generated from the following file: