YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::ID Class Reference

#include <ID.hpp>

Collaboration diagram for yap::ID:

List of all members.

Public Types

typedef UInt64 ValueType

Public Member Functions

 ID ()
 ID (ValueType value)
 ID (const ID &copy)
IDoperator= (const ID &copy)
const ValueTypeGetValue () const
void SetValue (ValueType value)
bool operator== (const ID &right) const
bool operator!= (const ID &right) const
bool operator> (const ID &right) const
bool operator< (const ID &right) const
bool operator>= (const ID &right) const
bool operator<= (const ID &right) const

Private Attributes

ValueType value_

Static Private Attributes

static const ValueType DEFAULT_VALUE = 0

Detailed Description

Definition at line 9 of file ID.hpp.


Member Typedef Documentation

Definition at line 13 of file ID.hpp.


Constructor & Destructor Documentation

yap::ID::ID ( )

Definition at line 7 of file ID.cpp.

yap::ID::ID ( ValueType  value)
explicit

Definition at line 12 of file ID.cpp.

yap::ID::ID ( const ID copy)

Definition at line 17 of file ID.cpp.


Member Function Documentation

const ID::ValueType & yap::ID::GetValue ( ) const

Definition at line 32 of file ID.cpp.

Here is the caller graph for this function:

bool yap::ID::operator!= ( const ID right) const

Definition at line 47 of file ID.cpp.

bool yap::ID::operator< ( const ID right) const

Definition at line 57 of file ID.cpp.

bool yap::ID::operator<= ( const ID right) const

Definition at line 67 of file ID.cpp.

ID & yap::ID::operator= ( const ID copy)

Definition at line 22 of file ID.cpp.

bool yap::ID::operator== ( const ID right) const

Definition at line 42 of file ID.cpp.

bool yap::ID::operator> ( const ID right) const

Definition at line 52 of file ID.cpp.

bool yap::ID::operator>= ( const ID right) const

Definition at line 62 of file ID.cpp.

void yap::ID::SetValue ( ValueType  value)

Definition at line 37 of file ID.cpp.


Member Data Documentation

const ID::ValueType yap::ID::DEFAULT_VALUE = 0
staticprivate

Definition at line 33 of file ID.hpp.

ValueType yap::ID::value_
private

Definition at line 35 of file ID.hpp.


The documentation for this class was generated from the following files: