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.
 
static bool hasOpenMp ()
 Queries whether Shark has been compiled with OpenMP enabled.
 
static bool isDynamicLibrary ()
 Queries whether Shark has been compiled as dynamic library.
 
static bool isOfficialRelease ()
 Checks whether this is an official Shark release.
 
template<typename Stream >
static void info (Stream &s)
 Prints information about the Shark Machine Learning Library to the supplied stream.
 

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 169 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 226 of file Shark.h.

Referenced by info().

◆ hasOpenMp()

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

Queries whether Shark has been compiled with OpenMP enabled.

Definition at line 233 of file Shark.h.

Referenced by info().

◆ info()

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

◆ isDynamicLibrary()

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

Queries whether Shark has been compiled as dynamic library.

Definition at line 240 of file Shark.h.

Referenced by info().

◆ isOfficialRelease()

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

Checks whether this is an official Shark release.

Definition at line 247 of file Shark.h.

Referenced by info().

◆ operator=()

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

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