#include <dominoes.h>
| Public Member Functions | |
| unsigned long | size () const | 
| Number of dominoes in the list. | |
| bool | search (const Domino &domino) const | 
| Search a domino in the list. | |
| bool | insert (const Domino &domino) | 
| Insert a domino in the list. | |
| bool | insert_in_order (const Domino &domino, const HalfDomino &half) | 
| Insert a domino in the list. | |
| bool | erase (const Domino &domino) | 
| Remove a domino from the list. | |
| bool | is_ordered () | 
| Check if the dominoes are ordered. | |
| Domino | operator[] (unsigned long position) | 
| Access to a random position. | |
| Friends | |
| bool | operator== (const Dominoes &dominoes1, const Dominoes &dominoes2) | 
| Comparision between 2 dominoes list. | |
| bool | operator!= (const Dominoes &dominoes1, const Dominoes &dominoes2) | 
| Comparision between 2 dominoes list. | |
| 
 | 
| Remove a domino from the list. 
 
 | 
| 
 | 
| Insert a domino in the list. Inserts the domino without order 
 
 | 
| 
 | ||||||||||||
| Insert a domino in the list. Inserts the domino at the beginning or at the end of the list, depends of the half 
 
 | 
| 
 | 
| Check if the dominoes are ordered. 
 
 | 
| 
 | 
| Access to a random position. Be sure that position < size() 
 
 
 | 
| 
 | 
| Search a domino in the list. 
 
 | 
| 
 | 
| Number of dominoes in the list. 
 
 | 
| 
 | ||||||||||||
| Comparision between 2 dominoes list. 
 
 
 | 
| 
 | ||||||||||||
| Comparision between 2 dominoes list. 
 
 
 | 
 1.3.4
 
1.3.4