OnixS C++ ICE Binary Order Entry Handler 1.1.1
API Documentation
Loading...
Searching...
No Matches
BuildInfo Class Reference

Public Member Functions

const char * compilerInfo () const noexcept
bool debug () const noexcept
std::string toString () const
 BuildInfo (const char *const compilerInfo, bool debug) noexcept

Static Public Member Functions

static BuildInfo library () noexcept

Detailed Description

Definition at line 55 of file Tools.h.

Constructor & Destructor Documentation

◆ BuildInfo()

BuildInfo ( const char *const compilerInfo,
bool debug )
inlinenoexcept

Definition at line 77 of file Tools.h.

78 : compilerInfo_(compilerInfo)
79 , debug_(debug)
80 {}

Member Function Documentation

◆ compilerInfo()

const char * compilerInfo ( ) const
inlinenoexcept
Returns
Information about compiler.

Definition at line 59 of file Tools.h.

60 {
61 return compilerInfo_;
62 }

◆ debug()

bool debug ( ) const
inlinenoexcept
Returns
Whether build is debug.

Definition at line 65 of file Tools.h.

66 {
67 return debug_;
68 }

◆ library()

BuildInfo library ( )
staticnoexcept

Returns build info for the library binary itself.

This is implemented inside the library (.cpp) and reflects how the library was compiled.

◆ toString()

std::string toString ( ) const
Returns
Human-readable presentation.