10 #include <QStringList>
string getMovieGenre(string)
Given a movie line from the file returns the movie genre.
Definition: movie.cpp:223
string getMovieByPosition(int, filemanip &)
Finds a movie in position position of a file and returns the name of the movie.
Definition: movie.cpp:18
string getMovieStudio(string)
Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) ...
Definition: movie.cpp:279
string getMovieYear(string)
Given a movie line from the file returns the movie release year.
Definition: movie.cpp:202
Definition: filemanip.h:12
void showMovieInLine(string)
Display the movie information of a | separated line with movie info. The info is displayed in one lin...
Definition: movie.cpp:341
void showMoviesInLine(filemanip &, int=1, int=10)
Display the information of the movies in a file from line start to line end. The information is displ...
Definition: movie.cpp:370
void showMovie(string)
Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The...
Definition: movie.cpp:78
string getMovieRating(string)
Given a movie line from the file returns the movie rating.
Definition: movie.cpp:181
string getMovieByName(string, filemanip &)
Finds the information of a movie given its name.
Definition: movie.cpp:51
string getMovieName(string)
Given a movie line from the file returns the movie name.
Definition: movie.cpp:160
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:104
void getMovieInfo(string, string &, string &, string &, string &)
Given a movie line from the file returns by reference the movie name, rating, year, and genre.
Definition: movie.cpp:250