Represents information about target type, such as the target identifier. This class cannot be inherited.
Public Constructors | |
| target_type (xtd::target_id target_id) | |
| Initialise a new xtd::target_type class. | |
Public Properties | |
| auto | is_console_application () const noexcept -> bool |
| Gets target id is console application. | |
| auto | is_gui_application () const noexcept -> bool |
| Gets target id is gui application. | |
| auto | is_test_application () const noexcept -> bool |
| Gets target id is test application. | |
| auto | is_shared_library () const noexcept -> bool |
| Gets target id is shared library. | |
| auto | is_static_library () const noexcept -> bool |
| Gets target id is static library. | |
| auto | name () const noexcept -> xtd::string |
| Gets target id name. | |
| auto | target_id () const noexcept -> xtd::target_id |
| Gets target id value. | |
Public Methods | |
| auto | get_hash_code () const noexcept -> xtd::usize override |
| Serves as a hash function for a particular type. | |
| auto | to_string () const noexcept -> xtd::string override |
| Returns a xtd::string that represents the current object. | |
Additional Inherited Members | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | equals (const object &obj) const noexcept -> bool |
| Determines whether the specified object is equal to the current object. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
| xtd::target_type::target_type | ( | xtd::target_id | target_id | ) |
Initialise a new xtd::target_type class.
| target_id | One of xtd::target_id values. |
|
nodiscardnoexcept |
Gets target id is console application.
|
nodiscardnoexcept |
Gets target id is gui application.
|
nodiscardnoexcept |
Gets target id is test application.
|
nodiscardnoexcept |
Gets target id is shared library.
|
nodiscardnoexcept |
Gets target id is static library.
|
nodiscardnoexcept |
Gets target id name.
|
nodiscardnoexcept |
Gets target id value.
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
nodiscardoverridevirtualnoexcept |
Returns a xtd::string that represents the current object.
Reimplemented from xtd::object.