Namespaces | Macros | Functions
os.h File Reference

Operating system dependent functions. More...

#include <string>
#include "os/path.h"
+ Include dependency graph for os.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 basis
 
 basis::os
 

Macros

#define _BASIS_OS_H
 

Functions

bool basis::os::emptydir (const std::string &path)
 Remove files and directories from directory. More...
 
std::string basis::os::exedir ()
 Get canonical path to directory containing executable file. More...
 
std::string basis::os::exename ()
 Get name of executable. More...
 
std::string basis::os::exepath ()
 Get canonical path of executable file. More...
 
std::string basis::os::getcwd ()
 Get absolute path of the (current) working directory. More...
 
bool basis::os::makedirs (const std::string &path)
 Make directory including parent directories if required. More...
 
bool basis::os::mkdir (const std::string &path)
 Make directory. More...
 
std::string basis::os::readlink (const std::string &path)
 Read value of symbolic link. More...
 
bool basis::os::rmdir (const std::string &path)
 Remove empty directory. More...
 
bool basis::os::rmtree (const std::string &path)
 Remove whole directory tree. More...
 

Detailed Description

Operating system dependent functions.

Definition in file os.h.

Macro Definition Documentation

§ _BASIS_OS_H

#define _BASIS_OS_H

Definition at line 17 of file os.h.