90 for(
unsigned int i = 0; i <
seasons.size(); i++ )
93 if(
seasons[i].getNumber() == seasNum )
111 string fileError =
"Showname : " +
getShowname() +
" : Season : ";
112 fileError += seasNum;
146 for(
int i = 0; i < rangeInt; i++ )
~Show()
Default destructor.
int numSeasons
The number of seasons for *this show.
bool sortAscending()
Sorts the seasons in ascending order.
Show()
Default constructor, set the number of episodes to 0, the default.
int index
The show name's index.
Stores all info required to describe a particular season of a TV show.
The Show class stores all info required to describe an entire TV show.
string getShowname() const
vector< Season > seasons
A vector that holds the Season objects.
bool setIndex(int)
Sets the show name index.
string showname
The show's name.
int numEpisodes
The number of episodes for *this show.
The ErrorHandler class stores an error as it occurs.
bool addSeason(int, vector< ErrorHandler > &)
Adds a season to the current show.
bool setShowname(string)
Sets the show name.