MLPACK  1.0.10
Classes | Functions | Variables
mlpack::util Namespace Reference

Classes

class  CLIDeleter
 Extremely simple class whose only job is to delete the existing CLI object at the end of execution. More...
 
class  NullOutStream
 Used for Log::Debug when not compiled with debugging symbols. More...
 
class  Option
 A static object whose constructor registers a parameter with the CLI class. More...
 
class  PrefixedOutStream
 Allows us to output to an ostream with a prefix at the beginning of each line, in the same way we would output to cout or cerr. More...
 
class  ProgramDoc
 A static object whose constructor registers program documentation with the CLI class. More...
 
class  SaveRestoreUtility
 

Functions

std::string GetVersion ()
 This will return either "mlpack x.y.z" or "mlpack trunk-rXXXXX" depending on whether or not this is a stable version of mlpack or an svn revision. More...
 
std::string Indent (std::string input, const size_t howManyTabs=1)
 A utility function that replaces all all newlines with a number of spaces depending on the indentation level. More...
 

Variables

static CLIDeleter cliDeleter
 Declare the deleter. More...
 

Function Documentation

std::string mlpack::util::GetVersion ( )

This will return either "mlpack x.y.z" or "mlpack trunk-rXXXXX" depending on whether or not this is a stable version of mlpack or an svn revision.

std::string mlpack::util::Indent ( std::string  input,
const size_t  howManyTabs = 1 
)

A utility function that replaces all all newlines with a number of spaces depending on the indentation level.

Referenced by mlpack::kernel::PSpectrumStringKernel::ToString().

Variable Documentation

CLIDeleter mlpack::util::cliDeleter
static

Declare the deleter.

Definition at line 43 of file cli_deleter.hpp.