shark::Shark Class Reference

Allows for querying compile settings at runtime. Provides the current command line arguments to the rest of the library. More...

#include <shark/Core/Shark.h>

Classes

struct  Version
 Models a version according to the major.minor.patch versioning scheme. More...
 

Static Public Member Functions

static BuildType buildType ()
 Accesses the build type of the library. More...
 
static bool hasOpenMp ()
 Queries whether Shark has been compiled with OpenMP enabled. More...
 
static bool isDynamicLibrary ()
 Queries whether Shark has been compiled as dynamic library. More...
 
static bool isOfficialRelease ()
 Checks whether this is an official Shark release. More...
 
template<typename Stream >
static void info (Stream &s)
 Prints information about the Shark Machine Learning Library to the supplied stream. More...
 

Protected Member Functions

 Shark ()
 
 Shark (const Shark &shark)
 
Sharkoperator= (const Shark &rhs)
 

Detailed Description

Allows for querying compile settings at runtime. Provides the current command line arguments to the rest of the library.

Definition at line 161 of file Shark.h.

Constructor & Destructor Documentation

◆ Shark() [1/2]

shark::Shark::Shark ( )
protected

◆ Shark() [2/2]

shark::Shark::Shark ( const Shark shark)
protected

Member Function Documentation

◆ buildType()

static BuildType shark::Shark::buildType ( )
inlinestatic

Accesses the build type of the library.

Definition at line 218 of file Shark.h.

◆ hasOpenMp()

static bool shark::Shark::hasOpenMp ( )
inlinestatic

Queries whether Shark has been compiled with OpenMP enabled.

Definition at line 225 of file Shark.h.

◆ info()

template<typename Stream >
static void shark::Shark::info ( Stream &  s)
inlinestatic

Prints information about the Shark Machine Learning Library to the supplied stream.

Definition at line 247 of file Shark.h.

References shark::DEBUG_BUILD_TYPE, and shark::RELEASE_BUILD_TYPE.

Referenced by main().

◆ isDynamicLibrary()

static bool shark::Shark::isDynamicLibrary ( )
inlinestatic

Queries whether Shark has been compiled as dynamic library.

Definition at line 232 of file Shark.h.

◆ isOfficialRelease()

static bool shark::Shark::isOfficialRelease ( )
inlinestatic

Checks whether this is an official Shark release.

Definition at line 239 of file Shark.h.

◆ operator=()

Shark& shark::Shark::operator= ( const Shark rhs)
protected

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