43 inline bool contains (
const string& name )
const {
return members.find( name ) != members.end(); }
46 double getScore()
const;
55 bool operator>(
const Team& t )
const;
58 bool operator<(
const Team& t )
const;
Team is the class handling team management.
Definition: Team.hpp:32
bool contains(const string &name) const
Inline function to test if a player belongs to this team.
Definition: Team.hpp:43
ostream & operator<<(ostream &os, const Card &card)
Definition: Card.cpp:74
map< string, shared_ptr< Player > > members
A map of team members, to quickly have an hand on the player object knowing his/her name...
Definition: Team.hpp:61