Browse Source

Fixed movie.cpp and updated doc

Jose Ortiz 9 years ago
parent
commit
f368674cb9

+ 1
- 1
doc/en/html/annotated.html View File

@@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
92 92
 </div><!-- contents -->
93 93
 <!-- start footer part -->
94 94
 <hr class="footer"/><address class="footer"><small>
95
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
95
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
96 96
 <img class="footer" src="doxygen.png" alt="doxygen"/>
97 97
 </a> 1.8.9.1
98 98
 </small></address>

+ 1
- 1
doc/en/html/classes.html View File

@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
96 96
 </div><!-- contents -->
97 97
 <!-- start footer part -->
98 98
 <hr class="footer"/><address class="footer"><small>
99
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
99
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
100 100
 <img class="footer" src="doxygen.png" alt="doxygen"/>
101 101
 </a> 1.8.9.1
102 102
 </small></address>

+ 1
- 1
doc/en/html/classfilemanip-members.html View File

@@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
97 97
 </table></div><!-- contents -->
98 98
 <!-- start footer part -->
99 99
 <hr class="footer"/><address class="footer"><small>
100
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
100
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
101 101
 <img class="footer" src="doxygen.png" alt="doxygen"/>
102 102
 </a> 1.8.9.1
103 103
 </small></address>

+ 1
- 1
doc/en/html/classfilemanip.html View File

@@ -117,7 +117,7 @@ QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><b>in</b></td><
117 117
 </div><!-- contents -->
118 118
 <!-- start footer part -->
119 119
 <hr class="footer"/><address class="footer"><small>
120
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
120
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
121 121
 <img class="footer" src="doxygen.png" alt="doxygen"/>
122 122
 </a> 1.8.9.1
123 123
 </small></address>

+ 1
- 1
doc/en/html/filemanip_8h_source.html View File

@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
109 109
 </div><!-- fragment --></div><!-- contents -->
110 110
 <!-- start footer part -->
111 111
 <hr class="footer"/><address class="footer"><small>
112
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
112
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
113 113
 <img class="footer" src="doxygen.png" alt="doxygen"/>
114 114
 </a> 1.8.9.1
115 115
 </small></address>

+ 1
- 1
doc/en/html/files.html View File

@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
93 93
 </div><!-- contents -->
94 94
 <!-- start footer part -->
95 95
 <hr class="footer"/><address class="footer"><small>
96
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
96
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
97 97
 <img class="footer" src="doxygen.png" alt="doxygen"/>
98 98
 </a> 1.8.9.1
99 99
 </small></address>

+ 1
- 1
doc/en/html/globals.html View File

@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
118 118
 </div><!-- contents -->
119 119
 <!-- start footer part -->
120 120
 <hr class="footer"/><address class="footer"><small>
121
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
121
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
122 122
 <img class="footer" src="doxygen.png" alt="doxygen"/>
123 123
 </a> 1.8.9.1
124 124
 </small></address>

+ 1
- 1
doc/en/html/globals_func.html View File

@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
118 118
 </div><!-- contents -->
119 119
 <!-- start footer part -->
120 120
 <hr class="footer"/><address class="footer"><small>
121
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
121
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
122 122
 <img class="footer" src="doxygen.png" alt="doxygen"/>
123 123
 </a> 1.8.9.1
124 124
 </small></address>

+ 1
- 1
doc/en/html/index.html View File

@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
81 81
 </div><!-- contents -->
82 82
 <!-- start footer part -->
83 83
 <hr class="footer"/><address class="footer"><small>
84
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
84
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
85 85
 <img class="footer" src="doxygen.png" alt="doxygen"/>
86 86
 </a> 1.8.9.1
87 87
 </small></address>

+ 3
- 12
doc/en/html/movie_8h.html View File

@@ -101,7 +101,7 @@ Functions</h2></td></tr>
101 101
 <tr class="memdesc:aa2ca3be9f1d904e9f177faa425745236"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the information of a movie given its name.  <a href="#aa2ca3be9f1d904e9f177faa425745236">More...</a><br /></td></tr>
102 102
 <tr class="separator:aa2ca3be9f1d904e9f177faa425745236"><td class="memSeparator" colspan="2">&#160;</td></tr>
103 103
 <tr class="memitem:aebd1da153f25f87661ac630b47737097"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a> (int, <a class="el" href="classfilemanip.html">filemanip</a> &amp;)</td></tr>
104
-<tr class="memdesc:aebd1da153f25f87661ac630b47737097"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMovieByPosition  <a href="#aebd1da153f25f87661ac630b47737097">More...</a><br /></td></tr>
104
+<tr class="memdesc:aebd1da153f25f87661ac630b47737097"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a movie in position position of a file and returns the name of the movie.  <a href="#aebd1da153f25f87661ac630b47737097">More...</a><br /></td></tr>
105 105
 <tr class="separator:aebd1da153f25f87661ac630b47737097"><td class="memSeparator" colspan="2">&#160;</td></tr>
106 106
 <tr class="memitem:a39efa4469877528f52e365bba5d35c30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;, int=1, int=10)</td></tr>
107 107
 <tr class="memdesc:a39efa4469877528f52e365bba5d35c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the information of the movies in a file from line start to line end.  <a href="#a39efa4469877528f52e365bba5d35c30">More...</a><br /></td></tr>
@@ -189,16 +189,7 @@ Functions</h2></td></tr>
189 189
       </table>
190 190
 </div><div class="memdoc">
191 191
 
192
-<p>getMovieByPosition </p>
193
-<p>Finds a movie in position position of a file and returns the name of the movie.</p>
194
-<dl class="params"><dt>Parameters</dt><dd>
195
-  <table class="params">
196
-    <tr><td class="paramname">position</td><td></td></tr>
197
-    <tr><td class="paramname">file</td><td></td></tr>
198
-  </table>
199
-  </dd>
200
-</dl>
201
-<dl class="section return"><dt>Returns</dt><dd>Finds a movie in position position and returns the name of the movie</dd></dl>
192
+<p>Finds a movie in position position of a file and returns the name of the movie. </p>
202 193
 <dl class="params"><dt>Parameters</dt><dd>
203 194
   <table class="params">
204 195
     <tr><td class="paramname">position</td><td>Position of the movie in the file </td></tr>
@@ -466,7 +457,7 @@ Functions</h2></td></tr>
466 457
 </div><!-- contents -->
467 458
 <!-- start footer part -->
468 459
 <hr class="footer"/><address class="footer"><small>
469
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
460
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
470 461
 <img class="footer" src="doxygen.png" alt="doxygen"/>
471 462
 </a> 1.8.9.1
472 463
 </small></address>

+ 9
- 9
doc/en/html/movie_8h_source.html View File

@@ -123,21 +123,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
123 123
 <div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
124 124
 <div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
125 125
 <div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#endif // MOVIE_H</span></div>
126
-<div class="ttc" id="movie_8h_html_aaa2e1332e82b931cf45663e755cc2302"><div class="ttname"><a href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a></div><div class="ttdeci">string getMovieGenre(string)</div><div class="ttdoc">Given a movie line from the file returns the movie genre. </div><div class="ttdef"><b>Definition:</b> movie.cpp:132</div></div>
127
-<div class="ttc" id="movie_8h_html_aebd1da153f25f87661ac630b47737097"><div class="ttname"><a href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a></div><div class="ttdeci">string getMovieByPosition(int, filemanip &amp;)</div><div class="ttdoc">getMovieByPosition </div><div class="ttdef"><b>Definition:</b> movie.cpp:10</div></div>
128
-<div class="ttc" id="movie_8h_html_ad378998f3ab769b47a1bbc4672496f45"><div class="ttname"><a href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a></div><div class="ttdeci">string getMovieYear(string)</div><div class="ttdoc">Given a movie line from the file returns the movie release year. </div><div class="ttdef"><b>Definition:</b> movie.cpp:121</div></div>
126
+<div class="ttc" id="movie_8h_html_aaa2e1332e82b931cf45663e755cc2302"><div class="ttname"><a href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a></div><div class="ttdeci">string getMovieGenre(string)</div><div class="ttdoc">Given a movie line from the file returns the movie genre. </div><div class="ttdef"><b>Definition:</b> movie.cpp:125</div></div>
127
+<div class="ttc" id="movie_8h_html_aebd1da153f25f87661ac630b47737097"><div class="ttname"><a href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a></div><div class="ttdeci">string getMovieByPosition(int, filemanip &amp;)</div><div class="ttdoc">Finds a movie in position position of a file and returns the name of the movie. </div><div class="ttdef"><b>Definition:</b> movie.cpp:3</div></div>
128
+<div class="ttc" id="movie_8h_html_ad378998f3ab769b47a1bbc4672496f45"><div class="ttname"><a href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a></div><div class="ttdeci">string getMovieYear(string)</div><div class="ttdoc">Given a movie line from the file returns the movie release year. </div><div class="ttdef"><b>Definition:</b> movie.cpp:114</div></div>
129 129
 <div class="ttc" id="classfilemanip_html"><div class="ttname"><a href="classfilemanip.html">filemanip</a></div><div class="ttdef"><b>Definition:</b> filemanip.h:8</div></div>
130 130
 <div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
131
-<div class="ttc" id="movie_8h_html_af71e2fccff041af5f808e210a9cbb06f"><div class="ttname"><a href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a></div><div class="ttdeci">void showMovie(string)</div><div class="ttdoc">Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The...</div><div class="ttdef"><b>Definition:</b> movie.cpp:50</div></div>
132
-<div class="ttc" id="movie_8h_html_af50291017de186a0a663e8418d65b7ef"><div class="ttname"><a href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a></div><div class="ttdeci">string getMovieRating(string)</div><div class="ttdoc">Given a movie line from the file returns the movie rating. </div><div class="ttdef"><b>Definition:</b> movie.cpp:110</div></div>
133
-<div class="ttc" id="movie_8h_html_aa2ca3be9f1d904e9f177faa425745236"><div class="ttname"><a href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a></div><div class="ttdeci">string getMovieByName(string, filemanip &amp;)</div><div class="ttdoc">Finds the information of a movie given its name. </div><div class="ttdef"><b>Definition:</b> movie.cpp:33</div></div>
134
-<div class="ttc" id="movie_8h_html_a5b13bb4e2035100dcf27abad21a2e862"><div class="ttname"><a href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a></div><div class="ttdeci">string getMovieName(string)</div><div class="ttdoc">Given a movie line from the file returns the movie name. </div><div class="ttdef"><b>Definition:</b> movie.cpp:100</div></div>
135
-<div class="ttc" id="movie_8h_html_a39efa4469877528f52e365bba5d35c30"><div class="ttname"><a href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a></div><div class="ttdeci">void showMovies(filemanip &amp;, int=1, int=10)</div><div class="ttdoc">Display the information of the movies in a file from line start to line end. </div><div class="ttdef"><b>Definition:</b> movie.cpp:63</div></div>
131
+<div class="ttc" id="movie_8h_html_af71e2fccff041af5f808e210a9cbb06f"><div class="ttname"><a href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a></div><div class="ttdeci">void showMovie(string)</div><div class="ttdoc">Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The...</div><div class="ttdef"><b>Definition:</b> movie.cpp:43</div></div>
132
+<div class="ttc" id="movie_8h_html_af50291017de186a0a663e8418d65b7ef"><div class="ttname"><a href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a></div><div class="ttdeci">string getMovieRating(string)</div><div class="ttdoc">Given a movie line from the file returns the movie rating. </div><div class="ttdef"><b>Definition:</b> movie.cpp:103</div></div>
133
+<div class="ttc" id="movie_8h_html_aa2ca3be9f1d904e9f177faa425745236"><div class="ttname"><a href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a></div><div class="ttdeci">string getMovieByName(string, filemanip &amp;)</div><div class="ttdoc">Finds the information of a movie given its name. </div><div class="ttdef"><b>Definition:</b> movie.cpp:26</div></div>
134
+<div class="ttc" id="movie_8h_html_a5b13bb4e2035100dcf27abad21a2e862"><div class="ttname"><a href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a></div><div class="ttdeci">string getMovieName(string)</div><div class="ttdoc">Given a movie line from the file returns the movie name. </div><div class="ttdef"><b>Definition:</b> movie.cpp:93</div></div>
135
+<div class="ttc" id="movie_8h_html_a39efa4469877528f52e365bba5d35c30"><div class="ttname"><a href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a></div><div class="ttdeci">void showMovies(filemanip &amp;, int=1, int=10)</div><div class="ttdoc">Display the information of the movies in a file from line start to line end. </div><div class="ttdef"><b>Definition:</b> movie.cpp:56</div></div>
136 136
 <div class="ttc" id="movie_8h_html_ac0080d980b2f73f9eaa089f8eddeba60"><div class="ttname"><a href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">getMovieInfo</a></div><div class="ttdeci">void getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;)</div><div class="ttdoc">Given a movie line from the file returns by reference the movie name, rating, year, and genre. </div></div>
137 137
 </div><!-- fragment --></div><!-- contents -->
138 138
 <!-- start footer part -->
139 139
 <hr class="footer"/><address class="footer"><small>
140
-Generated on Thu Aug 27 2015 14:52:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
140
+Generated on Thu Aug 27 2015 14:56:21 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
141 141
 <img class="footer" src="doxygen.png" alt="doxygen"/>
142 142
 </a> 1.8.9.1
143 143
 </small></address>

+ 2
- 14
doc/en/latex/movie_8h.tex View File

@@ -12,7 +12,7 @@
12 12
 string \hyperlink{movie_8h_aa2ca3be9f1d904e9f177faa425745236}{get\+Movie\+By\+Name} (string, \hyperlink{classfilemanip}{filemanip} \&)
13 13
 \begin{DoxyCompactList}\small\item\em Finds the information of a movie given its name. \end{DoxyCompactList}\item 
14 14
 string \hyperlink{movie_8h_aebd1da153f25f87661ac630b47737097}{get\+Movie\+By\+Position} (int, \hyperlink{classfilemanip}{filemanip} \&)
15
-\begin{DoxyCompactList}\small\item\em get\+Movie\+By\+Position \end{DoxyCompactList}\item 
15
+\begin{DoxyCompactList}\small\item\em Finds a movie in position position of a file and returns the name of the movie. \end{DoxyCompactList}\item 
16 16
 void \hyperlink{movie_8h_a39efa4469877528f52e365bba5d35c30}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&, int=1, int=10)
17 17
 \begin{DoxyCompactList}\small\item\em Display the information of the movies in a file from line start to line end. \end{DoxyCompactList}\item 
18 18
 void \hyperlink{movie_8h_a2200ec80d18eede5241b99afcffb509a}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&file, string keyword)
@@ -64,20 +64,8 @@ One line with the information of the movie separated by $\vert$ (pipes)
64 64
 )}\label{movie_8h_aebd1da153f25f87661ac630b47737097}
65 65
 
66 66
 
67
-get\+Movie\+By\+Position 
67
+Finds a movie in position position of a file and returns the name of the movie. 
68 68
 
69
-Finds a movie in position position of a file and returns the name of the movie.
70
-
71
-
72
-\begin{DoxyParams}{Parameters}
73
-{\em position} & \\
74
-\hline
75
-{\em file} & \\
76
-\hline
77
-\end{DoxyParams}
78
-\begin{DoxyReturn}{Returns}
79
-Finds a movie in position position and returns the name of the movie
80
-\end{DoxyReturn}
81 69
 
82 70
 \begin{DoxyParams}{Parameters}
83 71
 {\em position} & Position of the movie in the file \\

+ 3
- 3
doc/en/latex/refman.tex View File

@@ -71,8 +71,8 @@
71 71
 \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
72 72
 \fancyfoot[LE]{\fancyplain{}{}}
73 73
 \fancyfoot[CE]{\fancyplain{}{}}
74
-\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Aug 27 2015 14\+:52\+:24 for My Project by Doxygen }}
75
-\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Aug 27 2015 14\+:52\+:24 for My Project by Doxygen }}
74
+\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Aug 27 2015 14\+:56\+:21 for My Project by Doxygen }}
75
+\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Aug 27 2015 14\+:56\+:21 for My Project by Doxygen }}
76 76
 \fancyfoot[CO]{\fancyplain{}{}}
77 77
 \fancyfoot[RO]{\fancyplain{}{}}
78 78
 \renewcommand{\footrulewidth}{0.4pt}
@@ -128,7 +128,7 @@
128 128
 \vspace*{1cm}
129 129
 {\large Generated by Doxygen 1.8.9.1}\\
130 130
 \vspace*{0.5cm}
131
-{\small Thu Aug 27 2015 14:52:24}\\
131
+{\small Thu Aug 27 2015 14:56:21}\\
132 132
 \end{center}
133 133
 \end{titlepage}
134 134
 \clearemptydoublepage

+ 1
- 1
doc/es/html/annotated.html View File

@@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
92 92
 </div><!-- contents -->
93 93
 <!-- start footer part -->
94 94
 <hr class="footer"/><address class="footer"><small>
95
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
95
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
96 96
 <img class="footer" src="doxygen.png" alt="doxygen"/>
97 97
 </a> 1.8.9.1
98 98
 </small></address>

+ 1
- 1
doc/es/html/classes.html View File

@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
96 96
 </div><!-- contents -->
97 97
 <!-- start footer part -->
98 98
 <hr class="footer"/><address class="footer"><small>
99
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
99
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
100 100
 <img class="footer" src="doxygen.png" alt="doxygen"/>
101 101
 </a> 1.8.9.1
102 102
 </small></address>

+ 1
- 1
doc/es/html/classfilemanip-members.html View File

@@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
97 97
 </table></div><!-- contents -->
98 98
 <!-- start footer part -->
99 99
 <hr class="footer"/><address class="footer"><small>
100
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
100
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
101 101
 <img class="footer" src="doxygen.png" alt="doxygen"/>
102 102
 </a> 1.8.9.1
103 103
 </small></address>

+ 1
- 1
doc/es/html/classfilemanip.html View File

@@ -117,7 +117,7 @@ QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><b>in</b></td><
117 117
 </div><!-- contents -->
118 118
 <!-- start footer part -->
119 119
 <hr class="footer"/><address class="footer"><small>
120
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
120
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
121 121
 <img class="footer" src="doxygen.png" alt="doxygen"/>
122 122
 </a> 1.8.9.1
123 123
 </small></address>

+ 1
- 1
doc/es/html/filemanip_8h_source.html View File

@@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
109 109
 </div><!-- fragment --></div><!-- contents -->
110 110
 <!-- start footer part -->
111 111
 <hr class="footer"/><address class="footer"><small>
112
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
112
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
113 113
 <img class="footer" src="doxygen.png" alt="doxygen"/>
114 114
 </a> 1.8.9.1
115 115
 </small></address>

+ 1
- 1
doc/es/html/files.html View File

@@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
93 93
 </div><!-- contents -->
94 94
 <!-- start footer part -->
95 95
 <hr class="footer"/><address class="footer"><small>
96
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
96
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
97 97
 <img class="footer" src="doxygen.png" alt="doxygen"/>
98 98
 </a> 1.8.9.1
99 99
 </small></address>

+ 1
- 1
doc/es/html/globals.html View File

@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
118 118
 </div><!-- contents -->
119 119
 <!-- start footer part -->
120 120
 <hr class="footer"/><address class="footer"><small>
121
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
121
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
122 122
 <img class="footer" src="doxygen.png" alt="doxygen"/>
123 123
 </a> 1.8.9.1
124 124
 </small></address>

+ 1
- 1
doc/es/html/globals_func.html View File

@@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
118 118
 </div><!-- contents -->
119 119
 <!-- start footer part -->
120 120
 <hr class="footer"/><address class="footer"><small>
121
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
121
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
122 122
 <img class="footer" src="doxygen.png" alt="doxygen"/>
123 123
 </a> 1.8.9.1
124 124
 </small></address>

+ 1
- 1
doc/es/html/index.html View File

@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
81 81
 </div><!-- contents -->
82 82
 <!-- start footer part -->
83 83
 <hr class="footer"/><address class="footer"><small>
84
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
84
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
85 85
 <img class="footer" src="doxygen.png" alt="doxygen"/>
86 86
 </a> 1.8.9.1
87 87
 </small></address>

+ 3
- 12
doc/es/html/movie_8h.html View File

@@ -101,7 +101,7 @@ Funciones</h2></td></tr>
101 101
 <tr class="memdesc:aa2ca3be9f1d904e9f177faa425745236"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encuentra la informacion de una pelicula dado su nombre.  <a href="#aa2ca3be9f1d904e9f177faa425745236">Más...</a><br /></td></tr>
102 102
 <tr class="separator:aa2ca3be9f1d904e9f177faa425745236"><td class="memSeparator" colspan="2">&#160;</td></tr>
103 103
 <tr class="memitem:aebd1da153f25f87661ac630b47737097"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a> (int, <a class="el" href="classfilemanip.html">filemanip</a> &amp;)</td></tr>
104
-<tr class="memdesc:aebd1da153f25f87661ac630b47737097"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMovieByPosition  <a href="#aebd1da153f25f87661ac630b47737097">Más...</a><br /></td></tr>
104
+<tr class="memdesc:aebd1da153f25f87661ac630b47737097"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula.  <a href="#aebd1da153f25f87661ac630b47737097">Más...</a><br /></td></tr>
105 105
 <tr class="separator:aebd1da153f25f87661ac630b47737097"><td class="memSeparator" colspan="2">&#160;</td></tr>
106 106
 <tr class="memitem:a39efa4469877528f52e365bba5d35c30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;, int=1, int=10)</td></tr>
107 107
 <tr class="memdesc:a39efa4469877528f52e365bba5d35c30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Despliega la informacion de las peliculas en un archivo desde la linea start hasta la line end.  <a href="#a39efa4469877528f52e365bba5d35c30">Más...</a><br /></td></tr>
@@ -189,16 +189,7 @@ Funciones</h2></td></tr>
189 189
       </table>
190 190
 </div><div class="memdoc">
191 191
 
192
-<p>getMovieByPosition </p>
193
-<p>Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula.</p>
194
-<dl class="params"><dt>Parámetros</dt><dd>
195
-  <table class="params">
196
-    <tr><td class="paramname">position</td><td></td></tr>
197
-    <tr><td class="paramname">file</td><td></td></tr>
198
-  </table>
199
-  </dd>
200
-</dl>
201
-<dl class="section return"><dt>Devuelve</dt><dd>Finds a movie in position position and returns the name of the movie</dd></dl>
192
+<p>Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula. </p>
202 193
 <dl class="params"><dt>Parámetros</dt><dd>
203 194
   <table class="params">
204 195
     <tr><td class="paramname">position</td><td>Posicion de la pelicula en el archivo </td></tr>
@@ -473,7 +464,7 @@ Funciones</h2></td></tr>
473 464
 </div><!-- contents -->
474 465
 <!-- start footer part -->
475 466
 <hr class="footer"/><address class="footer"><small>
476
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
467
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
477 468
 <img class="footer" src="doxygen.png" alt="doxygen"/>
478 469
 </a> 1.8.9.1
479 470
 </small></address>

+ 9
- 9
doc/es/html/movie_8h_source.html View File

@@ -123,21 +123,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
123 123
 <div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
124 124
 <div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
125 125
 <div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">#endif // MOVIE_H</span></div>
126
-<div class="ttc" id="movie_8h_html_aaa2e1332e82b931cf45663e755cc2302"><div class="ttname"><a href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a></div><div class="ttdeci">string getMovieGenre(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el genero de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:132</div></div>
127
-<div class="ttc" id="movie_8h_html_aebd1da153f25f87661ac630b47737097"><div class="ttname"><a href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a></div><div class="ttdeci">string getMovieByPosition(int, filemanip &amp;)</div><div class="ttdoc">getMovieByPosition </div><div class="ttdef"><b>Definition:</b> movie.cpp:10</div></div>
128
-<div class="ttc" id="movie_8h_html_ad378998f3ab769b47a1bbc4672496f45"><div class="ttname"><a href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a></div><div class="ttdeci">string getMovieYear(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el ano de lanzamiento de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:121</div></div>
126
+<div class="ttc" id="movie_8h_html_aaa2e1332e82b931cf45663e755cc2302"><div class="ttname"><a href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a></div><div class="ttdeci">string getMovieGenre(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el genero de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:125</div></div>
127
+<div class="ttc" id="movie_8h_html_aebd1da153f25f87661ac630b47737097"><div class="ttname"><a href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a></div><div class="ttdeci">string getMovieByPosition(int, filemanip &amp;)</div><div class="ttdoc">Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula...</div><div class="ttdef"><b>Definition:</b> movie.cpp:3</div></div>
128
+<div class="ttc" id="movie_8h_html_ad378998f3ab769b47a1bbc4672496f45"><div class="ttname"><a href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a></div><div class="ttdeci">string getMovieYear(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el ano de lanzamiento de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:114</div></div>
129 129
 <div class="ttc" id="classfilemanip_html"><div class="ttname"><a href="classfilemanip.html">filemanip</a></div><div class="ttdef"><b>Definition:</b> filemanip.h:8</div></div>
130 130
 <div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
131
-<div class="ttc" id="movie_8h_html_af71e2fccff041af5f808e210a9cbb06f"><div class="ttname"><a href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a></div><div class="ttdeci">void showMovie(string)</div><div class="ttdoc">Despliega la informacion de una pelicula de una linea con la informacion de la pelicula separada por ...</div><div class="ttdef"><b>Definition:</b> movie.cpp:50</div></div>
132
-<div class="ttc" id="movie_8h_html_af50291017de186a0a663e8418d65b7ef"><div class="ttname"><a href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a></div><div class="ttdeci">string getMovieRating(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve la clasificacion de una pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:110</div></div>
133
-<div class="ttc" id="movie_8h_html_aa2ca3be9f1d904e9f177faa425745236"><div class="ttname"><a href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a></div><div class="ttdeci">string getMovieByName(string, filemanip &amp;)</div><div class="ttdoc">Encuentra la informacion de una pelicula dado su nombre. </div><div class="ttdef"><b>Definition:</b> movie.cpp:33</div></div>
134
-<div class="ttc" id="movie_8h_html_a5b13bb4e2035100dcf27abad21a2e862"><div class="ttname"><a href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a></div><div class="ttdeci">string getMovieName(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el nombre de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:100</div></div>
135
-<div class="ttc" id="movie_8h_html_a39efa4469877528f52e365bba5d35c30"><div class="ttname"><a href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a></div><div class="ttdeci">void showMovies(filemanip &amp;, int=1, int=10)</div><div class="ttdoc">Despliega la informacion de las peliculas en un archivo desde la linea start hasta la line end...</div><div class="ttdef"><b>Definition:</b> movie.cpp:63</div></div>
131
+<div class="ttc" id="movie_8h_html_af71e2fccff041af5f808e210a9cbb06f"><div class="ttname"><a href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a></div><div class="ttdeci">void showMovie(string)</div><div class="ttdoc">Despliega la informacion de una pelicula de una linea con la informacion de la pelicula separada por ...</div><div class="ttdef"><b>Definition:</b> movie.cpp:43</div></div>
132
+<div class="ttc" id="movie_8h_html_af50291017de186a0a663e8418d65b7ef"><div class="ttname"><a href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a></div><div class="ttdeci">string getMovieRating(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve la clasificacion de una pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:103</div></div>
133
+<div class="ttc" id="movie_8h_html_aa2ca3be9f1d904e9f177faa425745236"><div class="ttname"><a href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a></div><div class="ttdeci">string getMovieByName(string, filemanip &amp;)</div><div class="ttdoc">Encuentra la informacion de una pelicula dado su nombre. </div><div class="ttdef"><b>Definition:</b> movie.cpp:26</div></div>
134
+<div class="ttc" id="movie_8h_html_a5b13bb4e2035100dcf27abad21a2e862"><div class="ttname"><a href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a></div><div class="ttdeci">string getMovieName(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el nombre de la pelicula. </div><div class="ttdef"><b>Definition:</b> movie.cpp:93</div></div>
135
+<div class="ttc" id="movie_8h_html_a39efa4469877528f52e365bba5d35c30"><div class="ttname"><a href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a></div><div class="ttdeci">void showMovies(filemanip &amp;, int=1, int=10)</div><div class="ttdoc">Despliega la informacion de las peliculas en un archivo desde la linea start hasta la line end...</div><div class="ttdef"><b>Definition:</b> movie.cpp:56</div></div>
136 136
 <div class="ttc" id="movie_8h_html_ac0080d980b2f73f9eaa089f8eddeba60"><div class="ttname"><a href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">getMovieInfo</a></div><div class="ttdeci">void getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve por referencia el nombre, clasificion, ano de lanzamiento y genero de una pelicula. </div></div>
137 137
 </div><!-- fragment --></div><!-- contents -->
138 138
 <!-- start footer part -->
139 139
 <hr class="footer"/><address class="footer"><small>
140
-Generado el Jueves, 27 de Agosto de 2015 14:52:26 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
140
+Generado el Jueves, 27 de Agosto de 2015 14:56:23 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
141 141
 <img class="footer" src="doxygen.png" alt="doxygen"/>
142 142
 </a> 1.8.9.1
143 143
 </small></address>

+ 2
- 14
doc/es/latex/movie_8h.tex View File

@@ -12,7 +12,7 @@
12 12
 string \hyperlink{movie_8h_aa2ca3be9f1d904e9f177faa425745236}{get\+Movie\+By\+Name} (string, \hyperlink{classfilemanip}{filemanip} \&)
13 13
 \begin{DoxyCompactList}\small\item\em Encuentra la informacion de una pelicula dado su nombre. \end{DoxyCompactList}\item 
14 14
 string \hyperlink{movie_8h_aebd1da153f25f87661ac630b47737097}{get\+Movie\+By\+Position} (int, \hyperlink{classfilemanip}{filemanip} \&)
15
-\begin{DoxyCompactList}\small\item\em get\+Movie\+By\+Position \end{DoxyCompactList}\item 
15
+\begin{DoxyCompactList}\small\item\em Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula. \end{DoxyCompactList}\item 
16 16
 void \hyperlink{movie_8h_a39efa4469877528f52e365bba5d35c30}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&, int=1, int=10)
17 17
 \begin{DoxyCompactList}\small\item\em Despliega la informacion de las peliculas en un archivo desde la linea start hasta la line end. \end{DoxyCompactList}\item 
18 18
 void \hyperlink{movie_8h_a2200ec80d18eede5241b99afcffb509a}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&file, string keyword)
@@ -64,20 +64,8 @@ Una linea con la informacion de la pelicula separada por $\vert$.
64 64
 )}\label{movie_8h_aebd1da153f25f87661ac630b47737097}
65 65
 
66 66
 
67
-get\+Movie\+By\+Position 
67
+Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula. 
68 68
 
69
-Encuentra una pelicula en posicion position de un archivo y devuelve el nombre de la pelicula.
70
-
71
-
72
-\begin{DoxyParams}{Parámetros}
73
-{\em position} & \\
74
-\hline
75
-{\em file} & \\
76
-\hline
77
-\end{DoxyParams}
78
-\begin{DoxyReturn}{Devuelve}
79
-Finds a movie in position position and returns the name of the movie
80
-\end{DoxyReturn}
81 69
 
82 70
 \begin{DoxyParams}{Parámetros}
83 71
 {\em position} & Posicion de la pelicula en el archivo \\

+ 3
- 3
doc/es/latex/refman.tex View File

@@ -73,8 +73,8 @@
73 73
 \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
74 74
 \fancyfoot[LE]{\fancyplain{}{}}
75 75
 \fancyfoot[CE]{\fancyplain{}{}}
76
-\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generado el Jueves, 27 de Agosto de 2015 14\+:52\+:26 para My Project por Doxygen }}
77
-\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generado el Jueves, 27 de Agosto de 2015 14\+:52\+:26 para My Project por Doxygen }}
76
+\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generado el Jueves, 27 de Agosto de 2015 14\+:56\+:23 para My Project por Doxygen }}
77
+\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generado el Jueves, 27 de Agosto de 2015 14\+:56\+:23 para My Project por Doxygen }}
78 78
 \fancyfoot[CO]{\fancyplain{}{}}
79 79
 \fancyfoot[RO]{\fancyplain{}{}}
80 80
 \renewcommand{\footrulewidth}{0.4pt}
@@ -130,7 +130,7 @@
130 130
 \vspace*{1cm}
131 131
 {\large Generado por Doxygen 1.8.9.1}\\
132 132
 \vspace*{0.5cm}
133
-{\small Jueves, 27 de Agosto de 2015 14:52:26}\\
133
+{\small Jueves, 27 de Agosto de 2015 14:56:23}\\
134 134
 \end{center}
135 135
 \end{titlepage}
136 136
 \clearemptydoublepage

+ 3
- 114
movie.cpp View File

@@ -1,18 +1,5 @@
1 1
 #include "movie.h"
2 2
 
3
-/// \fn string getMovieByPosition(int position, filemanip &file)
4
-/// \~English
5
-/// \brief Finds a movie in position position of a file and returns the
6
-/// name of the movie
7
-/// \param position Position of the movie in the file
8
-/// \param file A file pointer
9
-/// \return The name of the movie
10
-/// \~Spanish
11
-/// \brief Encuentra una pelicula en posicion position de un archivo y devuelve
12
-/// el nombre de la pelicula.
13
-/// \param position Posicion de la pelicula en el archivo
14
-/// \param file Un apuntador a archivo.
15
-/// \return El nombre de la pelicula
16 3
 string getMovieByPosition(int position, filemanip &file){
17 4
     int counter = 0 ;
18 5
 
@@ -35,17 +22,7 @@ string getMovieByPosition(int position, filemanip &file){
35 22
 
36 23
 }
37 24
 
38
-/// \fn string getMovieByName(string moviename, filemanip &file)
39
-/// \~English
40
-/// \brief Finds the information of a movie given its name.
41
-/// \param moviename The name of the movie
42
-/// \param file A file pointer
43
-/// \return One line with the information of the movie separated by | (pipes)
44
-/// \~Spanish
45
-/// \brief Encuentra la informacion de una pelicula dado su nombre.
46
-/// \param moviename Nombre de la pelicula
47
-/// \param file Un apuntador a archivo.
48
-/// \return Una linea con la informacion de la pelicula separada por |.
25
+
49 26
 string getMovieByName(string moviename, filemanip &file){
50 27
     QString movie = QString::fromStdString(moviename) ;
51 28
     QStringList fields ;
@@ -63,16 +40,6 @@ string getMovieByName(string moviename, filemanip &file){
63 40
     return "" ;
64 41
 }
65 42
 
66
-/// \fn void showMovie(string movieinfo)
67
-/// \~English
68
-/// \brief Display the movie information of a | separated line with movie info.
69
-/// Example line: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|
70
-/// \param movieinfo The information of the movie in one line separated by |
71
-/// \~Spanish
72
-/// \brief Despliega la informacion de una pelicula de una linea con la informacion de la
73
-/// pelicula separada por |.
74
-/// Ejemplo de la linea: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|
75
-/// \param movieinfo La informacion de la pelicula en una linea separada por |
76 43
 void showMovie(string movieinfo){
77 44
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
78 45
 
@@ -86,20 +53,6 @@ void showMovie(string movieinfo){
86 53
 
87 54
 }
88 55
 
89
-
90
-/// \fn void showMovies(filemanip &file, int start, int end)
91
-/// \~English
92
-/// \brief Display the information of the movies in a file from line start to line
93
-/// end.
94
-/// \param file Pointer to a file.
95
-/// \param start Line in the file to start showing movie info.
96
-/// \param end Line in the file to stop showing movie information.
97
-/// \~Spanish
98
-/// \brief Despliega la informacion de las peliculas en un archivo desde la linea start
99
-/// hasta la line end.
100
-/// \param file Apuntador a un archivo.
101
-/// \param start Linea en el archivo desde donde desplegar info de las peliculas
102
-/// \param end Linea en el archivo hasta donde deplegar info de las peliculas
103 56
 void showMovies(filemanip &file, int start, int end){
104 57
     int counter = 0;
105 58
     if(start < 1 || end < start)
@@ -117,16 +70,6 @@ void showMovies(filemanip &file, int start, int end){
117 70
     }
118 71
 }
119 72
 
120
-/// \fn void showMovies(filemanip &file, string keyword)
121
-/// \~English
122
-/// \brief Display the information of the movies whose name contains a given keyword
123
-/// \param file Pointer to a file.
124
-/// \param keyword Keyword to search in the name of the movies.
125
-/// \~Spanish
126
-/// \brief Despliega la informacion de las peliculas cuyo nombre contenga una palabra
127
-/// clave dada.
128
-/// \param file Apuntador a un archivo.
129
-/// \param keyword Palabra clave para buscar en el nombre de las peliculas.
130 73
 void showMovies(filemanip &file, string keyword){
131 74
 
132 75
     QStringList fields ;
@@ -147,15 +90,6 @@ void showMovies(filemanip &file, string keyword){
147 90
 
148 91
 }
149 92
 
150
-/// \fn string getMovieName(string movieinfo)
151
-/// \~English
152
-/// \brief Given a movie line from the file returns the movie name.
153
-/// \param movieinfo The information of the movie in one line separated by |
154
-/// \return Movie name
155
-/// \~Spanish
156
-/// \brief Dado una linea de una pelicula del archivo devuelve el nombre de la pelicula
157
-/// \param movieinfo La informacion de la pelicula en una linea separada por |
158
-/// \return El nombre de la pelicula
159 93
 string getMovieName(string movieinfo){
160 94
 
161 95
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
@@ -166,17 +100,6 @@ string getMovieName(string movieinfo){
166 100
     return "" ;
167 101
 
168 102
 }
169
-
170
-/// \fn string getMovieRating(string movieinfo)
171
-/// \~English
172
-/// \brief Given a movie line from the file returns the movie rating.
173
-/// \param movieinfo The information of the movie in one line separated by |
174
-/// \return The movie rating
175
-/// \~Spanish
176
-/// \brief Dado una linea de una pelicula del archivo devuelve la clasificacion
177
-/// de una pelicula
178
-/// \param movieinfo La informacion de la pelicula en una linea separada por |
179
-/// \return La clasificacion de la pelicula
180 103
 string getMovieRating(string movieinfo){
181 104
 
182 105
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
@@ -188,16 +111,6 @@ string getMovieRating(string movieinfo){
188 111
 
189 112
 }
190 113
 
191
-/// \fn string getMovieYear(string movieinfo)
192
-/// \~English
193
-/// \brief Given a movie line from the file returns the movie release year.
194
-/// \param movieinfo The information of the movie in one line separated by |
195
-/// \return The movie release year.
196
-/// \~Spanish
197
-/// \brief Dado una linea de una pelicula del archivo devuelve el ano de lanzamiento
198
-/// de la pelicula
199
-/// \param movieinfo La informacion de la pelicula en una linea separada por |
200
-/// \return El ano de lanzamiento de la pelicula
201 114
 string getMovieYear(string movieinfo){
202 115
 
203 116
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
@@ -209,16 +122,6 @@ string getMovieYear(string movieinfo){
209 122
 
210 123
 }
211 124
 
212
-/// \fn string getMovieGenre(string movieinfo)
213
-/// \~English
214
-/// \brief Given a movie line from the file returns the movie genre.
215
-/// \param movieinfo The information of the movie in one line separated by |
216
-/// \return The movie genre.
217
-/// \~Spanish
218
-/// \brief Dado una linea de una pelicula del archivo devuelve el genero
219
-/// de la pelicula
220
-/// \param movieinfo La informacion de la pelicula en una linea separada por |
221
-/// \return El genero de la pelicula
222 125
 string getMovieGenre(string movieinfo){
223 126
 
224 127
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
@@ -230,22 +133,6 @@ string getMovieGenre(string movieinfo){
230 133
 
231 134
 }
232 135
 
233
-/// \fn void getMovieInfo(string, string &, string &, string &, string &)
234
-/// \~English
235
-/// \brief Given a movie line from the file returns by reference the movie name,
236
-/// rating, year, and genre.
237
-/// \param movieinfo The information of the movie in one line separated by |
238
-/// \~Spanish
239
-/// \param name Reference variable to return the movie name
240
-/// \param rating Reference variable to return the movie rating
241
-/// \param year Reference variable to return the movie release year
242
-/// \param genre Reference variable to return the movie genre
243
-/// \brief Dado una linea de una pelicula del archivo devuelve por referencia
244
-/// el nombre, clasificion, ano de lanzamiento y genero de una pelicula.
245
-/// \param name Variable de referencia para devolver el nombre de la pelicula
246
-/// \param rating Variable de referencia para devolver la clasificacion de la pelicula
247
-/// \param year Variable de referencia para devolver el ano de lanzamiento de la pelicula
248
-/// \param genre Variable de referencia para devolver el genero de la pelicula
249 136
 void getMovieInfo(string movieinfo,  string &rating, string &year, string &genre){
250 137
 
251 138
     QStringList fields = QString::fromStdString(movieinfo).split('|') ;
@@ -260,3 +147,5 @@ void getMovieInfo(string movieinfo,  string &rating, string &year, string &genre
260 147
     return ;
261 148
 
262 149
 }
150
+
151
+}