|
My Project
|
#include <container.h>
Classes | |
| struct | PtypeOSquareLessThan |
Public Member Functions | |
| void | sort () |
| 駒の価値の小さい順に並び替える | |
| Public Member Functions inherited from osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE > | |
| FixedCapacityVector () | |
| ~FixedCapacityVector () | |
| FixedCapacityVector & | operator= (FixedCapacityVector const &rhs) |
| std::pair< PtypeO, Square > & | operator[] (size_t i) |
| iterator | begin () |
| iterator | end () |
| std::pair< PtypeO, Square > & | front () |
| std::pair< PtypeO, Square > & | back () |
| void | push_back (const std::pair< PtypeO, Square > &e) |
| void | pop_back () |
| void | clear () |
| void | resize (size_t new_length) |
| void | erase (const std::pair< PtypeO, Square > &e) |
| void | unique () |
| 重複する要素を取り除く | |
| size_t | size () const |
| bool | empty () const |
| size_t | capacity () const |
| bool | isMember (const std::pair< PtypeO, Square > &e, const_iterator first, const_iterator last) const |
| detail::FixedCapacityVectorPushBack< std::pair< PtypeO, Square > > | pushBackHelper () |
Additional Inherited Members | |
| Public Types inherited from osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE > | |
| typedef array_t::value_type | value_type |
| typedef array_t::iterator | iterator |
| typedef array_t::const_iterator | const_iterator |
| Protected Types inherited from osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE > | |
| typedef Array | array_t |
| Protected Attributes inherited from osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE > | |
| std::pair< PtypeO, Square > * | ptr |
| CArray< int64_t,(sizeof(std::pair< PtypeO, Square >[Capacity])+sizeof(int64_t) -1)/sizeof(int64_t)> | relements |
Definition at line 320 of file container.h.
| void osl::PtypeOSquareVector::sort | ( | ) |
駒の価値の小さい順に並び替える
Definition at line 74 of file container.cc.
References osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE >::begin(), and osl::FixedCapacityVector< std::pair< PtypeO, Square >, Piece::SIZE >::end().
Referenced by osl::eval::See::findEffectPieces(), and osl::eval::See::findEffectPiecesAfterMove().