xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
attribute.hpp
Go to the documentation of this file.
1
3
#pragma once
4
#include "
guid.hpp
"
5
#include "
object.hpp
"
6
#include "
string.hpp
"
7
9
namespace
xtd
{
25
class
attribute
:
public
xtd::object
{
26
public
:
28
attribute
(
const
attribute
&) =
default
;
29
attribute
(
attribute
&&) =
default
;
30
attribute
& operator =(
const
attribute
&) =
default
;
32
34
38
[[nodiscard]]
auto
type_id
() const noexcept ->
xtd
::
sptr
<
object
>;
40
41
protected:
43
47
attribute
() = default;
49
51
55
[[nodiscard]] virtual auto
get_type_id
() const noexcept ->
xtd
::
sptr
<
object
> = 0;
57
};
58
}
xtd::attribute::type_id
auto type_id() const noexcept -> xtd::sptr< object >
When implemented in a derived class, gets a unique identifier for this attribute.
xtd::attribute::get_type_id
virtual auto get_type_id() const noexcept -> xtd::sptr< object >=0
When implemented in a derived class, gets a unique identifier for this attribute.
xtd::attribute::attribute
attribute()=default
Initializes a new instance of the attribute class.
xtd::object
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition
object.hpp:45
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
guid.hpp
Contains xtd::guid class.
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
object.hpp
Contains xtd::object class.
string.hpp
Contains xtd::string alias.
Generated on
for xtd by
Gammasoft
. All rights reserved.