Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members
MovieList Class Reference
This class is used read movies into memory. More...
#include <MovieList.hpp>
Public Member Functions | |
| MovieList (Profile *profile=NULL) | |
| default constructor | |
| ~MovieList () | |
| default destructor | |
| void | addMovie (Movie *m) |
| Add a movie to the list. | |
| string | getDescription () |
| Get the description of the movie-list. | |
| string | getHTMLRepresentation (char *imgPath, CGIParser *cgiparser=NULL, bool fakeRtspServer=false) |
| Get an HTML-representation of the movie-list. | |
| void | readMoviesFromFile (const char *filename) |
| Read movies from specified xml-file. | |
Static Public Member Functions | |
| Movie * | getMovieById (string movieId) |
Detailed Description
This class is used read movies into memory.
- Author:
- Klaus Schoeffmann
Definition at line 71 of file MovieList.hpp.
Member Function Documentation
|
||||||||||||||||
|
Get an HTML-representation of the movie-list.
References CGIParser::getFieldValue(), Profile::getHeight(), Movie::getHTMLRepresentation(), Profile::getProfileId(), Profile::getWidth(), and semifunc::newStrCpy().
|
|
|
References Movie::getId(). Referenced by SessionList::writeHTMLRepresentation().
|
|
|
Read movies from specified xml-file. This function is a very small implementation of a MPEG21-DigitalItem-Parser. The read movies will be stored in the vector 'list'. Definition at line 134 of file MovieList.cpp. References Movie::getId(), and Movie::setUrl().
|
The documentation for this class was generated from the following files: