tartan  1.2.1.0
tt::Piece::TurnMap Class Reference

List of Turn objects. More...

#include <board.hpp>

Inheritance diagram for tt::Piece::TurnMap:
[legend]
Collaboration diagram for tt::Piece::TurnMap:
[legend]

Public Member Functions

 TurnMap (const TurnMap &)
 Copy constructor.
 
 TurnMap (TurnMap &&)
 Move constructor.
 
TurnMapoperator= (const TurnMap &other)
 Copy assignment operator.
 
TurnMapoperator= (TurnMap &&other)
 Move assignment operator.
 
bool possible () const
 Viability of TurnMap. More...
 
- Public Member Functions inherited from std::list< Turn * >
Turn * pop_front (Turn *... args)
 
Turn * push_back (Turn *... args)
 
Turn * splice (Turn *... args)
 
Turn * crbegin (Turn *... args)
 
Turn * erase (Turn *... args)
 
Turn * emplace_front (Turn *... args)
 
Turn * insert (Turn *... args)
 
Turn * reverse (Turn *... args)
 
Turn * back (Turn *... args)
 
Turn * end (Turn *... args)
 
Turn * remove (Turn *... args)
 
Turn * list (Turn *... args)
 
Turn * emplace_back (Turn *... args)
 
Turn * pop_back (Turn *... args)
 
Turn * cbegin (Turn *... args)
 
Turn * front (Turn *... args)
 
Turn * unique (Turn *... args)
 
Turn * size (Turn *... args)
 
Turn * resize (Turn *... args)
 
Turn * push_front (Turn *... args)
 
Turn * rbegin (Turn *... args)
 
Turn * crend (Turn *... args)
 
Turn * assign (Turn *... args)
 
Turn * operator= (Turn *... args)
 
Turn * sort (Turn *... args)
 
Turn * ~list (Turn *... args)
 
Turn * merge (Turn *... args)
 
Turn * empty (Turn *... args)
 
Turn * remove_if (Turn *... args)
 
Turn * cend (Turn *... args)
 
Turn * swap (Turn *... args)
 
Turn * max_size (Turn *... args)
 
Turn * rend (Turn *... args)
 
Turn * get_allocator (Turn *... args)
 
Turn * clear (Turn *... args)
 
Turn * emplace (Turn *... args)
 
Turn * begin (Turn *... args)
 

Friends

bool operator== (const TurnMap &lhs, const TurnMap &rhs)
 Comparison operator. More...
 
bool operator!= (const TurnMap &lhs, const TurnMap &rhs)
 Inverted comparison operator. More...
 

Additional Inherited Members

- Public Attributes inherited from std::list< Turn * >
Turn * elements
 STL member.
 

Detailed Description

List of Turn objects.

Member Function Documentation

◆ possible()

bool tt::TurnMap::possible ( ) const

Viability of TurnMap.

Returns
true if every member of current object Turn::possible() method returns true, false otherwise

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const TurnMap lhs,
const TurnMap rhs 
)
friend

Inverted comparison operator.

Returns
lhs if every Turn object of lhs is equal to every corresponding object in rhs true otherwise

◆ operator==

bool operator== ( const TurnMap lhs,
const TurnMap rhs 
)
friend

Comparison operator.

Returns
true if every Turn object of lhs is equal to every corresponding object in rhs, false otherwise

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