TTK
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
ttk::OsCall Class Reference

Os-specifics. More...

#include <Os.h>

Static Public Member Functions

static int getCurrentDirectory (std::string &directoryPath)
 
static float getMemoryInstantUsage ()
 
static float getTotalMemoryUsage ()
 
static int getNumberOfCores ()
 
static std::vector< std::string > listFilesInDirectory (const std::string &directoryName, const std::string &extension)
 
static int mkDir (const std::string &directoryName)
 
static int nearbyint (const double &x)
 
static int rmDir (const std::string &directoryName)
 
static int rmFile (const std::string &fileName)
 
static int roundToNearestInt (const double &val)
 

Detailed Description

Os-specifics.

Author
Julien Tierny julie.nosp@m.n.ti.nosp@m.erny@.nosp@m.lip6.nosp@m..fr
Date
June 2013.

Definition at line 61 of file Os.h.

Member Function Documentation

◆ getCurrentDirectory()

int ttk::OsCall::getCurrentDirectory ( std::string &  directoryPath)
static

Definition at line 34 of file Os.cpp.

◆ getMemoryInstantUsage()

float ttk::OsCall::getMemoryInstantUsage ( )
static

Definition at line 47 of file Os.cpp.

◆ getNumberOfCores()

int ttk::OsCall::getNumberOfCores ( )
static

Definition at line 87 of file Os.cpp.

◆ getTotalMemoryUsage()

float ttk::OsCall::getTotalMemoryUsage ( )
static

Definition at line 65 of file Os.cpp.

◆ listFilesInDirectory()

std::vector< std::string > ttk::OsCall::listFilesInDirectory ( const std::string &  directoryName,
const std::string &  extension 
)
static

Definition at line 95 of file Os.cpp.

◆ mkDir()

int ttk::OsCall::mkDir ( const std::string &  directoryName)
static

Definition at line 207 of file Os.cpp.

◆ nearbyint()

int ttk::OsCall::nearbyint ( const double &  x)
static

Definition at line 216 of file Os.cpp.

◆ rmDir()

int ttk::OsCall::rmDir ( const std::string &  directoryName)
static

Definition at line 226 of file Os.cpp.

◆ rmFile()

int ttk::OsCall::rmFile ( const std::string &  fileName)
static

Definition at line 230 of file Os.cpp.

◆ roundToNearestInt()

int ttk::OsCall::roundToNearestInt ( const double &  val)
inlinestatic

Definition at line 86 of file Os.h.


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