osl::mobility::MobilityTable Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | Friends | List of all members
osl::mobility::MobilityTable Class Reference

駒番号からMobilityContentを得る More...

`#include <mobilityTable.h>`

Collaboration diagram for osl::mobility::MobilityTable:
[legend]

## Public Member Functions
| MobilityTable ()
| MobilityTable (SimpleState const &state)
void | set (Direction d, int num, Square pos)
const Square | get (Direction d, int num) const

## Private Attributes
CArray< MobilityContent, 8 > | table

## Friends
bool | operator== (const MobilityTable &mt1, const MobilityTable &mt2)

## Detailed Description

駒番号からMobilityContentを得る

Definition at line 52 of file mobility/mobilityTable.h.

## Constructor & Destructor Documentation

osl::mobility::MobilityTable::MobilityTable | ( | ) |  |
| inline

Definition at line 60 of file mobility/mobilityTable.h.

osl::mobility::MobilityTable::MobilityTable | ( | SimpleState const & | state) |  |

## Member Function Documentation

const Square osl::mobility::MobilityTable::get | ( | Direction | d,
|  | int | num
| ) |  | const
| inline

Definition at line 66 of file mobility/mobilityTable.h.

References table.

Referenced by osl::effect::NumSimpleEffectTable::doEffectLong(), osl::state::NumEffectState::mobilityOf(), osl::mobility::operator<<(), and osl::mobility::operator==().

void osl::mobility::MobilityTable::set | ( | Direction | d,
|  | int | num,
|  | Square | pos
| ) |  |
| inline

Definition at line 62 of file mobility/mobilityTable.h.

References table.

Referenced by osl::effect::NumSimpleEffectTable::doEffectLong().

## Friends And Related Function Documentation

bool operator== | ( | const MobilityTable & | mt1,
|  | const MobilityTable & | mt2
| ) |  |
| friend

## Member Data Documentation

CArray<MobilityContent,8> osl::mobility::MobilityTable::table
| private

Definition at line 58 of file mobility/mobilityTable.h.

Referenced by get(), and set().

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

- mobility/mobilityTable.h