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

Go to the source code of this file.

Classes

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

Namespaces

namespace  StormByte
 
namespace  StormByte::System
 System module of the StormByte suite.
 
namespace  StormByte::System::File
 File locations of this process.
 
namespace  std
 STL namespace.
 

Enumerations

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

Functions

StormByte::Error::Fault StormByte::System::File::LastError () noexcept
 Last File error on this thread.
 
bool StormByte::System::File::Temporary (StormByte::String::String &path, std::string_view prefix="TMP", std::string_view suffix={})
 Create a unique empty temporary file.
 
bool StormByte::System::File::CurrentExecutable (StormByte::String::String &path)
 Full path of the running executable.
 
const StormByte::Error::Category< File::Error > & StormByte::System::file_category () noexcept
 Category singleton for File::Error.
 
std::error_code StormByte::System::make_error_code (File::Error e) noexcept
 Builds an std::error_code from File::Error.