xtd 1.0.0
Loading...
Searching...
No Matches
link_area.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include <xtd/iequatable>
7#include <xtd/object>
8#include <xtd/string>
9
11namespace xtd {
13 namespace forms {
26 forms_export_ struct link_area : public xtd::object, public xtd::iequatable<link_area> {
27 public:
29
32 link_area() = default;
38
40
44 [[nodiscard]] auto is_empty() const noexcept -> bool;
45
49 [[nodiscard]] auto length() const noexcept -> xtd::usize;
54 auto length(xtd::usize value) noexcept -> link_area&;
55
59 [[nodiscard]] auto start() const noexcept -> xtd::usize;
64 auto start(xtd::usize value) noexcept -> link_area&;
66
73 [[nodiscard]] auto equals(const xtd::object& obj) const noexcept -> bool override;
77 [[nodiscard]] auto equals(const link_area& other) const noexcept -> bool override;
78
81 [[nodiscard]] auto get_hash_code() const noexcept -> xtd::usize override;
82
83 [[nodiscard]] auto to_string() const noexcept -> xtd::string override;
85
86 private:
87 xtd::usize start_ = 0;
88 xtd::usize length_ = 0;
89 };
90 }
91}
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:23
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:45
Contains forms_export_ keyword.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition usize.hpp:22
@ other
The operating system is other.
Definition platform_id.hpp:60
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8