Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
dynamic_library.hpp File Reference
#include <cstdint>
#include <expected>
#include <filesystem>
#include <string>
#include <string_view>
#include <type_traits>

Go to the source code of this file.

Classes

class  helios::utils::DynamicLibrary
 Cross-platform dynamic library loader. More...

Namespaces

namespace  helios
namespace  helios::utils

Enumerations

enum class  helios::utils::DynamicLibraryError : uint8_t {
  helios::utils::FileNotFound , helios::utils::LoadFailed , helios::utils::SymbolNotFound , helios::utils::InvalidHandle ,
  helios::utils::AlreadyLoaded , helios::utils::NotLoaded , helios::utils::PlatformError
}
 Error codes for dynamic library operations. More...

Functions

constexpr std::string_view helios::utils::DynamicLibraryErrorToString (DynamicLibraryError error) noexcept
 Gets a human-readable description for a DynamicLibraryError.
auto helios::utils::FromPath (const std::filesystem::path &path) -> std::expected< DynamicLibrary, DynamicLibraryError >