TRLC Platform Library
1.0.0
Header-only C++ library for compile-time platform detection and abstraction
|
Consolidated platform information structure. More...
#include <trlc/platform/core.hpp>
Public Member Functions | |
std::string | generateReport () const |
void | printReport () const |
std::string | getBriefSummary () const |
Get a brief one-line summary of the platform. More... | |
Public Attributes | |
CompilerInfo | compiler |
Compiler information (type, version, capabilities) More... | |
PlatformInfo | platform |
Platform/OS information (type, environment, API support) More... | |
ArchitectureInfo | architecture |
CPU architecture information (type, endianness, capabilities) More... | |
CppStandardInfo | cpp_standard |
C++ standard information (version, feature support) More... | |
FeatureSet | features |
Language and runtime feature availability. More... | |
EndiannessInfo | endianness |
Endianness information (byte order, utilities) More... | |
Consolidated platform information structure.
This structure aggregates all platform detection results from individual modules into a single convenient package for reporting and analysis.
All information is gathered at compile time where possible, with runtime features detected during initialization if needed.
|
inline |
|
inline |
Get a brief one-line summary of the platform.
|
inline |
ArchitectureInfo trlc::platform::PlatformReport::architecture |
CPU architecture information (type, endianness, capabilities)
CompilerInfo trlc::platform::PlatformReport::compiler |
Compiler information (type, version, capabilities)
CppStandardInfo trlc::platform::PlatformReport::cpp_standard |
C++ standard information (version, feature support)
EndiannessInfo trlc::platform::PlatformReport::endianness |
Endianness information (byte order, utilities)
FeatureSet trlc::platform::PlatformReport::features |
Language and runtime feature availability.
PlatformInfo trlc::platform::PlatformReport::platform |
Platform/OS information (type, environment, API support)