YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ID.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_ID_HPP
2
# define YAPOG_ID_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/IntTypes.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
ID
10
{
11
public
:
12
13
typedef
UInt64
ValueType
;
14
15
ID
();
16
explicit
ID
(
ValueType
value);
17
18
ID
(
const
ID
& copy);
19
ID
& operator= (
const
ID
& copy);
20
21
const
ValueType
& GetValue ()
const
;
22
void
SetValue (
ValueType
value);
23
24
bool
operator== (
const
ID
& right)
const
;
25
bool
operator!= (
const
ID
& right)
const
;
26
bool
operator> (
const
ID
& right)
const
;
27
bool
operator< (
const
ID
& right)
const
;
28
bool
operator>= (
const
ID
& right)
const
;
29
bool
operator<= (
const
ID
& right)
const
;
30
31
private
:
32
33
static
const
ValueType
DEFAULT_VALUE
;
34
35
ValueType
value_
;
36
};
37
}
// namespace yap
38
39
#endif // YAPOG_ID_HPP
YAPOG
include
YAPOG
Game
ID.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1