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 | |
| bool | is_console_application () const noexcept |
| Gets target id is console application. | |
| bool | is_gui_application () const noexcept |
| Gets target id is gui application. | |
| bool | is_test_application () const noexcept |
| Gets target id is test application. | |
| bool | is_shared_library () const noexcept |
| Gets target id is shared library. | |
| bool | is_static_library () const noexcept |
| Gets target id is static library. | |
| string | name () const noexcept |
| Gets target id name. | |
| xtd::target_id | target_id () const noexcept |
| Gets target id value. | |
Public Methods | |
| xtd::size | get_hash_code () const noexcept override |
| Serves as a hash function for a particular type. | |
| string | to_string () const noexcept 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 bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object. | |
| virtual type_object | get_type () const noexcept |
| Gets the type of the current instance. | |
| template<class object_t> | |
| xtd::unique_ptr_object< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object. | |
| template<class object_a_t, class 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<class object_a_t, class 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. | |
| 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. |
|
noexcept |
Gets target id is console application.
true if target id is console application; otherwise false.
|
noexcept |
Gets target id is gui application.
true if target id is gui application; otherwise false.
|
noexcept |
Gets target id is test application.
true if target id is test application; otherwise false.
|
noexcept |
Gets target id is shared library.
true if target id is shared library; otherwise false.
|
noexcept |
Gets target id is static library.
true if target id is static library; otherwise false.
|
noexcept |
Gets target id name.
|
noexcept |
Gets target id value.
|
overridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
overridevirtualnoexcept |
Returns a xtd::string that represents the current object.
Reimplemented from xtd::object.