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

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< xtd::ustring, xtd::ustring > >
 Represents an environment variables collection. More...
 
using special_folder_collection = std::vector< std::pair< xtd::ustring, xtd::ustring > >
 Represents a folders collection. More...
 
using system_color_collection = std::vector< std::pair< xtd::ustring, xtd::drawing::color > >
 Represents a colors collection. More...
 
using system_font_collection = std::vector< std::pair< xtd::ustring, xtd::drawing::font > >
 Represents a fonts collection. More...
 
using system_font_family_collection = std::vector< std::pair< xtd::ustring, xtd::drawing::font_family > >
 Represents a font families collection. More...
 
using system_information_collection = std::vector< std::pair< xtd::ustring, xtd::ustring > >
 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 const system_font_family_collectiongeneric_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 const special_folder_collectionspecial_folders () noexcept
 
static xtd::diagnostics::stack_trace stack_trace () noexcept
 
static xtd::diagnostics::stack_trace stack_trace (size_t skip_frames) noexcept
 
static const system_color_collectionsystem_colors () noexcept
 
static const system_font_collectionsystem_fonts () noexcept
 
static system_information_collection system_informations () noexcept
 
static xtd::ustring to_string () noexcept
 Generates string report. More...
 
static xtd::ustring to_xml () noexcept
 Generates xml format string report. More...
 
static xtd::toolkit toolkit () noexcept
 
static const xtd_library_collectionxtd_libraries () noexcept
 

Member Typedef Documentation

◆ environment_variable_collection

Represents an environment variables collection.

◆ special_folder_collection

Represents a folders collection.

◆ system_color_collection

Represents a colors collection.

◆ system_font_collection

Represents a fonts collection.

◆ system_font_family_collection

Represents a font families collection.

◆ system_information_collection

Represents a system informations collection.

◆ xtd_library_collection

Represents a xtd libraries collection.

Member Function Documentation

◆ to_string()

static xtd::ustring xtd::system_report::to_string ( )
staticnoexcept

Generates string report.

Returns
A string report.
Examples:
system_report.cpp.

◆ to_xml()

static xtd::ustring xtd::system_report::to_xml ( )
staticnoexcept

Generates xml format string report.

Returns
An xml format string report.
Todo:
Implement xml report
Examples:
system_report.cpp.

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