TRLC Platform Library  1.0.0
Header-only C++ library for compile-time platform detection and abstraction
trlc::platform::PlatformReport Struct Reference

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...
 

Detailed Description

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.

Definition at line 111 of file core.hpp.

Member Function Documentation

◆ generateReport()

std::string trlc::platform::PlatformReport::generateReport ( ) const
inline

◆ getBriefSummary()

std::string trlc::platform::PlatformReport::getBriefSummary ( ) const
inline

Get a brief one-line summary of the platform.

Returns
Short platform description string
Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 303 of file core.hpp.

◆ printReport()

void trlc::platform::PlatformReport::printReport ( ) const
inline

Member Data Documentation

◆ architecture

ArchitectureInfo trlc::platform::PlatformReport::architecture

CPU architecture information (type, endianness, capabilities)

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 119 of file core.hpp.

◆ compiler

CompilerInfo trlc::platform::PlatformReport::compiler

Compiler information (type, version, capabilities)

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 113 of file core.hpp.

◆ cpp_standard

CppStandardInfo trlc::platform::PlatformReport::cpp_standard

C++ standard information (version, feature support)

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 122 of file core.hpp.

◆ endianness

EndiannessInfo trlc::platform::PlatformReport::endianness

Endianness information (byte order, utilities)

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 128 of file core.hpp.

◆ features

FeatureSet trlc::platform::PlatformReport::features

Language and runtime feature availability.

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 125 of file core.hpp.

◆ platform

PlatformInfo trlc::platform::PlatformReport::platform

Platform/OS information (type, environment, API support)

Examples
/home/tranglc/sources/trlc-platform/include/trlc/platform/core.hpp.

Definition at line 116 of file core.hpp.


The documentation for this struct was generated from the following file: