My Project
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
osl::Sennichite Class Reference

#include <sennichite.h>

Classes

struct  Result
 

Public Member Functions

bool isNormal () const
 
bool isDraw () const
 
bool hasWinner () const
 
Player winner () const
 

Static Public Member Functions

static Sennichite NORMAL ()
 
static Sennichite DRAW ()
 
static Sennichite BLACK_LOSE ()
 
static Sennichite WHITE_LOSE ()
 

Private Member Functions

 Sennichite (Result::Values v)
 

Private Attributes

Result::Values value
 

Friends

bool operator== (const Sennichite &, const Sennichite &)
 

Detailed Description

Definition at line 11 of file sennichite.h.

Constructor & Destructor Documentation

◆ Sennichite()

osl::Sennichite::Sennichite ( Result::Values  v)
inlineprivate

Definition at line 19 of file sennichite.h.

Member Function Documentation

◆ BLACK_LOSE()

static Sennichite osl::Sennichite::BLACK_LOSE ( )
inlinestatic

◆ DRAW()

static Sennichite osl::Sennichite::DRAW ( )
inlinestatic

◆ hasWinner()

bool osl::Sennichite::hasWinner ( ) const
inline

◆ isDraw()

bool osl::Sennichite::isDraw ( ) const
inline

Definition at line 27 of file sennichite.h.

References osl::Sennichite::Result::DRAW, and value.

Referenced by osl::operator<<().

◆ isNormal()

bool osl::Sennichite::isNormal ( ) const
inline

Definition at line 26 of file sennichite.h.

References osl::Sennichite::Result::NORMAL, and value.

Referenced by osl::operator<<().

◆ NORMAL()

static Sennichite osl::Sennichite::NORMAL ( )
inlinestatic

◆ WHITE_LOSE()

static Sennichite osl::Sennichite::WHITE_LOSE ( )
inlinestatic

◆ winner()

osl::Player osl::Sennichite::winner ( ) const

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const Sennichite l,
const Sennichite r 
)
friend

Definition at line 35 of file sennichite.h.

Member Data Documentation

◆ value

Result::Values osl::Sennichite::value
private

Definition at line 18 of file sennichite.h.

Referenced by hasWinner(), isDraw(), isNormal(), and winner().


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