217 void setType(
unsigned int _type);
235 void setName(std::string _name);
std::string getLanguage()
Get the language of the videos of this season.
void setName(std::string _name)
Set the name of this season.
std::string getSubtitle()
Get the language of the subtitles of the season.
void setGenre(std::string _genre)
Set the genre of this season.
std::string genre
The genre(s) of the season.
std::string name
The name of this season.
std::string getFoldername()
Get the Foldername where the video files are stored.
std::string getGenre()
Get the genre of this season.
unsigned int seasonNumber
The season number (e.g. season 1, season 2, ...)
void setSubtitle(std::string _subtitle)
Set the subtitles language of this season.
void setRating(unsigned char _rating)
Set a rating for this season.
std::string language
The language(s) of the video files of the season.
void clearPersonallyInformations()
Deletes the personally informations.
void loadFromFile(std::ifstream &loadStream)
Loads the season from a file stream.
void setDescription(std::string _description)
Set the description of this season.
std::string description
A description about the season.
std::list< std::string > seenEpisodes
List of the seen Episodes (File names)
void setSeenEpisodes(std::list< std::string > _seenEpisodes)
Set the list of seen episodes.
void addSeenEpisode(std::string _seenEpisode)
Add a seen episode to this list.
unsigned int getType()
Get the Type.
unsigned char rating
A rating from 0 (0.0, worst) until 100 (10.0, best)
void setSeasonNumber(unsigned int _seasonNumber)
Set the season number.
void setFoldername(std::string _foldername)
Set the folder name, where the files are stored.
unsigned int type
The season type (OVA, Movie, Season, ...)
unsigned int getSeasonNumber()
Get the season number.
unsigned int getEpisodes()
Get the number of episodes in this season.
unsigned int episodes
The number of episodes in this season (0, if unknown or continued)
std::string getSecondName()
Get the alternative name of this season.
void saveToFile(std::ofstream &saveStream)
Saves the season to a file stream.
unsigned int getWatched()
Get the number of seen episodes.
unsigned char getRating()
Get the rating of this season.
std::string subtitle
The language(s) of the subtitles of the season.
std::string foldername
The folder where the video files are stored.
void setLanguage(std::string _language)
Set the language of this season.
std::string secondName
An alternative name, the japanese name for example.
std::string getDescription()
Get the Description of this season.
void setType(unsigned int _type)
Set the type of this season.
void setAgeLimit(unsigned int _ageLimit)
Set the age limit of this season.
A folder with special episodes.
void setSecondName(std::string _secondName)
Set the alternative name of this season.
std::list< std::string > & getSeenEpisodes()
Get the list of seen episodes.
void setEpisodes(unsigned int _episodes)
Set the number of episodes this season contains.
unsigned int getAgeLimit()
Get the minimum age to watch this anime.
unsigned int ageLimit
The minimum age for watching this anime.
unsigned int watched
0 = unwatched, else = unixtime you have watched it
void setWatched(unsigned int _watched)
Set if the season is watched.
std::string getName()
Get the name of this season.