#include <core.h>
Inheritance diagram for dmn::Core:


| Public Member Functions | |
| Core () | |
| Constructor. | |
| virtual | ~Core () | 
| Destructor. | |
| virtual bool | play (const std::list< PlayerInfo > &teams, const std::string &tournament, const std::string &match, const std::string &game, const std::string &hand, const std::string &display, const std::string &sound)=0 | 
| Plays domino. | |
| virtual bool | tournaments (std::list< ID > *tournaments)=0 | 
| Tournaments in dmn. | |
| virtual bool | matches_in_tournament (ID tournament, std::list< ID > *matches)=0 | 
| Matches in a tournament. | |
| virtual ID | tournament_of_match (ID match)=0 | 
| Tournament owner of the match. | |
| virtual bool | teams_in_tournament (ID tournament, std::list< ID > *teams)=0 | 
| Teams in a tournament. | |
| virtual ID | tournament_of_team (ID team)=0 | 
| Tournament of the team. | |
| virtual bool | displays_in_tournament (ID tournament, std::list< ID > *displays)=0 | 
| Displays in a tournament. | |
| virtual ID | tournament_of_display (ID display)=0 | 
| Tournament of the display. | |
| virtual bool | games_in_match (ID match, std::list< ID > *games)=0 | 
| Games in a match. | |
| virtual ID | match_of_game (ID game)=0 | 
| Match owner of the game. | |
| virtual bool | couples_in_match (ID match, std::list< ID > *couples)=0 | 
| Couples in a match. | |
| virtual ID | match_of_couple (ID couple)=0 | 
| Match of the couple. | |
| virtual bool | displays_in_match (ID match, std::list< ID > *displays)=0 | 
| Displays in a match. | |
| virtual ID | match_of_display (ID display)=0 | 
| Match of the display. | |
| virtual bool | hands_in_game (ID game, std::list< ID > *hands)=0 | 
| Hands in a game. | |
| virtual ID | game_of_hand (ID hand)=0 | 
| Game owner of the hand. | |
| virtual bool | couples_in_game (ID game, std::list< ID > *couples)=0 | 
| Couples in a game. | |
| virtual ID | game_of_couple (ID couple)=0 | 
| Game of the couple. | |
| virtual bool | displays_in_game (ID game, std::list< ID > *displays)=0 | 
| Displays in a game. | |
| virtual ID | game_of_display (ID display)=0 | 
| Game of the display. | |
| virtual bool | players_in_hand (ID hand, std::list< ID > *players)=0 | 
| Players in a hand. | |
| virtual ID | hand_of_player (ID player)=0 | 
| Hand of the player. | |
| virtual bool | displays_in_hand (ID hand, std::list< ID > *displays)=0 | 
| Displays in a hand. | |
| virtual ID | hand_of_display (ID display)=0 | 
| Hand of the display. | |
| virtual bool | sounds_in_hand (ID hand, std::list< ID > *sounds)=0 | 
| Sounds in a hand. | |
| virtual ID | hand_of_sound (ID sound)=0 | 
| Hand of the sound. | |
| virtual bool | couples_in_team (ID team, std::list< ID > *couples)=0 | 
| Couples in a team. | |
| virtual ID | team_of_couple (ID couple)=0 | 
| Team owner of the couple. | |
| virtual bool | players_in_couple (ID couple, std::list< ID > *players)=0 | 
| Players in a couple. | |
| virtual ID | couple_of_player (ID player)=0 | 
| Couple owner of the player. | |
| virtual bool | classification_of_tournament (ID tournament, std::list< ID > *teams)=0 | 
| Classification of the tournament. | |
| virtual void | score_board_match (ID match, std::list< Score > *score)=0 | 
| Score board of the match. | |
| virtual bool | is_first_hand_of_game (ID game, ID hand)=0 | 
| Check if the identificator is the first hand of this game. | |
| virtual void | score_board_game (ID game, std::list< Score > *score)=0 | 
| Score board of the game. | |
| virtual ID | player_who_started_in_hand (ID hand)=0 | 
| Player who started the hand. | |
| virtual int | number_dominoes_in_hand (ID hand)=0 | 
| Number of dominoes that has the hand. | |
| virtual HalfDomino | max_half_value_in_hand (ID hand)=0 | 
| Maximum half value in the hand (the halfs must be 0...max_half_value()). | |
| virtual int | dominoes_in_hand (ID hand, Dominoes *dominoes)=0 | 
| Return the dominoes played in a hand. | |
| virtual int | dominoes_has_player_in_hand (ID hand, ID player)=0 | 
| Return the number of dominoes that a player has. | |
| virtual bool | domino_playable_in_hand (ID hand, Player *player, ID id, Domino domino, HalfDomino half)=0 | 
| Check if a movement is valid or not. | |
| virtual const std::string | player_name (ID player)=0 | 
| Player's name. | |
| virtual bool | is_player_interactive (ID player)=0 | 
| Check if a player is interactive or not. | |
| 
 | ||||||||||||
| Classification of the tournament. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Couple owner of the player. 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Couples in a game. If couples is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Couples in a match. If couples is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Couples in a team. If couples is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Displays in a game. If displays is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Displays in a hand. If displays is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Displays in a match. If displays is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Displays in a tournament. If displays is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||||||||||||||
| Check if a movement is valid or not. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||
| Return the number of dominoes that a player has. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||
| Return the dominoes played in a hand. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Game of the couple. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Game of the display. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Game owner of the hand. 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Games in a match. If games is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Hand of the display. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Hand of the player. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Hand of the sound. 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Hands in a game. If hands is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Check if the identificator is the first hand of this game. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Check if a player is interactive or not. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Match of the couple. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Match of the display. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Match owner of the game. 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Matches in a tournament. If matches is NULL, nothings is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Maximum half value in the hand (the halfs must be 0...max_half_value()). 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Number of dominoes that has the hand. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||||||||||||||||||||||
| Plays domino. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Player's name. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | 
| Player who started the hand. 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||
| Players in a couple. If players is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Players in a hand. If players is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Score board of the game. score must have space for the score board 
 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||
| Score board of the match. score must have space for the score board 
 
 Implemented in dmn::CoreStandard. | 
| 
 | ||||||||||||
| Sounds in a hand. If sounds is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Team owner of the couple. 
 
 
 Implemented in dmn::DB. | 
| 
 | ||||||||||||
| Teams in a tournament. If teams is NULL, nothing is returned 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Tournament of the display. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Tournament owner of the match. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Tournament of the team. 
 
 
 Implemented in dmn::DB. | 
| 
 | 
| Tournaments in dmn. If tournaments is NULL, nothings is returned 
 
 
 Implemented in dmn::DB. | 
 1.3.4
 
1.3.4