StormByte-System 2.0.0
C++26 process and environment module of the StormByte suite
 
Loading...
Searching...
No Matches
directory.hxx File Reference
#include <StormByte/error.hxx>
#include <StormByte/string/string.hxx>
#include <StormByte/system/visibility.h>
#include <string>
#include <system_error>
Include dependency graph for directory.hxx:

Go to the source code of this file.

Classes

struct  StormByte::Error::Domain< StormByte::System::Directory::Error >
 Domain for StormByte::System::Directory::Error. More...
 
struct  std::is_error_code_enum< StormByte::System::Directory::Error >
 Marks StormByte::System::Directory::Error as an std::error_code enum. More...
 

Namespaces

namespace  StormByte
 
namespace  StormByte::System
 System module of the StormByte suite.
 
namespace  StormByte::System::Directory
 Directory locations of this process or user.
 
namespace  std
 STL namespace.
 

Enumerations

enum class  StormByte::System::Directory::Error { StormByte::System::Directory::Success = 0 , StormByte::System::Directory::Permission , StormByte::System::Directory::NotFound , StormByte::System::Directory::Failed }
 Directory enumerators. More...
 

Functions

StormByte::Error::Fault StormByte::System::Directory::LastError () noexcept
 Last Directory error on this thread.
 
bool StormByte::System::Directory::Current (StormByte::String::String &path)
 Current working directory.
 
bool StormByte::System::Directory::Home (StormByte::String::String &path)
 Current user home directory.
 
bool StormByte::System::Directory::Temporary (StormByte::String::String &path)
 Directory used for temporary files.
 
bool StormByte::System::Directory::CurrentExecutable (StormByte::String::String &path)
 Directory that contains the running executable.
 
const StormByte::Error::Category< Directory::Error > & StormByte::System::directory_category () noexcept
 Category singleton for Directory::Error.
 
std::error_code StormByte::System::make_error_code (Directory::Error e) noexcept
 Builds an std::error_code from Directory::Error.