Cbeam
Loading...
Searching...
No Matches
info.hpp File Reference
#include <cctype>
#include <cstddef>
#include <string>
Include dependency graph for info.hpp:

Go to the source code of this file.

Namespaces

namespace  cbeam
 The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
 
namespace  cbeam::platform
 Groups platform-specific helpers for Windows, Linux, and macOS. These utilities detect CPU architecture, manage COM initialization on Windows, resolve runtime paths, handle system directories, and unify OS-level functionality behind well-defined C++ APIs.
 

Functions

std::string cbeam::platform::get_bit_architecture ()
 Returns the bitness (e.g. "64") of the current platform based on sizeof(std::size_t).
 
std::string cbeam::platform::get_platform_architecture ()
 Returns a string identifying the platform architecture (e.g., "x86", "ARM", "MIPS", etc.).
 
std::string cbeam::platform::get_architecture ()
 Returns a string describing both the architecture and bitness (e.g. "x86_64", "ARM32").
 
std::string cbeam::platform::get_kernel_name ()
 Returns the kernel or operating system name (e.g., "Windows", "Linux", "Darwin").