xtd 0.2.0
Loading...
Searching...
No Matches
xtd::abstract_object Class Reference
Inheritance diagram for xtd::abstract_object:
xtd::object xtd::diagnostics::trace_filter xtd::diagnostics::trace_listener xtd::io::file_system_info xtd::threading::wait_handle 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:25
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition date_time.h:1080

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.
 
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 >
std::unique_ptr< object_t > memberwise_clone () const noexcept
 Creates a shallow copy of the current object.
 
virtual xtd::ustring to_string () const noexcept
 Returns a sxd::ustring that represents the current object.
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal.
 
static bool reference_equals (const object &object_a, const object &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: