10 #include <QStringList>
string getMovieGenre(string)
Given a movie line from the file returns the movie genre.
Definition: movie.cpp:125
string getMovieByPosition(int, filemanip &)
Finds a movie in position position of a file and returns the name of the movie.
Definition: movie.cpp:3
string getMovieYear(string)
Given a movie line from the file returns the movie release year.
Definition: movie.cpp:114
Definition: filemanip.h:8
void showMovie(string)
Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The...
Definition: movie.cpp:43
string getMovieRating(string)
Given a movie line from the file returns the movie rating.
Definition: movie.cpp:103
string getMovieByName(string, filemanip &)
Finds the information of a movie given its name.
Definition: movie.cpp:26
string getMovieName(string)
Given a movie line from the file returns the movie name.
Definition: movie.cpp:93
void showMovies(filemanip &, int=1, int=10)
Display the information of the movies in a file from line start to line end.
Definition: movie.cpp:56
void getMovieInfo(string, string &, string &, string &, string &)
Given a movie line from the file returns by reference the movie name, rating, year, and genre.