My Project
|
#include <container.h>
Classes | |
struct | PtypeOSquareLessThan |
Public Member Functions | |
void | sort () |
駒の価値の小さい順に並び替える | |
![]() | |
FixedCapacityVector () | |
FixedCapacityVector (size_t size) | |
FixedCapacityVector (FixedCapacityVector const &rhs) | |
FixedCapacityVector (const RangeIterator &first, const RangeIterator &last) | |
~FixedCapacityVector () | |
FixedCapacityVector & | operator= (FixedCapacityVector const &rhs) |
std::pair< PtypeO, Square > & | operator[] (size_t i) |
std::pair< PtypeO, Square > const & | operator[] (size_t i) const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
std::pair< PtypeO, Square > & | front () |
const std::pair< PtypeO, Square > & | front () const |
std::pair< PtypeO, Square > & | back () |
const std::pair< PtypeO, Square > & | back () const |
void | push_back (const std::pair< PtypeO, Square > &e) |
void | push_back (const RangeIterator &first, const RangeIterator &last) |
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 |
bool | isMember (const std::pair< PtypeO, Square > &e) const |
detail::FixedCapacityVectorPushBack< std::pair< PtypeO, Square > > | pushBackHelper () |
Additional Inherited Members | |
![]() | |
typedef array_t::value_type | value_type |
typedef array_t::iterator | iterator |
typedef array_t::const_iterator | const_iterator |
![]() | |
typedef Array | array_t |
![]() | |
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.
Referenced by osl::eval::See::findEffectPieces(), and osl::eval::See::findEffectPiecesAfterMove().