#ifndef SPORTSLEAGUE_H_INCLUDED
#define SPORTSLEAGUE_H_INCLUDED
#include <string>
#include <vector>
#include "SportsTeam.h"
using namespace std;
class SportsTeam;
class SportsLeague{
public:
SportsLeague()
: SportsLeague(0,"Ads�z Lig")
{
}
SportsLeague(long leagueId,string leagueName)
:_leagueId(leagueId),_leagueName(leagueName)
{
}
long getLeagueId() const {
return _leagueId;
}
void setLeagueId( const long leagueId){
_leagueId=leagueId;
}
string getLeagueName() const {
return _leagueName;
}
void setLeagueName( const string leagueName){
_leagueName=leagueName;
}
vector<SportsTeam*> &getTeamVector() {
return _teamVector;
}
void setTeamVector(vector<SportsTeam*> &teamVector){
_teamVector=teamVector;
}
private:
long _leagueId;
string _leagueName;
vector<SportsTeam*> _teamVector;
};
#endif
Dosyayı İndir