mFrame
載入中...
搜尋中...
無符合項目
Hashcode.h
1
7#ifndef MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81
8#define MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15
16//----------------------------------------------------------------------------------------
17#include "./../lang/Object.h"
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace ufm::lang {
23 class Hashcode;
24} // namespace ufm::lang
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
29
37 /* *************************************************************************************
38 * Variable
39 */
40 private:
41 int vHahscode;
42
43 /* *************************************************************************************
44 * Abstract Method
45 */
46
47 /* *************************************************************************************
48 * Construct Method
49 */
50 public:
57
64
65 /* *************************************************************************************
66 * Operator Method
67 */
68
69 /* *************************************************************************************
70 * Override Method - ufm::lang::Object
71 */
72 public:
78 virtual int hashcode(void) const override;
79
80 /* *************************************************************************************
81 * Public Method
82 */
83
84 /* *************************************************************************************
85 * Protected Method
86 */
87
88 /* *************************************************************************************
89 * Private Method
90 */
91
92 /* *************************************************************************************
93 * Static Variable
94 */
95
96 /* *************************************************************************************
97 * Static Method
98 */
99};
100
101/* ***************************************************************************************
102 * End of file
103 */
104
105#endif /* MFRAME_49192D91_B2E2_4241_93F9_E0873CE7DF81 */
雜湊碼類別,用於封裝及處理物件雜湊碼。
Definition Hashcode.h:36
virtual int hashcode(void) const override
取得物件的雜湊碼。
Hashcode(int hashcode)
建構子:直接使用整數值指定雜湊碼。
Hashcode(ufm::lang::Interface &interface)
建構子:透過 Interface 參數建立 Hashcode 物件。
物件基底類別
Definition Object.h:63
Definition Appendable.h:23
類別共用基礎介面
Definition Interface.h:152