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

Go to the source code of this file.

Classes

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

Namespaces

namespace  StormByte
 
namespace  StormByte::System
 System module of the StormByte suite.
 
namespace  StormByte::System::Host
 Identity and capacity of this machine.
 
namespace  std
 STL namespace.
 

Enumerations

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

Functions

StormByte::Error::Fault StormByte::System::Host::LastError () noexcept
 Last Host error on this thread.
 
bool StormByte::System::Host::Name (StormByte::String::String &name)
 Host name of this machine.
 
StormByte::String::String StormByte::System::Host::Architecture ()
 Instruction-set name of this machine.
 
StormByte::String::String StormByte::System::Host::CPU ()
 Processor brand string.
 
StormByte::String::String StormByte::System::Host::OS ()
 Operating system brand and version.
 
StormByte::String::String StormByte::System::Host::Kernel ()
 Kernel identification.
 
StormByte::Size StormByte::System::Host::PageSize ()
 System page size.
 
StormByte::Size StormByte::System::Host::PhysicalMemory ()
 Installed physical memory.
 
StormByte::Size StormByte::System::Host::AvailableMemory ()
 Currently available physical memory.
 
unsigned StormByte::System::Host::LogicalProcessors () noexcept
 Logical processor count.
 
unsigned StormByte::System::Host::Bitness () noexcept
 Pointer width of this process.
 
const StormByte::Error::Category< Host::Error > & StormByte::System::host_category () noexcept
 Category singleton for Host::Error.
 
std::error_code StormByte::System::make_error_code (Host::Error e) noexcept
 Builds an std::error_code from Host::Error.