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.
Classes | Public Types | Static Public Member Functions | List of all members
xtd::system_report Class Referencefinal

#include <system_report.h>


Provides system report about the current system environment.

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.


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. More...
using special_folder_collection = std::vector< std::pair< std::string, std::string > >
 Represents a folders collection. More...
using system_color_collection = std::vector< std::pair< std::string, xtd::drawing::color > >
 Represents a colors collection. More...
using system_font_collection = std::vector< std::pair< std::string, xtd::drawing::font > >
 Represents a fonts collection. More...
using system_font_family_collection = std::vector< std::pair< std::string, xtd::drawing::font_family > >
 Represents a font famlilies collection. More...
using system_information_collection = std::vector< std::pair< std::string, std::string > >
 Represents a system informations collection. More...
using xtd_library_collection = std::vector< xtd_library >
 Represents a xtd libraries collection. More...

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. More...
static std::string to_xml () noexcept
 Generates xml format string report. More...
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 famlilies 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 ( )

Generates string report.

A string report.

◆ to_xml()

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

Generates xml format string report.

An xml format string report.
Implement xml report

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