All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
osl::rating::DropPtype Struct Reference

#include <square.h>

Inheritance diagram for osl::rating::DropPtype:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { UNIT = PTYPE_MAX+1-PTYPE_PIECE_MIN + (PTYPE_MAX+1 - (PTYPE_BASIC_MIN+1)) }

Public Member Functions

 DropPtype (Ptype p, bool d)
bool match (Move m) const

Static Public Member Functions

static std::string name (Ptype ptype, bool drop)
static int index (Move move)

Public Attributes

Ptype ptype
bool drop

Detailed Description

Definition at line 15 of file rating/feature/square.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
UNIT 

Definition at line 30 of file rating/feature/square.h.


Constructor & Destructor Documentation

osl::rating::DropPtype::DropPtype ( Ptype  p,
bool  d 
) [inline]

Definition at line 19 of file rating/feature/square.h.


Member Function Documentation

static int osl::rating::DropPtype::index ( Move  move) [inline, static]
bool osl::rating::DropPtype::match ( Move  m) const [inline]
static std::string osl::rating::DropPtype::name ( Ptype  ptype,
bool  drop 
) [inline, static]

Definition at line 26 of file rating/feature/square.h.

References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.


Member Data Documentation

Definition at line 18 of file rating/feature/square.h.

Referenced by match().

Definition at line 17 of file rating/feature/square.h.

Referenced by index(), and match().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines