xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | List of all members
xtd::system_report Class Referencefinal

#include <system_report.h>

Definition

Provides system report about the current system environment.

Library
xtd
Remarks
The system_report class provides static properties that can be used to get information and creates a string and xml format string reports about the current system environment.

Inherits xtd::static_object.

Classes

class  xtd_library
 Represents a xtd library that contains name, version and paths. More...
 

Public Types

using environment_variable_collection = std::vector< std::pair< std::string, std::string > >
 Represents an environment variables collection.
 
using special_folder_collection = std::vector< std::pair< std::string, std::string > >
 Represents a folders collection.
 
using system_color_collection = std::vector< std::pair< std::string, xtd::drawing::color > >
 Represents a colors collection.
 
using system_font_collection = std::vector< std::pair< std::string, xtd::drawing::font > >
 Represents a fonts collection.
 
using system_font_family_collection = std::vector< std::pair< std::string, xtd::drawing::font_family > >
 Represents a font families collection.
 
using system_information_collection = std::vector< std::pair< std::string, std::string > >
 Represents a system informations collection.
 
using xtd_library_collection = std::vector< xtd_library >
 Represents a xtd libraries collection.
 

Static Public Member Functions

static xtd::compiler compiler () noexcept
 
static environment_variable_collection environment_variables () noexcept
 
static system_font_family_collection generic_font_families () noexcept
 
static xtd::cpp_language language () noexcept
 
static std::locale locale () noexcept
 
static xtd::operating_system operating_system () noexcept
 
static xtd::processor processor () noexcept
 
static std::vector< xtd::forms::screenscreens () noexcept
 
static special_folder_collection special_folders () noexcept
 
static xtd::diagnostics::stack_trace stack_trace () noexcept
 
static xtd::diagnostics::stack_trace stack_trace (size_t skip_frames) noexcept
 
static system_color_collection system_colors () noexcept
 
static system_font_collection system_fonts () noexcept
 
static system_information_collection system_informations () noexcept
 
static std::string to_string () noexcept
 Generates string report.
 
static std::string to_xml () noexcept
 Generates xml format string report.
 
static xtd_library_collection xtd_libraries () noexcept
 

Member Typedef Documentation

◆ environment_variable_collection

using xtd::system_report::environment_variable_collection = std::vector<std::pair<std::string, std::string> >

Represents an environment variables collection.

◆ special_folder_collection

using xtd::system_report::special_folder_collection = std::vector<std::pair<std::string, std::string> >

Represents a folders collection.

◆ system_color_collection

using xtd::system_report::system_color_collection = std::vector<std::pair<std::string, xtd::drawing::color> >

Represents a colors collection.

◆ system_font_collection

using xtd::system_report::system_font_collection = std::vector<std::pair<std::string, xtd::drawing::font> >

Represents a fonts collection.

◆ system_font_family_collection

Represents a font families collection.

◆ system_information_collection

using xtd::system_report::system_information_collection = std::vector<std::pair<std::string, std::string> >

Represents a system informations collection.

◆ xtd_library_collection

Represents a xtd libraries collection.

Member Function Documentation

◆ to_string()

static std::string xtd::system_report::to_string ( )
staticnoexcept

Generates string report.

Returns
A string report.

◆ to_xml()

static std::string xtd::system_report::to_xml ( )
staticnoexcept

Generates xml format string report.

Returns
An xml format string report.
Todo:
Implement xml report

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