xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd Namespace Reference

The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. More...

Namespaces

 collections
 The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
 
 diagnostics
 The xtd::diagnostics namespace provides classes that allow you to interact with system processes, event logs, and performance counters.
 
 drawing
 The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functionality is provided in the xtd::drawing::drawing_2d, xtd::drawing::imaging, and xtd::drawing::text namespaces.
 
 forms
 The xtd::forms namespace contains classes for creating Windows-based applications that take full advantage of the rich user interface features available in the Microsoft Windows operating system, Apple macOS and Linux like Ubuntu operating system.
 
 io
 The xtd::io namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
 
 tunit
 The tunit namespace contains a unit test library.
 

Classes

class  argument_exception
 The exception that is thrown when one of the arguments provided to a method is not valid. More...
 
class  argument_null_exception
 The exception that is thrown when one of the arguments provided to a method is null. More...
 
class  argument_out_of_range_exception
 The exception that is thrown when one of the arguments provided to a method is out of range. More...
 
class  arithmetic_exception
 The exception that is thrown for errors in an arithmetic, casting, or conversion operation. More...
 
class  background_color
 Represent background color output manipulator class. More...
 
class  basic_console
 Represents the standard input, output, and error streams for console applications. More...
 
class  beep
 Represent beep output manipulator class. More...
 
class  bit_converter
 Converts base data types to an std::vector of uint8_ts, and an std::vector of uint8_ts to base data types. More...
 
class  caller_info
 caller_info information class is used to store current file, current line and current function information. More...
 
class  compiler
 Represents information about c++ libraries, such as the version and standard identifier. This class cannot be inherited. More...
 
class  console_cancel_event_args
 Provides data for the console::cancel_key_press event. This class cannot be inherited. More...
 
class  console_key_info
 Specifies the standard keys on a console. More...
 
struct  const_overload
 Represents class that use to determine one of const overloaded methods. More...
 
class  cpp_language
 Represents information about c++ libraries, such as the version and langauge identifier. This class cannot be inherited. More...
 
class  date_times
 
class  debugstreambuf
 
class  delegate< result_t(arguments_t...)>
 Represents a delegate, which is a data structure that refers to a static method or to a class instance && an instance method of that class. The following example shows how to define a delegate named myMethoddelegate. Instances of this delegate are created for an instance method && a static method of the nested mySampleClass class. The delegate for the instance method requires an instance of mySampleClass. The mySampleClass instance is saved in a variable named mySC. More...
 
class  divided_by_zero_exception
 The exception that is thrown when there is an attempt to divide an integral or decimal value by zero. More...
 
class  domain_exception
 The exception that is thrown for errors in domain. That is, situations where the inputs are outside of the domain on which an operation is defined.. More...
 
class  environment
 The environment class. More...
 
class  event
 
class  event_args
 Represents the base class for classes that contain event data, and provides a value to use for events that do not include event data. More...
 
class  foreground_color
 Represent foreground color output manipulator class. More...
 
class  format_exception
 The exception that is thrown when the format of an argument does not meet the parameter specifications of the invoked method. More...
 
class  guid
 Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique identifier is required. Such an identifier has a very low probability of being duplicated. More...
 
class  icomparable
 
class  iequatable
 Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances. More...
 
class  immutable_basic_string
 Immutable basic_string<char_t> More...
 
class  index_out_of_range_exception
 The exception that is thrown when an attempt is made to access an element of an array with an index that is outside the bounds of the array. More...
 
class  interface
 Represent an interface class. More...
 
class  invalid_cast_exception
 The exception that is thrown for invalid casting or explicit conversion. More...
 
class  invalid_operation_exception
 The exception that is thrown when a method call is invalid for the object's current state. More...
 
class  invalid_program_exception
 The exception that is thrown when a program contains invalid metadata. Generally this indicates a bug in the compiler that generated the program. More...
 
class  length_exception
 The exception that is thrown when an attempts to exceed implementation defined length limits for some object. More...
 
struct  non_const_overload
 Represents class that use to determine one of non const overloaded methods. More...
 
class  not_finite_number_exception
 The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN). More...
 
class  not_implemented_exception
 The exception that is thrown when a requested method or operation is not implemented. More...
 
class  not_supported_exception
 The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. More...
 
class  null_pointer_exception
 The exception that is thrown when there is an attempt to dereference a null object pointer. More...
 
class  object
 Supports all classes in the xtd class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the xtd. It is the root of the type hierarchy. More...
 
class  operating_system
 Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited. More...
 
class  operation_canceled_exception
 The exception that is thrown in a thread upon cancellation of an operation that the thread was executing. More...
 
class  overflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an overflow. More...
 
struct  overload
 Represents class that use to determine one of const and non const overloaded methods. More...
 
class  platform_not_supported_exception
 The exception that is thrown when a feature does not run on a particular platform. More...
 
class  reset_color
 Represent reset color output manipulator class. More...
 
class  static_class
 Represent a static class. A static class can't be instancied (constructors are deleted). More...
 
class  strings
 The strings Caintains string operation methods. More...
 
class  system_exception
 Defines the base class for predefined exceptions in the xtd namespace. More...
 
class  time_out_exception
 The exception that is thrown when the time allotted for a process or operation has expired. More...
 
class  tracestreambuf
 
class  underflow_exception
 The exception that is thrown when an arithmetic, casting, or conversion operation in a checked context results in an underflow. More...
 
class  version
 
class  xml_syntax_exception
 The exception that is thrown when there is a syntax error in XML parsing. More...
 

Typedefs

template<typename... arguments_t>
using action = delegate< void(arguments_t...)>
 Represents a delegate that has variable parameters and does not return a value. More...
 
using byte = uint8_t
 Represents a 8-bit unsigned integer. More...
 
using char16 = char16_t
 Represents a 8-bit unicode character. More...
 
using char32 = char32_t
 Represents a 32-bit unicode character. More...
 
using char8 = char8_t
 Represents a 16-bit unicode character. More...
 
using console = basic_console< char >
 Represents the standard character input, output, and error streams for console applications. More...
 
using console_cancel_event_handler = xtd::delegate< void(console_cancel_event_args &)>
 Represents the method that will handle the cancel_key_press event of a xtd::console. More...
 
using decimal = decimal_t
 Represents a decimal-precision floating-point number. More...
 
template<typename type_t >
using event_handler = delegate< void(type_t, const event_args &)>
 
template<typename result_t , typename... arguments_t>
using func = delegate< result_t(arguments_t...)>
 Represents a delegate that has variables parameters and returns a value of the type specified by the result_t type. More...
 
using int16 = int16_t
 Represents a 16-bit signed integer. More...
 
using int32 = int32_t
 Represents a 32-bit signed integer. More...
 
using int64 = int64_t
 Represents a 64-bit signed integer. More...
 
using intptr = intptr_t
 Represent a pointer or a handle. More...
 
using istring = immutable_basic_string< char, std::char_traits< char >>
 Immutable string<char_t> More...
 
using iu16string = immutable_basic_string< char16_t, std::char_traits< char16_t >>
 Immutable u16string<char_t> More...
 
using iu32string = immutable_basic_string< char32_t, std::char_traits< char32_t >>
 Immutable u32string<char_t> More...
 
using iwstring = immutable_basic_string< wchar_t, std::char_traits< wchar_t >>
 Immutable wstring<char_t> More...
 
template<typename type_t >
using predicate = delegate< bool(type_t)>
 Represents a delagate that defines a set of criteria and determines whether the specified object meets those criteria. More...
 
using sbyte = int8_t
 Represents a 8-bit signed integer. More...
 
using size = size_t
 Represents a size of any object in bytes. More...
 
using type = std::type_info
 Stores information about a type. More...
 
using uchar = unsigned char
 Represents a 8-bit unsigned integer. More...
 
using uint = unsigned int
 Represents a 32-bit unsigned integer. More...
 
using uint16 = uint16_t
 Represents a 16-bit unsigned integer. More...
 
using uint32 = uint32_t
 Represents a 32-bit unsigned integer. More...
 
using uint64 = uint64_t
 Represents a 64-bit unsigned integer. More...
 
using uintptr = uintptr_t
 Represent a pointer or a handle. More...
 
using ulong = ulong_t
 Represents a 32-bit or 64-bit unsigned integer. More...
 
using ushort = ushort_t
 Represents a 16-bit unsigned integer. More...
 
using wchar = wchar_t
 Represents a wide character. More...
 
using wconsole = basic_console< wchar_t >
 Represents the standard wide character input, output, and error streams for console applications. More...
 

Enumerations

enum  build_type { build_type::debug = 0, build_type::release }
 Identifies the compiler, supported by an assembly. More...
 
enum  compiler_id { compiler_id::unknown = -1, compiler_id::microsoft_visual_studio, compiler_id::clang, compiler_id::gcc }
 Identifies the compiler, supported by an assembly. More...
 
enum  console_color {
  console_color::black, console_color::dark_blue, console_color::dark_green, console_color::dark_cyan,
  console_color::dark_red, console_color::dark_magenta, console_color::dark_yellow, console_color::gray,
  console_color::dark_gray, console_color::blue, console_color::green, console_color::cyan,
  console_color::red, console_color::magenta, console_color::yellow, console_color::white
}
 Specifies constants that define foreground and background colors for the console. More...
 
enum  console_key {
  console_key::backspace = 8, console_key::tab = 9, console_key::clear = 12, console_key::enter = 13,
  console_key::pause = 19, console_key::caps_lock = 20, console_key::escape = 27, console_key::spacebar = 32,
  console_key::page_up = 33, console_key::page_down = 34, console_key::end = 35, console_key::home = 36,
  console_key::left_arrow = 37, console_key::up_arrow = 38, console_key::right_arrow = 39, console_key::down_arrow = 40,
  console_key::select = 41, console_key::print = 42, console_key::execute = 43, console_key::print_screen = 44,
  console_key::insert = 45, console_key::del = 46, console_key::help = 47, console_key::d0 = 48,
  console_key::d1 = 49, console_key::d2 = 50, console_key::d3 = 51, console_key::d4 = 52,
  console_key::d5 = 53, console_key::d6 = 54, console_key::d7 = 55, console_key::d8 = 56,
  console_key::d9 = 57, console_key::a = 65, console_key::b = 66, console_key::c = 67,
  console_key::d = 68, console_key::e = 69, console_key::f = 70, console_key::g = 71,
  console_key::h = 72, console_key::i = 73, console_key::j = 74, console_key::k = 75,
  console_key::l = 76, console_key::m = 77, console_key::n = 78, console_key::o = 79,
  console_key::p = 80, console_key::q = 81, console_key::r = 82, console_key::s = 83,
  console_key::t = 84, console_key::u = 85, console_key::v = 86, console_key::w = 87,
  console_key::x = 88, console_key::y = 89, console_key::z = 90, console_key::left_windows = 91,
  console_key::right_windows = 92, console_key::applications = 93, console_key::sleep = 95, console_key::num_pad_0 = 96,
  console_key::num_pad_1 = 97, console_key::num_pad_2 = 98, console_key::num_pad_3 = 99, console_key::num_pad_4 = 100,
  console_key::num_pad_5 = 101, console_key::num_pad_6 = 102, console_key::num_pad_7 = 103, console_key::num_pad_8 = 104,
  console_key::num_pad_9 = 105, console_key::multiply = 106, console_key::add = 107, console_key::separator = 108,
  console_key::subtract = 109, console_key::decimal = 110, console_key::divide = 111, console_key::f1 = 112,
  console_key::f2 = 113, console_key::f3 = 114, console_key::f4 = 115, console_key::f5 = 116,
  console_key::f6 = 117, console_key::f7 = 118, console_key::f8 = 119, console_key::f9 = 120,
  console_key::f10 = 121, console_key::f11 = 122, console_key::f12 = 123, console_key::f13 = 124,
  console_key::f14 = 125, console_key::f15 = 126, console_key::f16 = 127, console_key::f17 = 128,
  console_key::f18 = 129, console_key::f19 = 130, console_key::f20 = 131, console_key::f21 = 132,
  console_key::f22 = 133, console_key::f23 = 134, console_key::f24 = 135, console_key::browser_back = 166,
  console_key::browser_forward = 167, console_key::browser_refresh = 168, console_key::browser_stop = 169, console_key::browser_search = 170,
  console_key::browser_favorites = 171, console_key::browser_home = 172, console_key::volume_mute = 173, console_key::volume_down = 174,
  console_key::volume_up = 175, console_key::media_next = 176, console_key::media_previous = 177, console_key::media_stop = 178,
  console_key::media_play = 179, console_key::launch_mail = 180, console_key::launch_media_select = 181, console_key::launch_app1 = 182,
  console_key::launch_app2 = 183, console_key::oem1 = 186, console_key::oem_plus = 187, console_key::oem_comma = 188,
  console_key::oem_minus = 189, console_key::oem_period = 190, console_key::oem2 = 191, console_key::oem3 = 192,
  console_key::oem4 = 219, console_key::oem5 = 220, console_key::oem6 = 221, console_key::oem7 = 222,
  console_key::oem8 = 223, console_key::oem102 = 226, console_key::process = 229, console_key::packet = 231,
  console_key::attention = 246, console_key::cr_sel = 247, console_key::ex_sel = 248, console_key::erase_end_of_file = 249,
  console_key::play = 250, console_key::zoom = 251, console_key::no_name = 252, console_key::pa1 = 253,
  console_key::oem_clear = 254
}
 Specifies the standard keys on a console. More...
 
enum  console_modifiers { console_modifiers::alt = 0b1, console_modifiers::shift = 0b10, console_modifiers::control = 0b100 }
 Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard. More...
 
enum  console_special_key { console_special_key::control_break, console_special_key::control_c, console_special_key::control_backslash, console_special_key::control_z }
 Specifies combinations of modifier and console keys that can interrupt the current process. More...
 
enum  date_time_kind { utc, local }
 
enum  day_of_week {
  sunday, monday, tuesday, wednesday,
  thursday, friday, saturday
}
 
enum  environment_variable_target { environment_variable_target::process = 0, environment_variable_target::user = 1, environment_variable_target::machine = 2 }
 Specifies the location where an environment variable is stored or retrieved in a set or get operation. More...
 
enum  language_id {
  language_id::unknown = -1, language_id::cpp_pre98 = 0, language_id::cpp98, language_id::cpp11,
  language_id::cpp14, language_id::cpp17, language_id::cpp20
}
 Identifies the c++ language used by assembly. More...
 
enum  number_styles {
  number_styles::none = 0x0, number_styles::allow_leading_white = 0b1, number_styles::allow_trailing_white = 0b10, number_styles::allow_leading_sign = 0b100,
  number_styles::allow_trailing_sign = 0b1000, number_styles::allow_parentheses = 0b10000, number_styles::allow_decimal_point = 0b100000, number_styles::allow_thousands = 0b1000000,
  number_styles::allow_exponent = 0b10000000, number_styles::allow_currency_symbol = 0b100000000, number_styles::allow_hex_specifier = 0b1000000000, number_styles::allow_binary_specifier = 0b10000000000,
  number_styles::allow_octal_specifier = 0b100000000000, number_styles::integer = allow_leading_white + allow_trailing_white + allow_leading_sign, number_styles::number = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_decimal_point + allow_thousands, number_styles::fixed_point = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_decimal_point + allow_exponent,
  number_styles::currency = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_parentheses + allow_decimal_point + allow_thousands + allow_currency_symbol, number_styles::any = allow_leading_white + allow_trailing_white + allow_leading_sign + allow_trailing_sign + allow_parentheses + allow_decimal_point + allow_thousands + allow_exponent + allow_currency_symbol, number_styles::hex_number = allow_leading_white + allow_trailing_white + allow_hex_specifier, number_styles::binary_number = allow_leading_white + allow_trailing_white + allow_binary_specifier,
  number_styles::octal_number = allow_leading_white + allow_trailing_white + allow_octal_specifier
}
 Determines the styles permitted in numeric string arguments that are passed to the xtd::parse and xtd::try_parse methods of the integral and floating-point numeric types. This enumeration has a flags attribute that allows a bitwise combination of its member values. More...
 
enum  platform_id {
  platform_id::unknown = -1, platform_id::win32s, platform_id::win32_windows, platform_id::win32_nt,
  platform_id::win_ce, platform_id::unix, platform_id::xbox, platform_id::macos,
  platform_id::ios, platform_id::android
}
 Identifies the operating system, or platform, supported by an assembly. More...
 
enum  string_comparison { string_comparison::ordinal, string_comparison::ordinal_ignore_case }
 Specifies the culture, case, and sort rules to be used by certain overloads of the strings::compare(string, string) method. More...
 
enum  string_split_options { string_split_options::none, string_split_options::remove_empty_entries }
 Specifies whether applicable strings::Split method overloads include or omit empty substrings from the return value. More...
 

Functions

std::ostream cnull (nullptr)
 
std::ostream ctrace (nullptr)
 Provides an std::ostream for xtd::diagnostics::trace. More...
 
template<typename type_t , typename param_t >
bool is (const param_t *value)
 
template<typename type_t , typename param_t >
bool is (const param_t &value)
 
template<typename type_t , typename param_t >
bool is (param_t *value)
 
template<typename type_t , typename param_t >
bool is (param_t &value)
 
template<>
bool is< bool > (bool value)
 Return true if specified value is the specified bool. A Is expression takes the following form: More...
 
template<>
bool is< decimal_t > (decimal_t value)
 Return true if specified value is the specified decimal_t. A Is expression takes the following form: More...
 
template<>
bool is< double > (double value)
 Return true if specified value is the specified double. A Is expression takes the following form: More...
 
template<>
bool is< float > (float value)
 Return true if specified value is the specified float. A Is expression takes the following form: More...
 
template<>
bool is< int16_t > (int16_t value)
 Return true if specified value is the specified int16_t. A Is expression takes the following form: More...
 
template<>
bool is< int32_t > (int32_t value)
 Return true if specified value is the specified int32_t. A Is expression takes the following form: More...
 
template<>
bool is< int64_t > (int64_t value)
 Return true if specified value is the specified int64_t. A Is expression takes the following form: More...
 
template<>
bool is< int8_t > (int8_t value)
 Return true if specified value is the specified int8_t. A Is expression takes the following form: More...
 
template<>
bool is< llong_t > (llong_t value)
 Return true if specified value is the specified llong_t. A Is expression takes the following form: More...
 
template<>
bool is< uint16_t > (uint16_t value)
 Return true if specified value is the specified uint16_t. A Is expression takes the following form: More...
 
template<>
bool is< uint32_t > (uint32_t value)
 Return true if specified value is the specified uint32_t. A Is expression takes the following form: More...
 
template<>
bool is< uint64_t > (uint64_t value)
 Return true if specified value is the specified uint64_t. A Is expression takes the following form: More...
 
template<>
bool is< uint8_t > (uint8_t value)
 Return true if specified value is the specified uint8_t. A Is expression takes the following form: More...
 
template<>
bool is< ullong_t > (ullong_t value)
 Return true if specified value is the specified ullong_t. A Is expression takes the following form: More...
 
char32_t operator""_c (char c)
 Used to convert specified value into char32._t. More...
 
char32_t operator""_c (char16_t c)
 Used to convert specified value into char32._t. More...
 
char32_t operator""_c (char32_t c)
 Used to convert specified value into char32._t. More...
 
char32_t operator""_c (wchar_t c)
 Used to convert specified value into char32._t. More...
 
char32_t operator""_c (unsigned long long c)
 Used to convert specified value into char32._t. More...
 
double operator""_d (long double n)
 Used to convert specified value into byte. More...
 
double operator""_d (unsigned long long n)
 Used to convert specified value into byte. More...
 
double operator""_d (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
float operator""_f (long double n)
 Used to convert specified value into byte. More...
 
float operator""_f (unsigned long long n)
 Used to convert specified value into byte. More...
 
float operator""_f (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
std::string operator""_s (const char *s, size_t n)
 Used to convert specified value into System::String. More...
 
std::string operator""_s (const char16_t *s, size_t n)
 Used to convert specified value into System::String. More...
 
std::string operator""_s (const char32_t *s, size_t n)
 Used to convert specified value into System::String. More...
 
std::string operator""_s (const wchar_t *s, size_t n)
 Used to convert specified value into System::String. More...
 
std::string operator""_s (long double s)
 Used to convert specified value into std::string. More...
 
std::string operator""_s (unsigned long long s)
 Used to convert specified value into std::string. More...
 
int16_t operator""_s16 (long double n)
 Used to convert specified value into byte. More...
 
int16_t operator""_s16 (unsigned long long n)
 Used to convert specified value into byte. More...
 
int16_t operator""_s16 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
int32_t operator""_s32 (long double n)
 Used to convert specified value into byte. More...
 
int32_t operator""_s32 (unsigned long long n)
 Used to convert specified value into byte. More...
 
int32_t operator""_s32 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
int64_t operator""_s64 (long double n)
 Used to convert specified value into byte. More...
 
int64_t operator""_s64 (unsigned long long n)
 Used to convert specified value into byte. More...
 
int64_t operator""_s64 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
int8_t operator""_s8 (long double n)
 Used to convert specified value into byte. More...
 
int8_t operator""_s8 (unsigned long long n)
 Used to convert specified value into byte. More...
 
int8_t operator""_s8 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
std::string operator""_sb (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb16 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb2 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb32 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb4 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb64 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sb8 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sx (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sX (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sx2 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sX2 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sx4 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sX4 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sx8 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::string operator""_sX8 (unsigned long long s)
 Used to convert specified value into std::string. More...
 
uint16_t operator""_u16 (long double n)
 Used to convert specified value into byte. More...
 
uint16_t operator""_u16 (unsigned long long n)
 Used to convert specified value into byte. More...
 
uint16_t operator""_u16 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
uint32_t operator""_u32 (long double n)
 Used to convert specified value into byte. More...
 
uint32_t operator""_u32 (unsigned long long n)
 Used to convert specified value into byte. More...
 
uint32_t operator""_u32 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
uint64_t operator""_u64 (long double n)
 Used to convert specified value into byte. More...
 
uint64_t operator""_u64 (unsigned long long n)
 Used to convert specified value into byte. More...
 
uint64_t operator""_u64 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
uint8_t operator""_u8 (long double n)
 Used to convert specified value into byte. More...
 
uint8_t operator""_u8 (unsigned long long n)
 Used to convert specified value into byte. More...
 
uint8_t operator""_u8 (const char *s, size_t n)
 Used to convert specified value into byte. More...
 
std::wstring operator""_ws (const wchar_t *s, size_t n)
 Used to convert specified value into System::String. More...
 
std::wstring operator""_ws (long double s)
 Used to convert specified value into std::string. More...
 
std::wstring operator""_ws (unsigned long long s)
 Used to convert specified value into std::string. More...
 
std::ostream & operator<< (std::ostream &os, build_type value)
 
std::ostream & operator<< (std::ostream &os, environment_variable_target value)
 
std::wostream & operator<< (std::wostream &os, build_type value)
 
std::wostream & operator<< (std::wostream &os, environment_variable_target value)
 
std::ostream & operator<< (std::ostream &os, xtd::string_split_options options)
 
std::ostream & operator<< (std::ostream &os, compiler_id value)
 
std::wostream & operator<< (std::wostream &os, compiler_id value)
 
std::ostream & operator<< (std::ostream &os, language_id value)
 
std::wostream & operator<< (std::wostream &os, language_id value)
 
std::ostream & operator<< (std::ostream &os, platform_id value)
 
std::wostream & operator<< (std::wostream &os, platform_id value)
 
template<typename value_t >
value_t parse (const std::string &str)
 
template<typename value_t >
value_t parse (const std::string &str, const std::string &fmt)
 
template<typename value_t >
value_t parse (const std::string &str, number_styles)
 
template<typename value_t >
value_t parse (const std::wstring &str)
 
template<typename value_t >
value_t parse (const std::u16string &str)
 
template<typename value_t >
value_t parse (const std::u32string &str)
 
template<>
bool parse< bool > (const std::string &str)
 
template<>
char parse< char > (const std::string &str, number_styles styles)
 
template<>
char parse< char > (const std::string &str)
 
template<>
double parse< double > (const std::string &str, number_styles styles)
 
template<>
double parse< double > (const std::string &str)
 
template<>
drawing::color parse< drawing::color > (const std::string &str)
 
template<>
drawing::point parse< drawing::point > (const std::string &str)
 
template<>
drawing::size parse< drawing::size > (const std::string &str)
 
template<>
float parse< float > (const std::string &str, number_styles styles)
 
template<>
float parse< float > (const std::string &str)
 
template<>
int parse< int > (const std::string &str, number_styles styles)
 
template<>
int parse< int > (const std::string &str)
 
template<>
int8_t parse< int8_t > (const std::string &str, number_styles styles)
 
template<>
int8_t parse< int8_t > (const std::string &str)
 
template<>
long parse< long > (const std::string &str, number_styles styles)
 
template<>
long parse< long > (const std::string &str)
 
template<>
long double parse< long double > (const std::string &str, number_styles styles)
 
template<>
long double parse< long double > (const std::string &str)
 
template<>
long long parse< long long > (const std::string &str, number_styles styles)
 
template<>
long long parse< long long > (const std::string &str)
 
template<>
short parse< short > (const std::string &str, number_styles styles)
 
template<>
short parse< short > (const std::string &str)
 
template<>
std::string parse< std::string > (const std::string &str)
 
template<>
unsigned char parse< unsigned char > (const std::string &str, number_styles styles)
 
template<>
unsigned char parse< unsigned char > (const std::string &str)
 
template<>
unsigned int parse< unsigned int > (const std::string &str, number_styles styles)
 
template<>
unsigned int parse< unsigned int > (const std::string &str)
 
template<>
unsigned long parse< unsigned long > (const std::string &str, number_styles styles)
 
template<>
unsigned long parse< unsigned long > (const std::string &str)
 
template<>
unsigned long long parse< unsigned long long > (const std::string &str, number_styles styles)
 
template<>
unsigned long long parse< unsigned long long > (const std::string &str)
 
template<>
unsigned short parse< unsigned short > (const std::string &str, number_styles styles)
 
template<>
unsigned short parse< unsigned short > (const std::string &str)
 
template<typename value_t >
std::string to_string (const value_t &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const bool &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const int8_t &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const char &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const unsigned char &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const short &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const unsigned short &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const int &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const unsigned int &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const long &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const unsigned long &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const long long &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const unsigned long long &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const float &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const double &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const long double &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const std::chrono::system_clock::time_point &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const std::tm &value, const std::string &fmt, const std::locale &loc)
 
template<typename Type , typename Period >
std::string to_string (const std::chrono::duration< Type, Period > &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const std::string &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const xtd::istring &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const char16_t &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const char32_t &value, const std::string &fmt, const std::locale &loc)
 
template<>
std::string to_string (const wchar_t &value, const std::string &fmt, const std::locale &loc)
 
template<typename value_t >
std::string to_string (const value_t &value, const std::string &fmt)
 
template<typename value_t >
std::wstring to_string (const value_t &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const bool &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const int8_t &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const char &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const unsigned char &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const short &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const unsigned short &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const int &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const unsigned int &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const long &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const unsigned long &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const long long &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const unsigned long long &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const float &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const double &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const long double &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const std::chrono::system_clock::time_point &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const std::tm &value, const std::wstring &fmt, const std::locale &loc)
 
template<typename Type , typename Period >
std::wstring to_string (const std::chrono::duration< Type, Period > &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const std::wstring &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const xtd::iwstring &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const char16_t &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const char32_t &value, const std::wstring &fmt, const std::locale &loc)
 
template<>
std::wstring to_string (const wchar_t &value, const std::wstring &fmt, const std::locale &loc)
 
template<typename value_t >
std::wstring to_string (const value_t &value, const std::wstring &fmt)
 
template<typename value_t , typename char_t >
bool try_parse (const std::basic_string< char_t > &str, value_t &value)
 
template<typename ... Args>
void unused (Args &&... args)
 It may be used to suppress the "unused variable" or "unused local typedefs" compiler warnings when the variable or typedef can't be removed or commented out, e.g. when some blocks of the code are conditionally activated. More...
 

Variables

std::ostream cdebug & __cdebugstreambuf__
 Provides an std::ostream for xtd::diagnostics::debug. More...
 
core_export_ std::nullptr_t null
 Represents a null pointer value. More...
 

Detailed Description

The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.

The xtd namespace contains all fundamental classes to access Hardware, Os, upper, and more.

The xtd namespace contains all fundamental classes to access console.

Todo:
remove comment when drive_into.h will be create