My Project
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
osl::rating::Open Class Reference

#include <feature.h>

Inheritance diagram for osl::rating::Open:
osl::rating::Feature

Public Member Functions

 Open (int p)
 
bool match (const NumEffectState &state, Move move, const RatingEnv &) const
 
bool effectiveInCheck () const
 
- Public Member Functions inherited from osl::rating::Feature
 Feature (const std::string &name)
 
virtual ~Feature ()
 
const std::string & name () const
 

Static Public Member Functions

static int index (const NumEffectState &state, Move move)
 
static const std::string name (int property)
 

Private Attributes

int property
 

Detailed Description

Definition at line 119 of file rating/feature.h.

Constructor & Destructor Documentation

◆ Open()

osl::rating::Open::Open ( int  p)
inline

Definition at line 123 of file rating/feature.h.

Member Function Documentation

◆ effectiveInCheck()

bool osl::rating::Open::effectiveInCheck ( ) const
inlinevirtual

Reimplemented from osl::rating::Feature.

Definition at line 136 of file rating/feature.h.

◆ index()

static int osl::rating::Open::index ( const NumEffectState state,
Move  move 
)
inlinestatic

◆ match()

bool osl::rating::Open::match ( const NumEffectState state,
Move  move,
const RatingEnv  
) const
inlinevirtual

Implements osl::rating::Feature.

Definition at line 131 of file rating/feature.h.

References index(), and property.

◆ name()

const std::string osl::rating::Open::name ( int  property)
static

Definition at line 36 of file feature.cc.

Member Data Documentation

◆ property

int osl::rating::Open::property
private

Definition at line 121 of file rating/feature.h.

Referenced by match().


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