Cbeam
Loading...
Searching...
No Matches
system_folders.hpp File Reference
#include <cbeam/error/runtime_error.hpp>
#include "windows_config.hpp"
#include <Knownfolders.h>
#include <shlobj_core.h>
#include <filesystem>
#include <mutex>
#include <string>
Include dependency graph for system_folders.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::filesystem
 Facilitates file I/O, path normalization, and directory operations in a cross-platform manner. Its classes and functions simplify reading, writing, creating, or deleting files and directories, handling discrepancies in path formats, symbolic links, and OS-specific peculiarities.
 

Functions

std::filesystem::path cbeam::filesystem::get_home_dir ()
 Retrieves the path to the user's home directory, based on the operating system.
 
std::filesystem::path cbeam::filesystem::get_user_data_dir ()
 Retrieves the path for storing user-specific application data.
 
std::filesystem::path cbeam::filesystem::get_user_cache_dir ()
 Retrieves the path for storing user-specific cache data.