|
My Project
|
現在の定義 (2005/3/4以降) More...
#include <numBitmapEffect.h>
Public Types | |
| enum | Op { Add , Sub } |
Public Member Functions | |
| NumBitmapEffect () | |
| int | countEffect (Player pl) const |
| template<Op OP> | |
| NumBitmapEffect & | opEqual (NumBitmapEffect const &rhs) |
| const mask_t | selectLong () const |
| bool | hasLong () const |
| template<Ptype PTYPE> | |
| const mask_t | selectLong () const |
| template<Ptype PTYPE> | |
| bool | hasLong () const |
| template<Ptype PTYPE> | |
| bool | hasAny () const |
| Public Member Functions inherited from osl::PieceMask | |
| PieceMask () | |
| PieceMask (const PieceMaskBase &base) | |
| void | setMask (int index, mask_t val) |
| void | xorMask (int index, mask_t val) |
| void | orMask (int index, mask_t val) |
| bool | test (int num) const |
| void | set (int num) |
| void | flip (int num) |
| void | reset (int num) |
| bool | any () const |
| const mask_t | getMask (int num) const |
| template<Ptype PTYPE> | |
| const mask_t | getMask () const |
| unpromote(PTYPE) の駒のbit を*含む*mask_tを取り出す | |
| template<Ptype PTYPE> | |
| const mask_t | selectBit () const |
| unpromote(PTYPE) の駒のbit だけ取り出す | |
| template<Ptype PTYPE> | |
| void | clearBit () |
| unpromote(PTYPE) の駒のbit を消す | |
| template<Ptype PTYPE> | |
| void | setBit () |
| unpromote(PTYPE) の駒のbit を立てる | |
| Public Member Functions inherited from osl::container::PieceMask64 | |
| PieceMask64 () | |
| PieceMask64 (misc::Mask64 const &m) | |
| const misc::Mask64 & | getMask (int) const |
| void | resetAll () |
| void | setAll () |
| PieceMask64 & | operator^= (const PieceMask64 &o) |
| PieceMask64 & | operator&= (const PieceMask64 &o) |
| PieceMask64 & | operator|= (const PieceMask64 &o) |
| PieceMask64 & | operator-= (const PieceMask64 &o) |
| PieceMask64 & | operator+= (const PieceMask64 &o) |
| bool | none () const |
| bool | hasMultipleBit () const |
| int | countBit2 () const |
| bit の数を2まで数える | |
| int | countBit () const |
| int | takeOneBit () |
Static Public Member Functions | |
| template<Player P> | |
| static NumBitmapEffect | playerEffect () |
| static NumBitmapEffect | playerEffect (Player pl) |
| template<Player P> | |
| static mask_t | playerEffectMask () |
| static mask_t | playerEffectMask (Player pl) |
| template<Player P> | |
| static NumBitmapEffect | makeEffect (int num) |
| static const mask_t | longEffectMask () |
| static const mask_t | makeLongMask (int num) |
| template<Player P> | |
| static NumBitmapEffect | makeLongEffect (int num) |
| static NumBitmapEffect | makeLongEffect (Player pl, int num) |
| Static Public Member Functions inherited from osl::PieceMask | |
| static const mask_t | numToMask (int num) |
| Static Public Member Functions inherited from osl::container::PieceMask64 | |
| static int | numToIndex (int) |
| static int | numToOffset (int num) |
Additional Inherited Members | |
| Protected Member Functions inherited from osl::container::PieceMask64 | |
| misc::Mask64 & | mutableMask (int) |
| Protected Attributes inherited from osl::container::PieceMask64 | |
| Mask64 | mask |
現在の定義 (2005/3/4以降)
以前の定義 (2004/4/13以降)
以前の定義
Definition at line 28 of file numBitmapEffect.h.
| Enumerator | |
|---|---|
| Add | |
| Sub | |
Definition at line 95 of file numBitmapEffect.h.
|
inline |
Definition at line 31 of file numBitmapEffect.h.
References osl::container::PieceMask64::resetAll().
Referenced by makeEffect(), makeLongEffect(), makeLongEffect(), opEqual(), playerEffect(), and playerEffect().
|
inline |
Definition at line 81 of file numBitmapEffect.h.
References osl::PieceMask::getMask(), osl::misc::GeneralMask< mask_int_t >::makeDirect(), osl::container::PieceMask64::mask, and osl::container::PieceMask64::numToOffset().
Referenced by osl::NumEffectState::countEffect().
|
inline |
Definition at line 155 of file numBitmapEffect.h.
References osl::PieceMask::getMask(), osl::PtypeFuns< T >::indexMask, and osl::misc::GeneralMask< mask_int_t >::makeDirect().
|
inline |
Definition at line 151 of file numBitmapEffect.h.
References osl::misc::GeneralMask< Integer >::any(), and selectLong().
|
inline |
Definition at line 142 of file numBitmapEffect.h.
References osl::misc::GeneralMask< Integer >::any(), and selectLong().
|
inlinestatic |
Definition at line 107 of file numBitmapEffect.h.
References osl::misc::GeneralMask< mask_int_t >::makeDirect().
Referenced by selectLong().
|
inlinestatic |
Definition at line 90 of file numBitmapEffect.h.
References NumBitmapEffect(), and playerEffect().
|
inlinestatic |
Definition at line 124 of file numBitmapEffect.h.
References makeLongMask(), NumBitmapEffect(), and playerEffect().
|
inlinestatic |
Definition at line 130 of file numBitmapEffect.h.
References makeLongMask(), NumBitmapEffect(), and playerEffect().
|
inlinestatic |
Definition at line 119 of file numBitmapEffect.h.
References osl::misc::GeneralMask< mask_int_t >::makeDirect(), and osl::container::PieceMask64::numToOffset().
Referenced by makeLongEffect(), and makeLongEffect().
|
inline |
Definition at line 99 of file numBitmapEffect.h.
References Add, and NumBitmapEffect().
|
inlinestatic |
Definition at line 35 of file numBitmapEffect.h.
References osl::BLACK, osl::PieceMask::flip(), and NumBitmapEffect().
Referenced by makeEffect(), makeLongEffect(), makeLongEffect(), and playerEffect().
|
inlinestatic |
Definition at line 41 of file numBitmapEffect.h.
References osl::BLACK, osl::misc::GeneralMask< mask_int_t >::makeDirect(), NumBitmapEffect(), osl::PieceMask::numToMask(), playerEffect(), osl::PieceMask::setMask(), and osl::WHITE.
Definition at line 53 of file numBitmapEffect.h.
References osl::BLACK, and osl::PieceMask::numToMask().
Referenced by playerEffectMask().
Definition at line 65 of file numBitmapEffect.h.
References osl::BLACK, osl::misc::GeneralMask< mask_int_t >::makeDirect(), osl::PieceMask::numToMask(), playerEffectMask(), and osl::WHITE.
Definition at line 146 of file numBitmapEffect.h.
References osl::PtypeFuns< T >::indexMask, osl::misc::GeneralMask< mask_int_t >::makeDirect(), and selectLong().
|
inline |
Definition at line 138 of file numBitmapEffect.h.
References osl::PieceMask::getMask(), and longEffectMask().
Referenced by hasLong(), osl::NumEffectState::longEffectAt(), and selectLong().