Provides system report about the current system environment.
Public Types | |
enum class | reports { stack_trace , libraries , processor , operating_system , compiler , language , locale , toolkit , environment_variables , special_folders , system_colors , generic_font_families , system_fonts , screens , system_informations , all } |
Specifies enumerated constants used by xtd::system_report::to_json, xtd::system_report::to_string and xtd::system_report::to_xml methods to generate reports. More... | |
Public Aliases | |
using | environment_variable_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::string > > |
Represents an environment variables collection. | |
using | special_folder_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::string > > |
Represents a folders collection. | |
using | system_color_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::drawing::color > > |
Represents a colors collection. | |
using | system_font_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::drawing::font > > |
Represents a fonts collection. | |
using | system_font_family_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::drawing::font_family > > |
Represents a font families collection. | |
using | system_information_collection = std::vector< xtd::collections::generic::key_value_pair< xtd::string, xtd::string > > |
Represents a system informations collection. | |
Public Static Properties | |
static xtd::compiler | compiler () noexcept |
Gets an xtd::compiler object that contains the current compiler identifier and version number. | |
static environment_variable_collection | environment_variables () noexcept |
Retrieves all environment variable names and their values from the current process. | |
static const system_font_family_collection & | generic_font_families () noexcept |
Gets a generic font_families. | |
static xtd::cpp_language | language () noexcept |
Gets an xtd::cpp_language object that contains the current c++ standard identifier and version number. | |
static std::locale | locale () noexcept |
Gets a copy of the global C++ locale, which is the locale most recently used as the argument to See std::locale::global or a copy of See std::locale::classic() if no call to See std::locale::global has been made. | |
static xtd::operating_system | operating_system () noexcept |
Gets an xtd::operating_system object that contains the current platform identifier and version number. | |
static xtd::processor | processor () noexcept |
Gets an xtd::processor object that contains the processor identifier. | |
static std::vector< xtd::forms::screen > | screens () noexcept |
Gets an array of all displays on the system. | |
static const special_folder_collection & | special_folders () noexcept |
Gets directory paths to system special folders. | |
static xtd::diagnostics::stack_trace | stack_trace () noexcept |
Gets current stack trace information. | |
static xtd::diagnostics::stack_trace | stack_trace (size_t skip_frames) noexcept |
Gets current stack trace information with specified number of frames to skip. | |
static const system_color_collection & | system_colors () noexcept |
Gets system colors. | |
static const system_font_collection & | system_fonts () noexcept |
Gets system fonts. | |
static system_information_collection | system_informations () noexcept |
Gets system informations. | |
static xtd::toolkit | toolkit () noexcept |
Gets an xtd::toolkit object that contains the current toolkit identifier and version number. | |
static const environment::xtd_library_collection & | xtd_libraries () noexcept |
Gets xtd libraries informations. | |
Public Static Methods | |
static xtd::string | to_json () noexcept |
Generates json format string report. | |
static xtd::string | to_json (reports reports) noexcept |
Generates json format string report. | |
static xtd::string | to_string () noexcept |
Generates string report. | |
static xtd::string | to_string (reports reports) noexcept |
Generates string report. | |
static xtd::string | to_xml () noexcept |
Generates xml format string report. | |
static xtd::string | to_xml (reports reports) noexcept |
Generates xml format string report. | |
using xtd::system_report::environment_variable_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::string> > |
Represents an environment variables collection.
using xtd::system_report::special_folder_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::string> > |
Represents a folders collection.
using xtd::system_report::system_color_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::drawing::color> > |
Represents a colors collection.
using xtd::system_report::system_font_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::drawing::font> > |
Represents a fonts collection.
using xtd::system_report::system_font_family_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::drawing::font_family> > |
Represents a font families collection.
using xtd::system_report::system_information_collection = std::vector<xtd::collections::generic::key_value_pair<xtd::string, xtd::string> > |
Represents a system informations collection.
|
strong |
Specifies enumerated constants used by xtd::system_report::to_json, xtd::system_report::to_string and xtd::system_report::to_xml methods to generate reports.
|
staticnoexcept |
Gets an xtd::compiler object that contains the current compiler identifier and version number.
|
staticnoexcept |
Retrieves all environment variable names and their values from the current process.
|
staticnoexcept |
Gets a generic font_families.
|
staticnoexcept |
Gets an xtd::cpp_language object that contains the current c++ standard identifier and version number.
|
staticnoexcept |
Gets a copy of the global C++ locale, which is the locale most recently used as the argument to See std::locale::global or a copy of See std::locale::classic() if no call to See std::locale::global has been made.
|
staticnoexcept |
Gets an xtd::operating_system object that contains the current platform identifier and version number.
|
staticnoexcept |
Gets an xtd::processor object that contains the processor identifier.
|
staticnoexcept |
Gets an array of all displays on the system.
|
staticnoexcept |
Gets directory paths to system special folders.
|
staticnoexcept |
Gets current stack trace information.
|
staticnoexcept |
Gets current stack trace information with specified number of frames to skip.
skip_frames | The number of frames to skip. |
|
staticnoexcept |
Gets system colors.
|
staticnoexcept |
Gets system fonts.
|
staticnoexcept |
Gets system informations.
|
staticnoexcept |
Gets an xtd::toolkit object that contains the current toolkit identifier and version number.
|
staticnoexcept |
Gets xtd libraries informations.
|
staticnoexcept |
Generates json format string report.
|
staticnoexcept |
Generates json format string report.
reports | A bitwise combination of the xtd::system_report::reports values. |
|
staticnoexcept |
Generates string report.
|
staticnoexcept |
Generates string report.
reports | A bitwise combination of the xtd::system_report::reports values. |
|
staticnoexcept |
|
staticnoexcept |
Generates xml format string report.
reports | A bitwise combination of the xtd::system_report::reports values. |