|
anfo
1.0
|
Season header in the file. More...
#include <Season.h>

Public Member Functions | |
| SeasonHeader () | |
| Empty constructor. More... | |
| SeasonHeader (Season *season) | |
| Constructor build from an season. More... | |
| unsigned int | getSizeOfName () |
| Get the string length of the name. More... | |
| unsigned int | getSizeOfSecondName () |
| Get the string length of the second name. More... | |
| unsigned int | getSizeOfGenre () |
| Get the string length of the genre. More... | |
| unsigned int | getSizeOfDescription () |
| Get the string length of the description. More... | |
| unsigned int | getSizeOfLanguage () |
| Get the string length of the language. More... | |
| unsigned int | getSizeOfSubtitle () |
| Get the string length of the subtitles. More... | |
| unsigned int | getSizeOfFoldername () |
| Get the string length of the folder name. More... | |
| unsigned int | getSizeOfSeenEpisodes () |
| Get the string length of the seen episodes. More... | |
| bool | checkMarks () |
| Check the header of errors. More... | |
Private Attributes | |
| char | anseasonMark [8] |
| The mark of the beginning of a season header. Needs to be 'ANSEASON'. More... | |
| unsigned int | sizeOfName |
| The string length of the name (with the zero byte) More... | |
| unsigned int | sizeOfSecondName |
| The string length of the second name (with the zero byte) More... | |
| unsigned int | sizeOfGenre |
| The string length of the genre (with the zero byte) More... | |
| unsigned int | sizeOfDescription |
| The string length of the description (with the zero byte) More... | |
| unsigned int | sizeOfLanguage |
| The string length of the language (with the zero byte) More... | |
| unsigned int | sizeOfSubtitle |
| The string length of the subtitle language (with the zero byte) More... | |
| unsigned int | sizeOfFoldername |
| The string length of the folder name (with the zero byte) More... | |
| unsigned int | sizeOfSeenEpisodes |
| The string length of seen episodes (with the zero byte) More... | |
| char | anvaluesMark [8] |
| The mark on the beginning of the string block. Needs to be 'ANVALUES'. More... | |
Season header in the file.
This class prepares a header to write the season to a file or read a file to rebuild a season object You can check the file for errors with marks.
| anfo::SeasonHeader::SeasonHeader | ( | ) |
Empty constructor.
Creates an empty season header
| anfo::SeasonHeader::SeasonHeader | ( | Season * | season | ) |
Constructor build from an season.
This constructor builds a header from an season.
| season | The season object with the informations. |
| bool anfo::SeasonHeader::checkMarks | ( | ) |
Check the header of errors.
| unsigned int anfo::SeasonHeader::getSizeOfDescription | ( | ) |
Get the string length of the description.
| unsigned int anfo::SeasonHeader::getSizeOfFoldername | ( | ) |
Get the string length of the folder name.
| unsigned int anfo::SeasonHeader::getSizeOfGenre | ( | ) |
Get the string length of the genre.
| unsigned int anfo::SeasonHeader::getSizeOfLanguage | ( | ) |
Get the string length of the language.
| unsigned int anfo::SeasonHeader::getSizeOfName | ( | ) |
Get the string length of the name.
| unsigned int anfo::SeasonHeader::getSizeOfSecondName | ( | ) |
Get the string length of the second name.
| unsigned int anfo::SeasonHeader::getSizeOfSeenEpisodes | ( | ) |
Get the string length of the seen episodes.
| unsigned int anfo::SeasonHeader::getSizeOfSubtitle | ( | ) |
Get the string length of the subtitles.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.7