|
@@ -61,7 +61,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
|
61
|
61
|
<div id="navrow2" class="tabs2">
|
62
|
62
|
<ul class="tablist">
|
63
|
63
|
<li><a href="files.html"><span>Lista de archivos</span></a></li>
|
64
|
|
- <li><a href="globals.html"><span>Miembros de los ficheros</span></a></li>
|
65
|
64
|
</ul>
|
66
|
65
|
</div>
|
67
|
66
|
</div><!-- top -->
|
|
@@ -84,75 +83,50 @@ var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
|
84
|
83
|
<div class="title">movie.h</div> </div>
|
85
|
84
|
</div><!--header-->
|
86
|
85
|
<div class="contents">
|
87
|
|
-<a href="movie_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef MOVIE_H</span></div>
|
|
86
|
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef MOVIE_H</span></div>
|
88
|
87
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define MOVIE_H</span></div>
|
89
|
88
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div>
|
90
|
|
-<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div>
|
91
|
|
-<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <string></span></div>
|
92
|
|
-<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <QDebug></span></div>
|
93
|
|
-<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "filemanip.h"</span></div>
|
94
|
|
-<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <QString></span></div>
|
95
|
|
-<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <QStringList></span></div>
|
96
|
|
-<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <iostream></span></div>
|
|
89
|
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <string></span></div>
|
|
90
|
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <QDebug></span></div>
|
|
91
|
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "filemanip.h"</span></div>
|
|
92
|
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <QString></span></div>
|
|
93
|
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <QStringList></span></div>
|
|
94
|
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <iostream></span></div>
|
|
95
|
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div>
|
|
96
|
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
|
97
|
97
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div>
|
98
|
|
-<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a> ;</div>
|
99
|
|
-<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
|
100
|
|
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a>(<span class="keywordtype">string</span>, <a class="code" href="classfilemanip.html">filemanip</a> & ) ;</div>
|
101
|
|
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
|
102
|
|
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#aebd1da153f25f87661ac630b47737097">getMovieByPosition</a>(<span class="keywordtype">int</span>, <a class="code" href="classfilemanip.html">filemanip</a> &) ;</div>
|
103
|
|
-<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
|
104
|
|
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a>(<a class="code" href="classfilemanip.html">filemanip</a> &, <span class="keywordtype">int</span>=1, <span class="keywordtype">int</span>=10) ;</div>
|
105
|
|
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
|
106
|
|
-<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a>(<a class="code" href="classfilemanip.html">filemanip</a> &, <span class="keywordtype">string</span>) ;</div>
|
107
|
|
-<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div>
|
108
|
|
-<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a>(<span class="keywordtype">string</span>) ;</div>
|
|
98
|
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">string</span> getMovieByName(<span class="keywordtype">string</span>, <a class="code" href="classfilemanip.html">filemanip</a> & ) ;</div>
|
|
99
|
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
|
|
100
|
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">string</span> getMovieByPosition(<span class="keywordtype">int</span>, <a class="code" href="classfilemanip.html">filemanip</a> &) ;</div>
|
|
101
|
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div>
|
|
102
|
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keywordtype">void</span> showMovies(<a class="code" href="classfilemanip.html">filemanip</a> &, <span class="keywordtype">int</span>=1, <span class="keywordtype">int</span>=10) ;</div>
|
|
103
|
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
|
|
104
|
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keywordtype">void</span> showMovies(<a class="code" href="classfilemanip.html">filemanip</a> &file, <span class="keywordtype">string</span> keyword);</div>
|
|
105
|
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div>
|
|
106
|
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div>
|
|
107
|
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keywordtype">void</span> showMovie(<span class="keywordtype">string</span>) ;</div>
|
|
108
|
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
|
109
|
109
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div>
|
110
|
110
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div>
|
111
|
|
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a>(<span class="keywordtype">string</span>) ;</div>
|
|
111
|
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">string</span> getMovieName(<span class="keywordtype">string</span>) ;</div>
|
112
|
112
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div>
|
113
|
|
-<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a>(<span class="keywordtype">string</span>) ;</div>
|
|
113
|
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keywordtype">string</span> getMovieRating(<span class="keywordtype">string</span>) ;</div>
|
114
|
114
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
|
115
|
|
-<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a>(<span class="keywordtype">string</span>) ;</div>
|
|
115
|
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keywordtype">string</span> getMovieYear(<span class="keywordtype">string</span>) ;</div>
|
116
|
116
|
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div>
|
117
|
|
-<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a>(<span class="keywordtype">string</span>) ;</div>
|
|
117
|
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="keywordtype">string</span> getMovieGenre(<span class="keywordtype">string</span>) ;</div>
|
118
|
118
|
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div>
|
119
|
|
-<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">getMovieInfo</a>(<span class="keywordtype">string</span>, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &,</div>
|
|
119
|
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">void</span> getMovieInfo(<span class="keywordtype">string</span>, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &,</div>
|
120
|
120
|
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">string</span> &);</div>
|
121
|
121
|
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
|
122
|
122
|
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
|
123
|
|
-<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment">// Exercise 3, question 1</span></div>
|
124
|
|
-<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">string</span> <a class="code" href="movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20">getMovieStudio</a>(<span class="keywordtype">string</span>) ;</div>
|
125
|
|
-<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div>
|
126
|
|
-<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
127
|
|
-<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment">// Exercise 3, question 2</span></div>
|
128
|
|
-<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">getMovieInfo</a>(<span class="keywordtype">string</span>, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &,</div>
|
129
|
|
-<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">string</span> &, <span class="keywordtype">string</span> &);</div>
|
130
|
|
-<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
|
131
|
|
-<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment">// Exercise 3, question 3</span></div>
|
132
|
|
-<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#abee243a60adc5d86608a02572cc98e5e">showMovieInLine</a>(<span class="keywordtype">string</span>) ;</div>
|
133
|
|
-<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
|
134
|
|
-<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment">// Exercise 3, question 4</span></div>
|
135
|
|
-<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">showMoviesInLine</a>(<a class="code" href="classfilemanip.html">filemanip</a> &, <span class="keywordtype">int</span>=1, <span class="keywordtype">int</span>=10) ;</div>
|
136
|
|
-<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
|
137
|
|
-<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="preprocessor">#endif // MOVIE_H</span></div>
|
138
|
|
-<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:223</div></div>
|
139
|
|
-<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 &)</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:18</div></div>
|
140
|
|
-<div class="ttc" id="movie_8h_html_af2c27f6eccc9bc99e5b3fb5a543e3d20"><div class="ttname"><a href="movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20">getMovieStudio</a></div><div class="ttdeci">string getMovieStudio(string)</div><div class="ttdoc">Dado una linea de una pelicula del archivo devuelve el estudio de la pelicula Contestacion a (Exercis...</div><div class="ttdef"><b>Definition:</b> movie.cpp:279</div></div>
|
141
|
|
-<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:202</div></div>
|
142
|
|
-<div class="ttc" id="classfilemanip_html"><div class="ttname"><a href="classfilemanip.html">filemanip</a></div><div class="ttdef"><b>Definition:</b> filemanip.h:12</div></div>
|
143
|
|
-<div class="ttc" id="movie_8h_html_abee243a60adc5d86608a02572cc98e5e"><div class="ttname"><a href="movie_8h.html#abee243a60adc5d86608a02572cc98e5e">showMovieInLine</a></div><div class="ttdeci">void showMovieInLine(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:341</div></div>
|
|
123
|
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="preprocessor">#endif // MOVIE_H</span></div>
|
|
124
|
+<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>
|
144
|
125
|
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
|
145
|
|
-<div class="ttc" id="movie_8h_html_a88d10eeb7ba4c05fde974ef8602af4fe"><div class="ttname"><a href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">showMoviesInLine</a></div><div class="ttdeci">void showMoviesInLine(filemanip &, 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:370</div></div>
|
146
|
|
-<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:78</div></div>
|
147
|
|
-<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:181</div></div>
|
148
|
|
-<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 &)</div><div class="ttdoc">Encuentra la informacion de una pelicula dado su nombre. </div><div class="ttdef"><b>Definition:</b> movie.cpp:51</div></div>
|
149
|
|
-<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:160</div></div>
|
150
|
|
-<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 &, 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:104</div></div>
|
151
|
|
-<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 &, string &, string &, string &)</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 class="ttdef"><b>Definition:</b> movie.cpp:250</div></div>
|
152
|
126
|
</div><!-- fragment --></div><!-- contents -->
|
153
|
127
|
<!-- start footer part -->
|
154
|
128
|
<hr class="footer"/><address class="footer"><small>
|
155
|
|
-Generado el Lunes, 8 de Junio de 2015 15:29:46 para My Project por  <a href="http://www.doxygen.org/index.html">
|
|
129
|
+Generado el Jueves, 27 de Agosto de 2015 07:09:13 para My Project por  <a href="http://www.doxygen.org/index.html">
|
156
|
130
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
157
|
131
|
</a> 1.8.9.1
|
158
|
132
|
</small></address>
|