![]() |
xtd - Reference Guide
0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <object.h>
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.
Constructors | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
Methods | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. More... | |
virtual xtd::ustring | to_string () const noexcept |
Returns a sxd::ustring that represents the current object. More... | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
|
default |
Create a new instance of the ultimate base class object.
|
virtualnoexcept |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
Reimplemented in xtd::ustring, xtd::uri, xtd::date_time, xtd::time_zone_info, xtd::forms::style_sheets::style_sheet, xtd::forms::style_sheets::system_colors, xtd::time_zone_info::adjustement_rule, xtd::forms::style_sheets::control, xtd::time_zone_info::transition_time, xtd::forms::style_sheets::background_image, xtd::net::ip_address, xtd::guid, xtd::forms::menu, xtd::forms::style_sheets::length, xtd::forms::style_sheets::border_radius, xtd::forms::style_sheets::border_color, xtd::forms::style_sheets::border_style, xtd::forms::style_sheets::lengths, xtd::forms::style_sheets::theme, and xtd::box< type_t >.
Determines whether the specified object instances are considered equal.
object_a | The first object to compare. |
object_b | The second object to compare. |
|
virtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented in xtd::ustring.
|
inline |
Gets the type of the current instance.
|
staticnoexcept |
Determines whether the specified object instances are the same instance.
object_a | The first object to compare. |
object_b | The second object to compare. |
|
virtualnoexcept |
Returns a sxd::ustring that represents the current object.
Reimplemented in xtd::drawing::graphics, xtd::drawing::color, xtd::ustring, xtd::forms::control, xtd::date_time, xtd::uri, xtd::drawing::drawing2d::graphics_path, xtd::forms::month_calendar, xtd::time_zone_info, xtd::diagnostics::stack_trace, xtd::forms::menu_item, xtd::drawing::point, xtd::drawing::font, xtd::forms::file_dialog, xtd::drawing::rectangle, xtd::net::ip_address, xtd::drawing::rectangle_f, xtd::forms::tool_bar_button, xtd::version, xtd::forms::status_bar_panel, xtd::drawing::drawing2d::matrix, xtd::drawing::pen, xtd::drawing::imaging::image_format, xtd::diagnostics::stack_frame, xtd::operating_system, xtd::drawing::icon, xtd::forms::padding, xtd::forms::style_sheets::background_image, xtd::forms::menu, xtd::guid, xtd::io::drive_info, xtd::drawing::point_f, xtd::forms::progress_bar, xtd::system_exception, xtd::forms::vertical_control_layout_style, xtd::forms::track_bar, xtd::forms::cursor, xtd::forms::style_sheets::length, xtd::forms::horizontal_control_layout_style, xtd::drawing::font_family, xtd::forms::emoticon, xtd::drawing::size, xtd::forms::style_sheets::lengths, xtd::cpp_language, xtd::forms::style_sheets::theme, xtd::drawing::size_f, xtd::forms::numeric_up_down, xtd::forms::message, xtd::forms::up_down_button, xtd::box< type_t >, xtd::forms::country, xtd::forms::radio_button, xtd::net::ip_end_point, xtd::net::socket_address, xtd::forms::control_layout_style, xtd::forms::renderer, xtd::processor, xtd::drawing::brush, xtd::compiler, xtd::net::dns_end_point, xtd::forms::theme_base, xtd::web::css::property, xtd::net::end_point, and xtd::io::string_writer.