EHS
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:1916
bool operator==(const T *const first, const ehs::Str< T, N > &second)
Definition: Str.h:1906
Definition: Button.h:9
Definition: Anchor.h:6
unsigned int UInt_32
Definition: Types.h:49