EHS
Loading...
Searching...
No Matches
Button.h
Go to the documentation of this file.
1#pragma once
2
3#include "ehs/EHS.h"
4#include "ehs/Str.h"
5
6namespace ehs
7{
8 class EHS_LIB_IO Button
9 {
10 private:
11 UInt_32 hash;
12 Str_8 name;
13
14 public:
15 Button();
16
17 Button(Str_8 name);
18
19 Button(Button &&key) noexcept;
20
21 Button(const Button &key);
22
23 Button &operator=(Button &&key) noexcept;
24
25 Button &operator=(const Button &key);
26
27 bool operator==(const Button &key) const;
28
29 bool operator!=(const Button &key) const;
30
31 UInt_32 GetHash() const;
32
33 Str_8 GetName() const;
34
35 bool IsValid() const;
36 };
37}
bool operator!=(const T *const first, const ehs::Str< T, N > &second)
Definition Str.h:1967
bool operator==(const T *const first, const ehs::Str< T, N > &second)
Definition Str.h:1957
Str_8 GetName() const
Definition Button.cpp:65
Button()
Definition Button.cpp:5
bool IsValid() const
Definition Button.cpp:70
Button & operator=(Button &&key) noexcept
Definition Button.cpp:26
UInt_32 GetHash() const
Definition Button.cpp:60
Definition Anchor.h:6
unsigned int UInt_32
Definition Types.h:49
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1953