xtd 0.2.0
Loading...
Searching...
No Matches
xtd::abstract_object Class Reference
Inheritance diagram for xtd::abstract_object:
xtd::object xtd::array_abstract_object xtd::diagnostics::trace_filter xtd::diagnostics::trace_listener xtd::io::file_system_info xtd::threading::wait_handle xtd::basic_array< type_t, allocator_t > xtd::basic_array< type_t, allocator_t > xtd::diagnostics::event_type_filter xtd::diagnostics::source_filter xtd::diagnostics::default_trace_listener xtd::diagnostics::ostream_trace_listener xtd::forms::control_trace_listener xtd::io::directory_info xtd::io::file_info xtd::threading::event_wait_handle xtd::threading::mutex xtd::threading::semaphore

Definition

Represent an abstract class.

Header
#include <xtd/abstract_object>
Namespace
xtd
Library
xtd.core
Remarks
This class has no other use than to tag a class to abstract.
Examples
class foo abstract_object {
public:
virtual std::string to_string() = 0;
};
Represent an abstract class.
Definition abstract_object.h:27
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:41

Protected Constructors

 abstract_object ()=default
 Initializes a new instance of the xtd::abstract_object class.
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object.
 
virtual bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object.
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type.
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance.
 
template<typename object_t >
xtd::uptr< object_t > memberwise_clone () const
 Creates a shallow copy of the current object.
 
virtual xtd::string to_string () const noexcept
 Returns a xtd::string that represents the current object.
 
- Static Public Member Functions inherited from xtd::object
template<typename object_a_t , typename object_b_t >
static bool equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
template<typename object_a_t , typename object_b_t >
static bool reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept
 Determines whether the specified object instances are the same instance.
 

Constructor & Destructor Documentation

◆ abstract_object()

xtd::abstract_object::abstract_object ( )
protecteddefault

Initializes a new instance of the xtd::abstract_object class.


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