瀏覽代碼

First commit revised public version

Jose Ortiz 9 年之前
當前提交
b02271fb6f
共有 100 個文件被更改,包括 8554 次插入0 次删除
  1. 27
    0
      DVDInfo.pro
  2. 553
    0
      README.md
  3. 101
    0
      doc/en/html/annotated.html
  4. 二進制
      doc/en/html/arrowdown.png
  5. 二進制
      doc/en/html/arrowright.png
  6. 二進制
      doc/en/html/bc_s.png
  7. 二進制
      doc/en/html/bdwn.png
  8. 105
    0
      doc/en/html/classes.html
  9. 106
    0
      doc/en/html/classfilemanip-members.html
  10. 182
    0
      doc/en/html/classfilemanip.html
  11. 二進制
      doc/en/html/closed.png
  12. 二進制
      doc/en/html/doc.png
  13. 1449
    0
      doc/en/html/doxygen.css
  14. 二進制
      doc/en/html/doxygen.png
  15. 97
    0
      doc/en/html/dynsections.js
  16. 128
    0
      doc/en/html/filemanip_8h_source.html
  17. 102
    0
      doc/en/html/files.html
  18. 二進制
      doc/en/html/folderclosed.png
  19. 二進制
      doc/en/html/folderopen.png
  20. 119
    0
      doc/en/html/functions.html
  21. 113
    0
      doc/en/html/functions_func.html
  22. 107
    0
      doc/en/html/functions_vars.html
  23. 147
    0
      doc/en/html/globals.html
  24. 147
    0
      doc/en/html/globals_func.html
  25. 89
    0
      doc/en/html/index.html
  26. 68
    0
      doc/en/html/jquery.js
  27. 619
    0
      doc/en/html/movie_8cpp.html
  28. 626
    0
      doc/en/html/movie_8h.html
  29. 160
    0
      doc/en/html/movie_8h_source.html
  30. 二進制
      doc/en/html/nav_f.png
  31. 二進制
      doc/en/html/nav_g.png
  32. 二進制
      doc/en/html/nav_h.png
  33. 二進制
      doc/en/html/open.png
  34. 26
    0
      doc/en/html/search/all_0.html
  35. 5
    0
      doc/en/html/search/all_0.js
  36. 26
    0
      doc/en/html/search/all_1.html
  37. 12
    0
      doc/en/html/search/all_1.js
  38. 26
    0
      doc/en/html/search/all_2.html
  39. 4
    0
      doc/en/html/search/all_2.js
  40. 26
    0
      doc/en/html/search/all_3.html
  41. 5
    0
      doc/en/html/search/all_3.js
  42. 26
    0
      doc/en/html/search/all_4.html
  43. 4
    0
      doc/en/html/search/all_4.js
  44. 26
    0
      doc/en/html/search/all_5.html
  45. 7
    0
      doc/en/html/search/all_5.js
  46. 26
    0
      doc/en/html/search/all_6.html
  47. 4
    0
      doc/en/html/search/all_6.js
  48. 26
    0
      doc/en/html/search/classes_0.html
  49. 4
    0
      doc/en/html/search/classes_0.js
  50. 二進制
      doc/en/html/search/close.png
  51. 26
    0
      doc/en/html/search/files_0.html
  52. 5
    0
      doc/en/html/search/files_0.js
  53. 26
    0
      doc/en/html/search/functions_0.html
  54. 4
    0
      doc/en/html/search/functions_0.js
  55. 26
    0
      doc/en/html/search/functions_1.html
  56. 12
    0
      doc/en/html/search/functions_1.js
  57. 26
    0
      doc/en/html/search/functions_2.html
  58. 4
    0
      doc/en/html/search/functions_2.js
  59. 26
    0
      doc/en/html/search/functions_3.html
  60. 7
    0
      doc/en/html/search/functions_3.js
  61. 26
    0
      doc/en/html/search/functions_4.html
  62. 4
    0
      doc/en/html/search/functions_4.js
  63. 二進制
      doc/en/html/search/mag_sel.png
  64. 12
    0
      doc/en/html/search/nomatches.html
  65. 271
    0
      doc/en/html/search/search.css
  66. 791
    0
      doc/en/html/search/search.js
  67. 二進制
      doc/en/html/search/search_l.png
  68. 二進制
      doc/en/html/search/search_m.png
  69. 二進制
      doc/en/html/search/search_r.png
  70. 27
    0
      doc/en/html/search/searchdata.js
  71. 26
    0
      doc/en/html/search/variables_0.html
  72. 4
    0
      doc/en/html/search/variables_0.js
  73. 26
    0
      doc/en/html/search/variables_1.html
  74. 4
    0
      doc/en/html/search/variables_1.js
  75. 二進制
      doc/en/html/splitbar.png
  76. 二進制
      doc/en/html/sync_off.png
  77. 二進制
      doc/en/html/sync_on.png
  78. 二進制
      doc/en/html/tab_a.png
  79. 二進制
      doc/en/html/tab_b.png
  80. 二進制
      doc/en/html/tab_h.png
  81. 二進制
      doc/en/html/tab_s.png
  82. 60
    0
      doc/en/html/tabs.css
  83. 21
    0
      doc/en/latex/Makefile
  84. 4
    0
      doc/en/latex/annotated.tex
  85. 49
    0
      doc/en/latex/classfilemanip.tex
  86. 480
    0
      doc/en/latex/doxygen.sty
  87. 6
    0
      doc/en/latex/files.tex
  88. 312
    0
      doc/en/latex/movie_8cpp.tex
  89. 317
    0
      doc/en/latex/movie_8h.tex
  90. 160
    0
      doc/en/latex/refman.tex
  91. 101
    0
      doc/es/html/annotated.html
  92. 二進制
      doc/es/html/arrowdown.png
  93. 二進制
      doc/es/html/arrowright.png
  94. 二進制
      doc/es/html/bc_s.png
  95. 二進制
      doc/es/html/bdwn.png
  96. 105
    0
      doc/es/html/classes.html
  97. 106
    0
      doc/es/html/classfilemanip-members.html
  98. 182
    0
      doc/es/html/classfilemanip.html
  99. 二進制
      doc/es/html/closed.png
  100. 0
    0
      doc/es/html/doc.png

+ 27
- 0
DVDInfo.pro 查看文件

@@ -0,0 +1,27 @@
1
+#-------------------------------------------------
2
+#
3
+# Project created by QtCreator 2015-01-26T22:23:47
4
+#
5
+#-------------------------------------------------
6
+
7
+QT       += core
8
+
9
+QT       -= gui
10
+
11
+TARGET = DVDInfo
12
+CONFIG   += console
13
+CONFIG   -= app_bundle
14
+
15
+TEMPLATE = app
16
+
17
+
18
+SOURCES += main.cpp \
19
+    filemanip.cpp \
20
+    movie.cpp
21
+
22
+HEADERS += \
23
+    filemanip.h \
24
+    movie.h
25
+
26
+RESOURCES += \
27
+    database.qrc

+ 553
- 0
README.md 查看文件

@@ -0,0 +1,553 @@
1
+[English](#markdown-header-using-functions-in-c-dvd-info) | [Español](#markdown-header-utilizando-funciones-en-c-informacion-de-dvds)
2
+
3
+# Utilizando funciones en C++ - Información de DVDs
4
+
5
+![main1.png](images/main1.png)
6
+![main2.png](images/main2.png)
7
+![main3.png](images/main3.png)
8
+
9
+
10
+Una buena manera de organizar y estructurar los programas de computadoras es dividiéndolos en partes más pequeñas utilizando funciones. Cada función realiza una tarea específica del problema que estamos resolviendo.
11
+
12
+Haz visto que todos los programas en C++ deben contener la función `main` que es donde comienza el programa. Probablemente ya haz utilizado funciones como `pow`, `sin`, `cos`  o `sqrt` de la biblioteca de matemática `cmath`. Dado que en casi todas las experiencias de laboratorio que siguen estarás utilizando funciones pre-definidas, necesitas aprender cómo trabajar con ellas. Más adelante aprenderás cómo diseñarlas y validarlas. En esta experiencia de laboratorio harás búsquedas y desplegarás información contenida en una base de datos de DVDs para practicar la creación de funciones simples y la invocación de funciones pre-definidas. 
13
+
14
+
15
+##Objetivos:
16
+
17
+1. Identificar las partes de una función: tipo, nombre, lista de parámetros y cuerpo. 
18
+2. Invocar funciones pre-definidas pasando argumentos por valor ("pass by value") y por referencia ("pass by reference").
19
+3. Implementar una función simple que utilice parámetros por referencia.
20
+
21
+
22
+
23
+##Pre-Lab:
24
+
25
+Antes de llegar al laboratorio  debes:
26
+
27
+1. Haber repasado los siguientes conceptos:
28
+
29
+    a. los elementos básicos de la definición de una función en C++
30
+
31
+    b. la manera de invocar funciones en C++
32
+
33
+    c. la diferencia entre  parámetros pasados por valor y por referencia
34
+
35
+    d. como devolver el resultado de una función.
36
+
37
+2. Haber estudiado los conceptos e instrucciones para la sesión de laboratorio.
38
+
39
+3. Haber tomado el quiz Pre-Lab que se encuentra en Moodle.
40
+
41
+
42
+---
43
+---
44
+
45
+
46
+
47
+##Funciones
48
+
49
+
50
+En matemática, una función $f$ es una regla que se usa para asignar a cada elemento $x$ de un conjunto que se llama *dominio*, uno (y solo un) elemento $y$ de un conjunto que se llama *campo de valores*. Por lo general, esa regla se representa como una ecuación, $y=f(x)$. La variable $x$ es el parámetro de la función y la variable $y$ contendrá el resultado que devuelve la función. Una función puede tener más de un parámetro pero solo un resultado. Por ejemplo, puedes tener funciones de la forma $y=f(x_1,x_2)$ en donde hay dos parámetros y para cada par $(a,b)$ que se use como argumento de la función, la función tiene un solo valor de $y=f(a,b)$. El dominio de la función te dice el tipo de valor que debe tener el parámetro y el campo de valores el tipo de valor que tendrá el resultado que devuelve la función.
51
+
52
+Las funciones en lenguajes de programación de computadoras son similares. Una función 
53
+tiene una serie de instrucciones que toman los valores asignados a los parámetros y realiza alguna tarea. La única diferencia es que una función en programación puede que no devuelva valor (en este caso la función se declara `void`). Si la función va a devolver algún valor, se hace con la instrucción `return`. Al igual que en matemática tienes que especificar el dominio y el campo de valores, en programación tienes que especificar los tipos de valores que tienen los parámetros y el resultado que devuelve la función; esto lo haces al declarar la función.
54
+
55
+###Encabezado de una función:
56
+
57
+La primera oración de una función se llama el *encabezado* y su estructura es como sigue:
58
+
59
+`tipo nombre(tipo parámetro01, ..., tipo parámetro0n)`
60
+
61
+Por ejemplo,
62
+
63
+`int ejemplo(int var1, float var2, char &var3)`
64
+
65
+sería el encabezado de la función llamada `ejemplo`, que devuelve un valor entero. La función recibe como argumentos un valor entero (y guardará una copia en `var1`), un valor de tipo `float` (y guardará una copia en `var2`) y la referencia a una variable de tipo  `char` que se guardará en la variable de referencia `var3`. Nota que `var3` tiene el signo `&` antes del nombre de la variable. Esto indica que `var3` contendrá la referencia a un caracter.
66
+
67
+###Invocación
68
+
69
+Si queremos guardar el valor del resultado de la función `ejemplo` en la variable `resultado` (que deberá ser de tipo entero), invocamos la función pasando argumentos de manera similar a:
70
+
71
+`resultado=ejemplo(2, 3.5, unCar);`
72
+
73
+Nota que al invocar funciones no incluyes el tipo de las variables en los argumentos. Como en la definición de la función `ejemplo` el tercer parámetro `&var3` es una variable de referencia, lo que se está enviando en el tercer argumento de la invocación es una *referencia* a la variable `unCar`. Los cambios que se hagan en la variable `var3` están cambiando el contenido de la variable `unCar`.
74
+
75
+También puedes usar el resultado de la función sin tener que guardarlo en una variable. Por ejemplo puedes imprimirlo:
76
+
77
+`cout << "El resultado de la función ejemplo es:" << ejemplo(2, 3.5, unCar);`
78
+
79
+o utilizarlo en una expresión aritmética:
80
+
81
+`y=3 + ejemplo(2, 3.5, unCar);`
82
+
83
+
84
+
85
+###Funciones sobrecargadas (‘overloaded’)
86
+
87
+Las funciones sobrecargadas son funciones que poseen el mismo nombre, pero *firma* diferente.
88
+
89
+La firma de una función se compone del nombre de la función, y los tipos de parámetros que recibe, pero no incluye el tipo que devuelve.
90
+
91
+Los siguientes prototipos de funciones tienen la misma firma:
92
+
93
+```
94
+int ejemplo(int, int) ;
95
+void ejemplo(int, int) ; 
96
+string ejemplo(int, int) ;
97
+```
98
+
99
+Nota que todas tienen el mismo nombre, `ejemplo`, y reciben la misma cantidad de parámetros del mismo tipo `(int, int)`.
100
+
101
+Los siguientes prototipos de  funciones tienen firmas diferentes:
102
+
103
+```
104
+int ejemplo(int) ;
105
+int olpmeje(int) ;
106
+```
107
+Nota que a pesar de que las funciones tienen la misma cantidad de parámetros con mismo tipo `int`, el nombre de las funciones es distinto.
108
+
109
+Los siguientes prototipos de funciones son versiones sobrecargadas de la función `ejemplo`:
110
+
111
+```
112
+int ejemplo(int) ;
113
+void ejemplo(char) ;
114
+int ejemplo(int, int) ;
115
+int ejemplo(char, int) ;
116
+int ejemplo(int, char) ;
117
+```
118
+
119
+Todas las funciones de arriba tienen el mismo nombre, `ejemplo`, pero distintos parámetros.  La primera y segunda función tienen la misma cantidad de parámetros, pero los argumentos son de distintos tipos.  La cuarta y quinta función tienen argumentos de tipo `char` e `int`, pero en cada caso están en distinto orden.
120
+
121
+En ese último ejemplo la función ejemplo es sobrecargada ya que hay 5 funciones con firma distinta pero con el mismo nombre.
122
+
123
+
124
+###Valores por defecto
125
+
126
+Se pueden asignar valores por defecto ("default") a los parámetros de las funciones comenzando desde el parámetro más a la derecha. No hay que inicializar todos los parámetros pero los que se inicializan deben ser consecutivos: no se puede dejar parámetros sin inicializar entre dos parámetros que estén inicializados. Esto permite la invocación de la función sin tener que enviar los valores en las posiciones que corresponden a parámetros inicializados.
127
+
128
+**Ejemplos de encabezados de funciones e invocaciones válidas:**
129
+
130
+1. **Encabezado:** `int ejemplo(int var1, float var2, int var3 = 10)` Aquí se inicializa `var3` a 10.
131
+
132
+     **Invocaciones:** 
133
+
134
+    a. `ejemplo(5, 3.3, 12)` Esta invocación asigna el valor 5 a `var1`, el valor 3.3 a `var2`, y el valor 12 a `var3`. 
135
+
136
+    b. `ejemplo(5, 3.3)`  Esta invocación envía valores para los primeros dos parámetros y el valor del último parámetro será el valor por defecto asignado en el encabezado. Esto es, los valores de las variables en la función serán: `var1` tendrá 5, `var2` tendrá 3.3, y `var3` tendrá 10.
137
+
138
+2. **Encabezado:** `int ejemplo(int var1, float var2=5.0, int var3 = 10)`  Aquí se  inicializa `var2` a 5 y `var3` a 10.
139
+    
140
+    **Invocaciones:** 
141
+
142
+    a. `ejemplo(5, 3.3, 12)` Esta invocación asigna el valor 5 a `var1`, el valor 3.3 a `var2`, y el valor 12 a  `var3`. 
143
+
144
+    b. `ejemplo(5, 3.3)` En esta invocación solo se envían valores para los primeros dos parámetros, y el valor del último parámetro es el valor por defecto.  Esto es, el valor de `var1` dentro de la función será 5, el de `var2` será 3.3 y el de `var3` será 10.
145
+
146
+    c. `ejemplo(5)` En esta invocación solo se envía valor para el primer parámetro, y los últimos dos parámetros tienen valores por defecto.  Esto es,  el valor de `var1` dentro de la función será 5, el de `var2` será 5.0 y el de `var3` será 10.
147
+
148
+    
149
+
150
+
151
+**Ejemplo de un encabezado de funciones válido con invocaciones inválidas:**
152
+
153
+1. **Encabezado:** `int ejemplo(int var1, float var2=5.0, int var3 = 10)`  
154
+
155
+    **Invocación:** 
156
+
157
+    a. `ejemplo(5, ,10)` Esta invocación  es **inválida** porque   deja espacio vacío en el argumento del medio. 
158
+
159
+    b. `ejemplo()` Esta invocación es **inválida** ya que `var1` no estaba inicializada y no recibe ningún valor en la invocación.
160
+
161
+**Ejemplos de encabezados de funciones inválidos:**
162
+
163
+1. `int ejemplo(int var1=1, float var2, int var3)` Este encabezado es inválido porque los valores por defecto solo se pueden asignar comenzando por el parámetro más a la derecha.
164
+
165
+2. `int ejemplo(int var1=1, float var2, int var3=10)` Este encabezado es inválido porque no se pueden poner parámetros sin valores en medio de parámetros con valores por defecto. En este caso  `var2` no tiene valor pero `var1` y `var3` si.
166
+
167
+---
168
+---
169
+
170
+##Películas DVD y base de datos DVD
171
+
172
+DVD son las siglas para “digital versatile disk” o “digital video disk” que en español significa disco versátil digital o disco de video digital. Este  es un formato de disco óptico para almacenamiento digital  inventado por Philips, Sony, Toshiba, y Panasonic en 1995.  Los DVD ofrecen capacidad de almacenamiento mayor que los discos compactos (CD), pero tienen las mismas dimensiones.  Los DVD pueden ser utilizados para almacenar cualquier dato digital, pero son famosos por su uso en la distribución de películas en los hogares.
173
+
174
+---
175
+---
176
+
177
+
178
+## Sesión de laboratorio
179
+
180
+En este laboratorio vamos a utilizar una base de datos de películas DVD mantenida por http://www.hometheaterinfo.com/dvdlist.htm. Esta base de datos contiene 44MB de información de películas que han sido distribuidas en DVD. Alguna de la información almacenada en esta base de datos es: título del DVD, estudio de publicación, fecha de publicación, tipo de sonido, versiones, precio, clasificación, año y  género.  Los campos de la información de cada película son almacenados en texto con el siguiente formato:
181
+
182
+
183
+`DVD_Title|Studio|Released|Status|Sound|Versions|Price|Rating|Year|Genre|Aspect|UPC|DVD_ReleaseDate|ID|Timestamp`
184
+
185
+Por ejemplo, 
186
+
187
+```
188
+Airplane! (Paramount/ Blu-ray/ Checkpoint)|Paramount||Discontinued|5.1 DTS-HD|LBX, 16:9, BLU-RAY|21.99|PG|1980|Comedy|1.85:1|097361423524|2012-09-11 00:00:00|230375|2013-01-01 00:00:00
189
+```
190
+
191
+
192
+###Ejercicio 1
193
+
194
+El primer paso en esta experiencia de laboratorio es familiarizarte con las funciones que ya están definidas en el código. Tus tareas requerirán que imites lo que hacen estas funciones, así que es importante que entiendas como se invocan, declaran y definen.
195
+
196
+**Instrucciones**
197
+
198
+1.  Carga a Qt el proyecto `DVDInfo`  haciendo doble "click" en el archivo `DVDInfo.pro` que se encuentra en la carpeta `Documents/eip/Functions-DVDInfo` de tu computadora. También puedes ir a `http://bitbucket.org/eip-uprrp/functions-dvdinfo` para descargar la carpeta `Functions-DVDInfo` a tu computadora.
199
+
200
+
201
+2. Configura el proyecto. El archivo `main.cpp` tiene la invocación de las funciones que usarás en los siguientes ejercicios.  En los archivos `movie.h` y `movie.cpp` se encuentra la declaración y definición de las funciones que vas a invocar.
202
+ 
203
+3. Haz doble "click" en el archivo `movie.h` que contiene los prototipos de las funciones de este proyecto. Ve a `movie.h` e identifica cuál o cuáles funciones son sobrecargadas y describe por qué.
204
+
205
+    Estudia los prototipos de funciones contenidas en `movie.h` de modo que sepas la tarea que realizan y los tipos de datos que reciben y devuelven. Identifica los tipos de datos que recibe y devuelve cada una de las siguientes funciones:
206
+
207
+    ```
208
+    showMovie
209
+    showMovies (las dos)
210
+    getMovieName
211
+    getMovieByName
212
+    ```
213
+
214
+4. En el archivo `movie.cpp` encontrarás las definiciones de las funciones. Nota que algunas versiones de la función `showMovie` usan el objeto llamado `fields` de clase `QStringList`. El propósito de ese objeto es poder acceder cada uno de los campos de información de la película usando un índice entre 0 y 14.  Por ejemplo, fields[0] accede al título de la película, fields[1] accede el estudio, fields[8] al año, etc.  
215
+
216
+###Ejercicio 2
217
+
218
+En este ejercicio modificarás algunas de las funciones pre-definidas para que desplieguen solo algunas de las películas en la base de datos, desplieguen solo parte de la información contenida, o que desplieguen la información en un formato específico.
219
+
220
+**Instrucciones**
221
+
222
+1. Abre el archivo `main.cpp` y modifica la función `main` para que despliegue en la pantalla las películas en las posiciones 80 hasta la 100.
223
+
224
+
225
+2. Ahora modifica  la función `main` para que despliegue en la pantalla solo las películas que contengan “forrest gump” en el título.
226
+
227
+
228
+3. Modifica nuevamente la función `main` para que despliegue en la pantalla solo la película en la posición  75125 usando composición de funciones y la función `showMovie`.
229
+
230
+4. Para la película en la parte  3 de este ejercicio, modifica la función `main` para que solo despliegue el nombre y el rating de la película.
231
+
232
+5. Para la película en la parte 3, modifica la función `main` para que, utilizando `getMovieInfo`,  despliegue el nombre, el rating, el año y el género de la película en una sola línea. Ayuda: nota que la función `getMovieInfo` tiene parámetros por referencia.
233
+
234
+###Ejercicio 3
235
+
236
+Las funciones cuyos prototipos están en `movie.h` están implementadas en el archivo `movie.cpp`. En este ejercicio  vas a utilizar los archivos `movie.h`, `movie.cpp`, y `main.cpp` para definir e implementar funciones adicionales. Al implementar las funciones, recuerda utilizar buenas prácticas de programación y documentar tu programa.
237
+
238
+**Instrucciones**
239
+
240
+1. Estudia las funciones que ya están implementadas en `movie.cpp` para que te sirvan de ejemplo para las funciones que vas a crear. 
241
+
242
+2. Implementa una función `getMovieStudio` que reciba una cadena de caracteres ("string") con la info de una película y devuelva el nombre del estudio de la película. Recuerda añadir el prototipo de la función en el archivo `movie.h`. Invoca la función `getMovieStudio` desde `main()` para desplegar el nombre y el estudio de la película en la posición 75125 y así demostrar su funcionamiento.
243
+
244
+3. Implementa una función sobrecargada `getMovieInfo` que devuelva el nombre del estudio además del nombre, rating, año y género. Invoca la función `getMovieInfo` desde `main()` para desplegar el nombre,  estudio, rating, año y género de la película en la posición 75125 y así demostrar su funcionamiento.
245
+
246
+
247
+4. Implementa una función `showMovieInLine` que **despliegue** la información de una película que despliega `showMovie` pero en una sola línea. La función debe tener un parámetro de modo que reciba el "string" de información de la película. Invoca la función `showMovieInLine` desde `main()` para desplegar la información de la película en la posición 75125 y así demostrar su funcionamiento.
248
+
249
+5. Implementa una función `showMoviesInLine` que **despliegue** la misma información que despliega `showMovies`  (todas las películas en un rango de posiciones) pero en una sola línea por película. Por ejemplo, una invocación a la función sería
250
+`showMoviesInLine(file, 148995, 149000);`. Invoca la función `showMoviesInLine` desde `main()` para desplegar la información y así demostrar su funcionamiento.
251
+
252
+---
253
+---
254
+
255
+##Entregas
256
+
257
+Utiliza "Entrega" en Moodle para entregar los archivos `main()`, `movie.cpp` y `movie.h` con las invocaciones, cambios, implementaciones y declaraciones que hiciste en los ejercicios 2 y 3. Recuerda utilizar buenas prácticas de programación, incluir el nombre de los programadores y documentar tu programa.
258
+
259
+
260
+
261
+---
262
+---
263
+
264
+##Referencias
265
+
266
+[1] http://mathbits.com/MathBits/CompSci/functions/UserDef.htm
267
+
268
+[2] http://www.digimad.es/autoria-dvd-duplicado-cd-video.html
269
+
270
+[3] http://www.soft32.com/blog/platforms/windows/keep-your-dvd-collection-up-to-date-with-emdb-erics-movie-database/
271
+
272
+[4] http://www.hometheaterinfo.com/dvdlist.htm
273
+
274
+---
275
+
276
+---
277
+
278
+---
279
+
280
+[English](#markdown-header-using-functions-in-c-dvd-info) | [Español](#markdown-header-utilizando-funciones-en-c-informacion-de-dvds)
281
+
282
+# Using functions in C++ - DVD Info
283
+
284
+
285
+![main1.png](images/main1.png)
286
+![main2.png](images/main2.png)
287
+![main3.png](images/main3.png)
288
+
289
+
290
+A good way to organize and structure computer programs is dividing them into smaller parts using functions. Each function carries out a specific task within the program that we want to resolve.
291
+
292
+You've seen that all programs written in C++ must contain the `main` function where the program begins. You've probably already used functions such as `pow`, `sin`, `cos`, or `sqrt` from the `cmath` library. Since in almost all of the upcoming lab activities you will continue using pre-defined functions, you need to understand how to work with them. In future exercises  you will learn how to design and validate functions. In this laboratory experience you will search and display information contained in a DVD data base to practice the declaration of simple functions and invoking pre-defined functions.
293
+
294
+
295
+##Objectives:
296
+
297
+1. Identify the parts of a function: return type, name, list of parameters, and body. 
298
+2. Invoke pre-defined functions by passing arguments by value ("pass by value"), and by reference ("pass by reference"). 
299
+3. Implement a simple function that utilizes parameters by reference.
300
+
301
+
302
+##Pre-Lab:
303
+
304
+Before you get to the laboratory you should have:
305
+
306
+1. Reviewed the following concepts:
307
+
308
+    a. the basic elements of a function definition in C++
309
+
310
+    b. how to invoke functions in C++
311
+
312
+    c. the difference between parameters that are passed by value and by reference
313
+
314
+    d. how to return the result of a function.
315
+
316
+2. Studied the concepts and instructions for the laboratory session.
317
+
318
+3. Taken the Pre-Lab quiz that can be found in Moodle.
319
+
320
+---
321
+---
322
+
323
+##Functions
324
+
325
+In math, a function $f$ is a rule that is used to assign to each element $x$ from a set called *domain*, one (and only one) element $y$ from a set called *range*. This rule is commonly represented with an equation, $y=f(x)$. The variable $x$ is the parameter of the function and the variable $y$ will contain the result that the function returns. A function can have more than one parameter, but only one result. For example, you can have functions of the form $y=f(x_1,x_2)$ where there are two parameters, and for each pair $(a,b)$ that is used as an argument in the function, the function has only one value of $y=f(a,b)$. The domain of the function tells us the type of value that the parameter should have and the range tells us the value that the returned result will have.
326
+
327
+Functions in programming languages are similar. A function has a series of instructions that take the assigned values as parameters and performs a certain task. The only difference is that a *programming* function could possibly not return any value (in this case the function is declared as `void`). If the function will return a value, we use the instruction `return`. As in math, you need to specify the types of values that the function's parameters and result will have; this is done when declaring the function.
328
+
329
+###Function header:
330
+
331
+The first sentence of a function is called the *header* and its structure is as follows:
332
+
333
+`type name(type parameter01, ..., type parameter0n)`
334
+
335
+For example,
336
+
337
+`int example(int var1, float var2, char &var3)`
338
+
339
+would be the header of the function called `example`, which returns an integer value. The function receives as arguments an integer value (and will store a copy in `var1`), a value of type `float` (and will store a copy in `var2`) and the reference to a variable of type `char` that will be stored in the reference variable `var3`. Note that `var3` has a & symbol before the name of the variable. This indicates that `var3` will contain the reference to a character.
340
+
341
+###Invoking
342
+
343
+If we want to store the value of the `example` function's result in a variable `result` (that would be of type integer), we invoke the function by passing arguments as follows:
344
+
345
+`result=example(2, 3.5, unCar);`
346
+
347
+Note that as the function is invoked, you don't include the type of the variables in the arguments. As in the definition for the function `example`, the third parameter `&var3` is a reference variable; what is being sent to the third argument when invoking the function is a *reference* to the variable `unCar`. Any changes that are made on the variable `var3` will change the contents of the variable `unCar`.
348
+
349
+You can also use the function's result without having to store it in a variable. For example you could print it:
350
+
351
+`cout << "The result of the function example is:" << example(2, 3.5, unCar);`
352
+
353
+or use it in an arithmetic expression:
354
+
355
+`y=3 + example(2, 3.5, unCar);`
356
+
357
+
358
+
359
+###Overloaded Functions
360
+
361
+Overloaded functions are functions that have the same name, but a different *signature*.
362
+
363
+The signature of a function is composed of the name of the function, and the types of parameters it receives, but does not include the return type.
364
+
365
+The following function prototypes have the same signature:
366
+
367
+```
368
+int example(int, int) ;
369
+void example(int, int) ; 
370
+string example(int, int) ;
371
+```
372
+
373
+Note that each has the same name, `example`, and receives the same amount of parameters of the same type `(int, int)`.
374
+
375
+The following function prototypes have different signatures:
376
+
377
+```
378
+int example(int) ;
379
+int elpmaxe(int) ;
380
+```
381
+
382
+Note that even though the functions have the same amount of parameters with the same type `int`, the name of the functions is different.
383
+
384
+The following function prototypes are overloaded versions of the function `example`:
385
+
386
+```
387
+int example(int) ;
388
+void example(char) ;
389
+int example(int, int) ;
390
+int example(char, int) ;
391
+int example(int, char) ;
392
+```
393
+
394
+All of the above functions have the same name, `example`, but different parameters. The first and second functions have the same amount of parameters, but their arguments are of different types. The fourth and fifth functions have arguments of type `char` and `int`, but in each case are in different order.
395
+
396
+In that last example, the function `example` is overloaded since there are 5 functions with different signatures but with the same name.
397
+
398
+
399
+###Values by default
400
+
401
+Values by default can be assigned to the parameters of the functions starting from the first parameter to the right. It is not necessary to initialize all of the parameters, but the ones that are initialized should be consecutive: parameters in between two parameters cannot be left uninitialized. This allows calling the function without having to send values in the positions that correspond to the initialized parameters.
402
+
403
+**Examples of function headers and valid invocations:**
404
+
405
+1. **Headers:** `int example(int var1, float var2, int var3 = 10)` Here `var3` is initialized to 10.
406
+
407
+    **Invocations:**
408
+
409
+    a. `example(5, 3.3, 12)` This function call assigns the value 5 to `var1`, the value 3.3 to `var2`, and the value of 12 to `var3`.
410
+
411
+    b. `example(5, 3.3)` This function call sends the values for the first two parameters and the value for the last parameter will be the value assigned by default in the header. That is, the values in the variables in the function will be as follows: `var1` will be 5, `var2` will be 3.3, and `var3` will be 10.
412
+
413
+2. **Header:** `int example(int var1, float var2=5.0, int var3 = 10)`
414
+Here `var2` is initialized to 5 and `var3` to 10.
415
+
416
+    **Invocations:**
417
+
418
+    a. `example(5, 3.3, 12)` This function call assigns the value 5 to `var1`, the value 3.3 to `var2`, and the value 12 to `var3`.
419
+
420
+    b. `example(5, 3.3)` In this function call only the first two parameters are given values, and the value for the last parameter is the value by default. That is, the value for `var1` within the function will be 5, that of `var2` will be 3.3, and `var3` will be 10.
421
+
422
+    c. `example(5)` In this function call only the first parameter is given a value, and the last two parameters will be assigned  values by default. That is, `var1` will be 5, `var2` will be 5.0, and `var3` will be 10.
423
+
424
+
425
+
426
+
427
+**Example of a valid function header with invalid invocations:**
428
+
429
+1. **Header:** `int example(int var1, float var2=5.0, int var3 = 10)` 
430
+
431
+
432
+    **Invocation:**
433
+
434
+    a. `example(5, , 10)` This function call is **invalid** because it leaves an empty space in the middle argument.
435
+
436
+    b. `example()` This function call is **invalid** because `var1` was not assigned a default value. A valid invocation to the function `example` needs at least one argument (the first) 
437
+
438
+**Examples of invalid function headers:**
439
+
440
+1. `int example(int var1=1, float var2, int var3)` This header is invalid because  the  default values can only be assigned starting from the rightmost parameter.
441
+
442
+2. `int example(int var1=1, float var2, int var3=10)` This header is invalid because you can't place parameters without values between other parameters with default values. In this case, `var2` doesn't have a default value but `var1` and `var3` do.
443
+
444
+---
445
+---
446
+
447
+##DVD movies and the DVD data base
448
+
449
+DVD stands for "digital versatile disk" or "digital video disk", which is an optical disc format for storing digital information invented by Philips, Sony, Toshiba, and Panasonic in 1995. The DVD offers larger storage capacity than compact disks (CD), but have the same dimensions. DVDs can be used to store any kind of digital data, but are famous for their use in the distribution of movies.
450
+
451
+---
452
+---
453
+
454
+
455
+## Lab session
456
+
457
+In this lab we'll be utilizing a data base of DVD movies maintained by http://www.hometheaterinfo.com/dvdlist.htm. This data base contains 44MB of information for movies that have been distributed in DVD. Some of the stored information in the database for each DVD is: DVD title, publishing studio, date of publication, type of sound, versions, price, rating, year and genre. The fields of information for each movie are stored in text with the following format:
458
+
459
+`DVD_Title|Studio|Released|Status|Sound|Versions|Price|Rating|Year|Genre|Aspect|UPC|DVD_ReleaseDate|ID|Timestamp`
460
+
461
+For example, 
462
+
463
+```
464
+Airplane! (Paramount/ Blu-ray/ Checkpoint)|Paramount||Discontinued|5.1 DTS-HD|LBX, 16:9, BLU-RAY|21.99|PG|1980|Comedy|1.85:1|097361423524|2012-09-11 00:00:00|230375|2013-01-01 00:00:00
465
+```
466
+
467
+
468
+###Exercise 1
469
+
470
+The first step in this lab experience is to familiarize yourself with the functions that are already defined in the code. Your tasks require that you imitate what the functions do, so it is important that you understand how to invoke, declare and define the functions. 
471
+
472
+**Instructions**
473
+
474
+1. Open the project `DVDInfo` in Qt by double clicking the file `DVDInfo.pro` that can be found in the folder `Documents/eip/Functions-DVDInfo` on your computer. You may also access `http://bitbucket.org/eip-uprrp/functions-dvdinfo` to download the folder `Functions-DVDInfo` to your computer.
475
+
476
+2. Configure the project. The file `main.cpp` has the function invocations that you will use in the next exercises. The declarations and definitions of the functions that will be invoked can be found in the files `movie.h` and `movie.cpp`.
477
+
478
+3. Double click on the file `movie.h` that contains this project's function prototypes. Go to `movie.h` and identify which functions are overloaded and describe why.
479
+    
480
+    Study the function prototypes and documentation in `movie.h` so that you understand the task they carry out and the data types they receive and return. For each of the following functions, identify the data types they receive and return:
481
+
482
+    ```
483
+    showMovie
484
+    showMovies (las dos)
485
+    getMovieName
486
+    getMovieByName
487
+    ```
488
+
489
+4. You can find the function definitions in the file `movie.cpp`. Note that some versions of the function `showMovie` use the object called`fields` of the `QStringList` class. The purpose of this object is to provide easy access to information fields of each movie, using an index between 0 and 14.  For example, you may use fields[0] to access a movie’s title, fields[1] to access a movie’s studio, fields[8] to access its year, and so forth.
490
+
491
+###Exercise 2
492
+
493
+In this exercise you will modify some of the pre-defined functions so that they display only certain movies from the database, display only part of the information, or display the information in a specific format.
494
+
495
+**Instructions**
496
+
497
+1. In the file `main.cpp`, modify the `main` function so that the program displays the movies that have positions from 80 to 100.
498
+
499
+2. Now modify the `main` function so that the program  displays only the movies that have “forrest gump” in the title.
500
+
501
+3. Once again, modify the `main` function so that the program displays only the movie in position 75125 using function composition and the function `showMovie`.
502
+
503
+4. For the movie in part 3 of this exercise, add the necessary code to the `main` function so that the program displays the name and the rating of the movie.
504
+
505
+
506
+5. For the movie in part 3, add the necessary code to the `main` function so that, using `getMovieInfo`, it displays the name, rating, year and the genre of the movie in one line. Hint: note that the function `getMovieInfo` has parameters that are passed by reference. 
507
+
508
+###Exercise 3
509
+
510
+The functions whose prototypes are in `movie.h` are implemented in the file `movie.cpp`. In this exercise you will use the files `movie.h`, `movie.cpp`, and `main.cpp` to define and implement additional functions. As you implement these functions, remember to use good programming techniques and document your program.
511
+
512
+**Instructions**
513
+
514
+1. Study the functions that are already implemented in `movie.cpp` so that they may be used as examples for the functions you will create.
515
+
516
+2. Implement a function `getMovieStudio` that receives a string with the information of a movie and returns the name of the film's **studio**. Remember to add the function's prototype in the file `movie.h`. Invoke the function `getMovieStudio` in `main()` to display the name and studio of the movie in the position 75125 and demonstrate its functionality. 
517
+
518
+3. Implement an overloaded function `getMovieInfo` that returns the name of the studio as well as the name, rating, year and genre. Invoke the function `getMovieInfo` in `main()` to display the name, studio, rating, year and genre of the movie in the position 75125 and demonstrate its functionality.
519
+
520
+4. Implement a function `showMovieInLine` that **displays** the information the information displayed by `showMovie`, but in a single line. The function should have a parameter to receive a string of information of the movie. Invoke the function `showMovieInLine` in `main()` to display the information for the movie in position 75125 to demonstrate its functionality. 
521
+
522
+5. Implement a function `showMoviesInLine` that **displays** the same information displayed by `showMovies` (all of the movies within a range of positions) but in a single line per movie. For example, a function call would be: `showMoviesInLine(file, 148995, 149000);`. Invoke the function `showMoviesInLine` in `main()` to display the information and demonstrate its functionality.
523
+
524
+---
525
+---
526
+
527
+##Deliverables
528
+
529
+Use "Deliverables" in Moodle to hand in the files `main()`, `movie.cpp`, and `movie.h` with the function calls, changes, implementations and declarations that you made in Exercises 2 and 3. Remember to use good programming techniques, include the names of the programmers involved, and to document your program.
530
+
531
+
532
+
533
+---
534
+---
535
+
536
+##References
537
+
538
+[1] http://mathbits.com/MathBits/CompSci/functions/UserDef.htm
539
+
540
+[2] http://www.digimad.es/autoria-dvd-duplicado-cd-video.html
541
+
542
+[3] http://www.soft32.com/blog/platforms/windows/keep-your-dvd-collection-up-to-date-with-emdb-erics-movie-database/
543
+
544
+[4] http://www.hometheaterinfo.com/dvdlist.htm
545
+
546
+---
547
+---
548
+---
549
+
550
+
551
+
552
+
553
+

+ 101
- 0
doc/en/html/annotated.html 查看文件

@@ -0,0 +1,101 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li class="current"><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+</div><!-- top -->
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">Class List</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
89
+<table class="directory">
90
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfilemanip.html" target="_self">filemanip</a></td><td class="desc"></td></tr>
91
+</table>
92
+</div><!-- directory -->
93
+</div><!-- contents -->
94
+<!-- start footer part -->
95
+<hr class="footer"/><address class="footer"><small>
96
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
97
+<img class="footer" src="doxygen.png" alt="doxygen"/>
98
+</a> 1.8.9.1
99
+</small></address>
100
+</body>
101
+</html>

二進制
doc/en/html/arrowdown.png 查看文件


二進制
doc/en/html/arrowright.png 查看文件


二進制
doc/en/html/bc_s.png 查看文件


二進制
doc/en/html/bdwn.png 查看文件


+ 105
- 0
doc/en/html/classes.html 查看文件

@@ -0,0 +1,105 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Index</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li class="current"><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+</div><!-- top -->
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">Class Index</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+<div class="qindex"><a class="qindex" href="#letter_F">F</a></div>
89
+<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
90
+<tr><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;f&#160;&#160;</div></td></tr></table>
91
+</td><td></td></tr>
92
+<tr><td></td></tr>
93
+<tr><td valign="top"><a class="el" href="classfilemanip.html">filemanip</a>&#160;&#160;&#160;</td><td></td></tr>
94
+<tr><td></td><td></td></tr>
95
+</table>
96
+<div class="qindex"><a class="qindex" href="#letter_F">F</a></div>
97
+</div><!-- contents -->
98
+<!-- start footer part -->
99
+<hr class="footer"/><address class="footer"><small>
100
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
101
+<img class="footer" src="doxygen.png" alt="doxygen"/>
102
+</a> 1.8.9.1
103
+</small></address>
104
+</body>
105
+</html>

+ 106
- 0
doc/en/html/classfilemanip-members.html 查看文件

@@ -0,0 +1,106 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Member List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+</div><!-- top -->
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">filemanip Member List</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+
89
+<p>This is the complete list of members for <a class="el" href="classfilemanip.html">filemanip</a>, including all inherited members.</p>
90
+<table class="directory">
91
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">file</a></td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
92
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
93
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296">filemanip</a>(QString filename)</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
94
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">getnext</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
95
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">in</a></td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
96
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">reset</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
97
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">~filemanip</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
98
+</table></div><!-- contents -->
99
+<!-- start footer part -->
100
+<hr class="footer"/><address class="footer"><small>
101
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
102
+<img class="footer" src="doxygen.png" alt="doxygen"/>
103
+</a> 1.8.9.1
104
+</small></address>
105
+</body>
106
+</html>

+ 182
- 0
doc/en/html/classfilemanip.html 查看文件

@@ -0,0 +1,182 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: filemanip Class Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+</div><!-- top -->
83
+<div class="header">
84
+  <div class="summary">
85
+<a href="#pub-methods">Public Member Functions</a> &#124;
86
+<a href="#pri-attribs">Private Attributes</a> &#124;
87
+<a href="classfilemanip-members.html">List of all members</a>  </div>
88
+  <div class="headertitle">
89
+<div class="title">filemanip Class Reference</div>  </div>
90
+</div><!--header-->
91
+<div class="contents">
92
+
93
+<p><code>#include &lt;<a class="el" href="filemanip_8h_source.html">filemanip.h</a>&gt;</code></p>
94
+<table class="memberdecls">
95
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
96
+Public Member Functions</h2></td></tr>
97
+<tr class="memitem:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39d12f6e1f3dcff22bf54c0fe28f1e6f"></a>
98
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a> ()</td></tr>
99
+<tr class="memdesc:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that sets a fixed dvd file. <br /></td></tr>
100
+<tr class="separator:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
101
+<tr class="memitem:a14b1ee925fb4b6eaeede53de271eb296"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14b1ee925fb4b6eaeede53de271eb296"></a>
102
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296">filemanip</a> (QString filename)</td></tr>
103
+<tr class="memdesc:a14b1ee925fb4b6eaeede53de271eb296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that sets a file. <br /></td></tr>
104
+<tr class="separator:a14b1ee925fb4b6eaeede53de271eb296"><td class="memSeparator" colspan="2">&#160;</td></tr>
105
+<tr class="memitem:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbbde8fc20a8f5c3e4ebc22d8711046d"></a>
106
+QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">getnext</a> ()</td></tr>
107
+<tr class="memdesc:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next file text line. <br /></td></tr>
108
+<tr class="separator:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="memSeparator" colspan="2">&#160;</td></tr>
109
+<tr class="memitem:a211ae5ba5a3c5320bb9da90941690edd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a211ae5ba5a3c5320bb9da90941690edd"></a>
110
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">reset</a> ()</td></tr>
111
+<tr class="memdesc:a211ae5ba5a3c5320bb9da90941690edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">File pointer points to the start of the file. <br /></td></tr>
112
+<tr class="separator:a211ae5ba5a3c5320bb9da90941690edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
113
+<tr class="memitem:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8fe6ced260e2c7cb0deef92a02fd2e41"></a>
114
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">~filemanip</a> ()</td></tr>
115
+<tr class="memdesc:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
116
+<tr class="separator:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
117
+</table><table class="memberdecls">
118
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
119
+Private Attributes</h2></td></tr>
120
+<tr class="memitem:a2290120459afdb754263d99761fe5523"><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">file</a></td></tr>
121
+<tr class="separator:a2290120459afdb754263d99761fe5523"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+<tr class="memitem:a3558c09c7972ba84cbb7352bd258bbf6"><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">in</a></td></tr>
123
+<tr class="separator:a3558c09c7972ba84cbb7352bd258bbf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+</table>
125
+<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
126
+<div class="textblock"><p>A class to manipulate files. </p>
127
+</div><h2 class="groupheader">Member Data Documentation</h2>
128
+<a class="anchor" id="a2290120459afdb754263d99761fe5523"></a>
129
+<div class="memitem">
130
+<div class="memproto">
131
+<table class="mlabels">
132
+  <tr>
133
+  <td class="mlabels-left">
134
+      <table class="memname">
135
+        <tr>
136
+          <td class="memname">QFile* filemanip::file</td>
137
+        </tr>
138
+      </table>
139
+  </td>
140
+  <td class="mlabels-right">
141
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
142
+  </tr>
143
+</table>
144
+</div><div class="memdoc">
145
+<p>pointer to a file / apuntador a un archivo </p>
146
+
147
+</div>
148
+</div>
149
+<a class="anchor" id="a3558c09c7972ba84cbb7352bd258bbf6"></a>
150
+<div class="memitem">
151
+<div class="memproto">
152
+<table class="mlabels">
153
+  <tr>
154
+  <td class="mlabels-left">
155
+      <table class="memname">
156
+        <tr>
157
+          <td class="memname">QTextStream* filemanip::in</td>
158
+        </tr>
159
+      </table>
160
+  </td>
161
+  <td class="mlabels-right">
162
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
163
+  </tr>
164
+</table>
165
+</div><div class="memdoc">
166
+<p>pointer to a text stream / apuntador a un flujo de entrada </p>
167
+
168
+</div>
169
+</div>
170
+<hr/>The documentation for this class was generated from the following files:<ul>
171
+<li><a class="el" href="filemanip_8h_source.html">filemanip.h</a></li>
172
+<li>filemanip.cpp</li>
173
+</ul>
174
+</div><!-- contents -->
175
+<!-- start footer part -->
176
+<hr class="footer"/><address class="footer"><small>
177
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
178
+<img class="footer" src="doxygen.png" alt="doxygen"/>
179
+</a> 1.8.9.1
180
+</small></address>
181
+</body>
182
+</html>

二進制
doc/en/html/closed.png 查看文件


二進制
doc/en/html/doc.png 查看文件


+ 1449
- 0
doc/en/html/doxygen.css
文件差異過大導致無法顯示
查看文件


二進制
doc/en/html/doxygen.png 查看文件


+ 97
- 0
doc/en/html/dynsections.js 查看文件

@@ -0,0 +1,97 @@
1
+function toggleVisibility(linkObj)
2
+{
3
+ var base = $(linkObj).attr('id');
4
+ var summary = $('#'+base+'-summary');
5
+ var content = $('#'+base+'-content');
6
+ var trigger = $('#'+base+'-trigger');
7
+ var src=$(trigger).attr('src');
8
+ if (content.is(':visible')===true) {
9
+   content.hide();
10
+   summary.show();
11
+   $(linkObj).addClass('closed').removeClass('opened');
12
+   $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
13
+ } else {
14
+   content.show();
15
+   summary.hide();
16
+   $(linkObj).removeClass('closed').addClass('opened');
17
+   $(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
18
+ } 
19
+ return false;
20
+}
21
+
22
+function updateStripes()
23
+{
24
+  $('table.directory tr').
25
+       removeClass('even').filter(':visible:even').addClass('even');
26
+}
27
+
28
+function toggleLevel(level)
29
+{
30
+  $('table.directory tr').each(function() {
31
+    var l = this.id.split('_').length-1;
32
+    var i = $('#img'+this.id.substring(3));
33
+    var a = $('#arr'+this.id.substring(3));
34
+    if (l<level+1) {
35
+      i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
36
+      a.html('&#9660;');
37
+      $(this).show();
38
+    } else if (l==level+1) {
39
+      i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
40
+      a.html('&#9658;');
41
+      $(this).show();
42
+    } else {
43
+      $(this).hide();
44
+    }
45
+  });
46
+  updateStripes();
47
+}
48
+
49
+function toggleFolder(id)
50
+{
51
+  // the clicked row
52
+  var currentRow = $('#row_'+id);
53
+
54
+  // all rows after the clicked row
55
+  var rows = currentRow.nextAll("tr");
56
+
57
+  var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
58
+
59
+  // only match elements AFTER this one (can't hide elements before)
60
+  var childRows = rows.filter(function() { return this.id.match(re); });
61
+
62
+  // first row is visible we are HIDING
63
+  if (childRows.filter(':first').is(':visible')===true) {
64
+    // replace down arrow by right arrow for current row
65
+    var currentRowSpans = currentRow.find("span");
66
+    currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
67
+    currentRowSpans.filter(".arrow").html('&#9658;');
68
+    rows.filter("[id^=row_"+id+"]").hide(); // hide all children
69
+  } else { // we are SHOWING
70
+    // replace right arrow by down arrow for current row
71
+    var currentRowSpans = currentRow.find("span");
72
+    currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
73
+    currentRowSpans.filter(".arrow").html('&#9660;');
74
+    // replace down arrows by right arrows for child rows
75
+    var childRowsSpans = childRows.find("span");
76
+    childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
77
+    childRowsSpans.filter(".arrow").html('&#9658;');
78
+    childRows.show(); //show all children
79
+  }
80
+  updateStripes();
81
+}
82
+
83
+
84
+function toggleInherit(id)
85
+{
86
+  var rows = $('tr.inherit.'+id);
87
+  var img = $('tr.inherit_header.'+id+' img');
88
+  var src = $(img).attr('src');
89
+  if (rows.filter(':first').is(':visible')===true) {
90
+    rows.css('display','none');
91
+    $(img).attr('src',src.substring(0,src.length-8)+'closed.png');
92
+  } else {
93
+    rows.css('display','table-row'); // using show() causes jump in firefox
94
+    $(img).attr('src',src.substring(0,src.length-10)+'open.png');
95
+  }
96
+}
97
+

+ 128
- 0
doc/en/html/filemanip_8h_source.html 查看文件

@@ -0,0 +1,128 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: filemanip.h Source File</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">filemanip.h</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef FILEMANIP_H</span></div>
88
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define FILEMANIP_H</span></div>
89
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div>
90
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QFile&gt;</span></div>
91
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;QTextStream&gt;</span></div>
92
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;QDebug&gt;</span></div>
93
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
94
+<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classfilemanip.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="classfilemanip.html">filemanip</a></div>
95
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div>
96
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">public</span>:</div>
97
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div>
98
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <a class="code" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a>() ;</div>
99
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
100
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a>(QString filename);</div>
101
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
102
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    QString <a class="code" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">getnext</a>() ;</div>
103
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
104
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">reset</a>() ;</div>
105
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
106
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <a class="code" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">~filemanip</a>() ;</div>
107
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">private</span>:</div>
108
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">   51</a></span>&#160;    QFile *<a class="code" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">file</a> ;   </div>
109
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">   52</a></span>&#160;    QTextStream *<a class="code" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">in</a> ; </div>
110
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;};</div>
111
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
112
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#endif // FILEMANIP_H</span></div>
113
+<div class="ttc" id="classfilemanip_html_a39d12f6e1f3dcff22bf54c0fe28f1e6f"><div class="ttname"><a href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip::filemanip</a></div><div class="ttdeci">filemanip()</div><div class="ttdoc">Constructor that sets a fixed dvd file. </div><div class="ttdef"><b>Definition:</b> filemanip.cpp:9</div></div>
114
+<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>
115
+<div class="ttc" id="classfilemanip_html_a211ae5ba5a3c5320bb9da90941690edd"><div class="ttname"><a href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">filemanip::reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">File pointer points to the start of the file. </div><div class="ttdef"><b>Definition:</b> filemanip.cpp:56</div></div>
116
+<div class="ttc" id="classfilemanip_html_a3558c09c7972ba84cbb7352bd258bbf6"><div class="ttname"><a href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">filemanip::in</a></div><div class="ttdeci">QTextStream * in</div><div class="ttdef"><b>Definition:</b> filemanip.h:52</div></div>
117
+<div class="ttc" id="classfilemanip_html_a2290120459afdb754263d99761fe5523"><div class="ttname"><a href="classfilemanip.html#a2290120459afdb754263d99761fe5523">filemanip::file</a></div><div class="ttdeci">QFile * file</div><div class="ttdef"><b>Definition:</b> filemanip.h:51</div></div>
118
+<div class="ttc" id="classfilemanip_html_acbbde8fc20a8f5c3e4ebc22d8711046d"><div class="ttname"><a href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">filemanip::getnext</a></div><div class="ttdeci">QString getnext()</div><div class="ttdoc">Returns the next file text line. </div><div class="ttdef"><b>Definition:</b> filemanip.cpp:34</div></div>
119
+<div class="ttc" id="classfilemanip_html_a8fe6ced260e2c7cb0deef92a02fd2e41"><div class="ttname"><a href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">filemanip::~filemanip</a></div><div class="ttdeci">~filemanip()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> filemanip.cpp:45</div></div>
120
+</div><!-- fragment --></div><!-- contents -->
121
+<!-- start footer part -->
122
+<hr class="footer"/><address class="footer"><small>
123
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
124
+<img class="footer" src="doxygen.png" alt="doxygen"/>
125
+</a> 1.8.9.1
126
+</small></address>
127
+</body>
128
+</html>

+ 102
- 0
doc/en/html/files.html 查看文件

@@ -0,0 +1,102 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File List</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li class="current"><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">File List</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
88
+<table class="directory">
89
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="filemanip_8h_source.html"><span class="icondoc"></span></a><b>filemanip.h</b></td><td class="desc"></td></tr>
90
+<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icondoc"></span><a class="el" href="movie_8cpp.html" target="_self">movie.cpp</a></td><td class="desc"></td></tr>
91
+<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><a href="movie_8h_source.html"><span class="icondoc"></span></a><a class="el" href="movie_8h.html" target="_self">movie.h</a></td><td class="desc"></td></tr>
92
+</table>
93
+</div><!-- directory -->
94
+</div><!-- contents -->
95
+<!-- start footer part -->
96
+<hr class="footer"/><address class="footer"><small>
97
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
98
+<img class="footer" src="doxygen.png" alt="doxygen"/>
99
+</a> 1.8.9.1
100
+</small></address>
101
+</body>
102
+</html>

二進制
doc/en/html/folderclosed.png 查看文件


二進制
doc/en/html/folderopen.png 查看文件


+ 119
- 0
doc/en/html/functions.html 查看文件

@@ -0,0 +1,119 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+  <div id="navrow3" class="tabs2">
69
+    <ul class="tablist">
70
+      <li class="current"><a href="functions.html"><span>All</span></a></li>
71
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
72
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
73
+    </ul>
74
+  </div>
75
+</div><!-- top -->
76
+<!-- window showing the filter options -->
77
+<div id="MSearchSelectWindow"
78
+     onmouseover="return searchBox.OnSearchSelectShow()"
79
+     onmouseout="return searchBox.OnSearchSelectHide()"
80
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
81
+</div>
82
+
83
+<!-- iframe showing the search results (closed by default) -->
84
+<div id="MSearchResultsWindow">
85
+<iframe src="javascript:void(0)" frameborder="0" 
86
+        name="MSearchResults" id="MSearchResults">
87
+</iframe>
88
+</div>
89
+
90
+<div class="contents">
91
+<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul>
92
+<li>file
93
+: <a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">filemanip</a>
94
+</li>
95
+<li>filemanip()
96
+: <a class="el" href="classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296">filemanip</a>
97
+</li>
98
+<li>getnext()
99
+: <a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">filemanip</a>
100
+</li>
101
+<li>in
102
+: <a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">filemanip</a>
103
+</li>
104
+<li>reset()
105
+: <a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">filemanip</a>
106
+</li>
107
+<li>~filemanip()
108
+: <a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">filemanip</a>
109
+</li>
110
+</ul>
111
+</div><!-- contents -->
112
+<!-- start footer part -->
113
+<hr class="footer"/><address class="footer"><small>
114
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
115
+<img class="footer" src="doxygen.png" alt="doxygen"/>
116
+</a> 1.8.9.1
117
+</small></address>
118
+</body>
119
+</html>

+ 113
- 0
doc/en/html/functions_func.html 查看文件

@@ -0,0 +1,113 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Functions</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+  <div id="navrow3" class="tabs2">
69
+    <ul class="tablist">
70
+      <li><a href="functions.html"><span>All</span></a></li>
71
+      <li class="current"><a href="functions_func.html"><span>Functions</span></a></li>
72
+      <li><a href="functions_vars.html"><span>Variables</span></a></li>
73
+    </ul>
74
+  </div>
75
+</div><!-- top -->
76
+<!-- window showing the filter options -->
77
+<div id="MSearchSelectWindow"
78
+     onmouseover="return searchBox.OnSearchSelectShow()"
79
+     onmouseout="return searchBox.OnSearchSelectHide()"
80
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
81
+</div>
82
+
83
+<!-- iframe showing the search results (closed by default) -->
84
+<div id="MSearchResultsWindow">
85
+<iframe src="javascript:void(0)" frameborder="0" 
86
+        name="MSearchResults" id="MSearchResults">
87
+</iframe>
88
+</div>
89
+
90
+<div class="contents">
91
+&#160;<ul>
92
+<li>filemanip()
93
+: <a class="el" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a>
94
+</li>
95
+<li>getnext()
96
+: <a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">filemanip</a>
97
+</li>
98
+<li>reset()
99
+: <a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">filemanip</a>
100
+</li>
101
+<li>~filemanip()
102
+: <a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">filemanip</a>
103
+</li>
104
+</ul>
105
+</div><!-- contents -->
106
+<!-- start footer part -->
107
+<hr class="footer"/><address class="footer"><small>
108
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
109
+<img class="footer" src="doxygen.png" alt="doxygen"/>
110
+</a> 1.8.9.1
111
+</small></address>
112
+</body>
113
+</html>

+ 107
- 0
doc/en/html/functions_vars.html 查看文件

@@ -0,0 +1,107 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Class Members - Variables</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
64
+      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
65
+      <li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
66
+    </ul>
67
+  </div>
68
+  <div id="navrow3" class="tabs2">
69
+    <ul class="tablist">
70
+      <li><a href="functions.html"><span>All</span></a></li>
71
+      <li><a href="functions_func.html"><span>Functions</span></a></li>
72
+      <li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
73
+    </ul>
74
+  </div>
75
+</div><!-- top -->
76
+<!-- window showing the filter options -->
77
+<div id="MSearchSelectWindow"
78
+     onmouseover="return searchBox.OnSearchSelectShow()"
79
+     onmouseout="return searchBox.OnSearchSelectHide()"
80
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
81
+</div>
82
+
83
+<!-- iframe showing the search results (closed by default) -->
84
+<div id="MSearchResultsWindow">
85
+<iframe src="javascript:void(0)" frameborder="0" 
86
+        name="MSearchResults" id="MSearchResults">
87
+</iframe>
88
+</div>
89
+
90
+<div class="contents">
91
+&#160;<ul>
92
+<li>file
93
+: <a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">filemanip</a>
94
+</li>
95
+<li>in
96
+: <a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">filemanip</a>
97
+</li>
98
+</ul>
99
+</div><!-- contents -->
100
+<!-- start footer part -->
101
+<hr class="footer"/><address class="footer"><small>
102
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
103
+<img class="footer" src="doxygen.png" alt="doxygen"/>
104
+</a> 1.8.9.1
105
+</small></address>
106
+</body>
107
+</html>

+ 147
- 0
doc/en/html/globals.html 查看文件

@@ -0,0 +1,147 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li class="current"><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+  <div id="navrow3" class="tabs2">
68
+    <ul class="tablist">
69
+      <li class="current"><a href="globals.html"><span>All</span></a></li>
70
+      <li><a href="globals_func.html"><span>Functions</span></a></li>
71
+    </ul>
72
+  </div>
73
+</div><!-- top -->
74
+<!-- window showing the filter options -->
75
+<div id="MSearchSelectWindow"
76
+     onmouseover="return searchBox.OnSearchSelectShow()"
77
+     onmouseout="return searchBox.OnSearchSelectHide()"
78
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
79
+</div>
80
+
81
+<!-- iframe showing the search results (closed by default) -->
82
+<div id="MSearchResultsWindow">
83
+<iframe src="javascript:void(0)" frameborder="0" 
84
+        name="MSearchResults" id="MSearchResults">
85
+</iframe>
86
+</div>
87
+
88
+<div class="contents">
89
+<div class="textblock">Here is a list of all documented file members with links to the documentation:</div><ul>
90
+<li>getMovieByName()
91
+: <a class="el" href="movie_8cpp.html#a14872b961b612dd2ed0e848e205432ab">movie.cpp</a>
92
+, <a class="el" href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">movie.h</a>
93
+</li>
94
+<li>getMovieByPosition()
95
+: <a class="el" href="movie_8cpp.html#a5cd9879ec2e8c19fb7bea1b7eff92306">movie.cpp</a>
96
+, <a class="el" href="movie_8h.html#aebd1da153f25f87661ac630b47737097">movie.h</a>
97
+</li>
98
+<li>getMovieGenre()
99
+: <a class="el" href="movie_8cpp.html#a587b63fb2f1c6ff6aa0bbfd12ebbdb46">movie.cpp</a>
100
+, <a class="el" href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">movie.h</a>
101
+</li>
102
+<li>getMovieInfo()
103
+: <a class="el" href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">movie.h</a>
104
+, <a class="el" href="movie_8cpp.html#a9057c8190a50e3b94cb358ee7f9f7efb">movie.cpp</a>
105
+</li>
106
+<li>getMovieName()
107
+: <a class="el" href="movie_8cpp.html#aa89f412c80723cef362fdb6ac54c3a46">movie.cpp</a>
108
+, <a class="el" href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">movie.h</a>
109
+</li>
110
+<li>getMovieRating()
111
+: <a class="el" href="movie_8cpp.html#a4d7282011b6c01bf329c55be741e491b">movie.cpp</a>
112
+, <a class="el" href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">movie.h</a>
113
+</li>
114
+<li>getMovieStudio()
115
+: <a class="el" href="movie_8cpp.html#a2c66ce60f7a568afd7a8c2394700e3b1">movie.cpp</a>
116
+, <a class="el" href="movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20">movie.h</a>
117
+</li>
118
+<li>getMovieYear()
119
+: <a class="el" href="movie_8cpp.html#a658aabb68db11d7b29c54c777bd68207">movie.cpp</a>
120
+, <a class="el" href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">movie.h</a>
121
+</li>
122
+<li>showMovie()
123
+: <a class="el" href="movie_8cpp.html#ad7046e791da7846c172e7277aaf94d14">movie.cpp</a>
124
+, <a class="el" href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">movie.h</a>
125
+</li>
126
+<li>showMovieInLine()
127
+: <a class="el" href="movie_8cpp.html#ae2bfae6f7267aa64eaa2b9a1900879e3">movie.cpp</a>
128
+, <a class="el" href="movie_8h.html#abee243a60adc5d86608a02572cc98e5e">movie.h</a>
129
+</li>
130
+<li>showMovies()
131
+: <a class="el" href="movie_8cpp.html#a1ac8811db306ce6205ddc638ce02963e">movie.cpp</a>
132
+, <a class="el" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">movie.h</a>
133
+</li>
134
+<li>showMoviesInLine()
135
+: <a class="el" href="movie_8cpp.html#ac3694a5a7bee33f0085a41fd784a366b">movie.cpp</a>
136
+, <a class="el" href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">movie.h</a>
137
+</li>
138
+</ul>
139
+</div><!-- contents -->
140
+<!-- start footer part -->
141
+<hr class="footer"/><address class="footer"><small>
142
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
143
+<img class="footer" src="doxygen.png" alt="doxygen"/>
144
+</a> 1.8.9.1
145
+</small></address>
146
+</body>
147
+</html>

+ 147
- 0
doc/en/html/globals_func.html 查看文件

@@ -0,0 +1,147 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: File Members</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li class="current"><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+  <div id="navrow3" class="tabs2">
68
+    <ul class="tablist">
69
+      <li><a href="globals.html"><span>All</span></a></li>
70
+      <li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
71
+    </ul>
72
+  </div>
73
+</div><!-- top -->
74
+<!-- window showing the filter options -->
75
+<div id="MSearchSelectWindow"
76
+     onmouseover="return searchBox.OnSearchSelectShow()"
77
+     onmouseout="return searchBox.OnSearchSelectHide()"
78
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
79
+</div>
80
+
81
+<!-- iframe showing the search results (closed by default) -->
82
+<div id="MSearchResultsWindow">
83
+<iframe src="javascript:void(0)" frameborder="0" 
84
+        name="MSearchResults" id="MSearchResults">
85
+</iframe>
86
+</div>
87
+
88
+<div class="contents">
89
+&#160;<ul>
90
+<li>getMovieByName()
91
+: <a class="el" href="movie_8cpp.html#a14872b961b612dd2ed0e848e205432ab">movie.cpp</a>
92
+, <a class="el" href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">movie.h</a>
93
+</li>
94
+<li>getMovieByPosition()
95
+: <a class="el" href="movie_8cpp.html#a5cd9879ec2e8c19fb7bea1b7eff92306">movie.cpp</a>
96
+, <a class="el" href="movie_8h.html#aebd1da153f25f87661ac630b47737097">movie.h</a>
97
+</li>
98
+<li>getMovieGenre()
99
+: <a class="el" href="movie_8cpp.html#a587b63fb2f1c6ff6aa0bbfd12ebbdb46">movie.cpp</a>
100
+, <a class="el" href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">movie.h</a>
101
+</li>
102
+<li>getMovieInfo()
103
+: <a class="el" href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">movie.h</a>
104
+, <a class="el" href="movie_8cpp.html#a9057c8190a50e3b94cb358ee7f9f7efb">movie.cpp</a>
105
+</li>
106
+<li>getMovieName()
107
+: <a class="el" href="movie_8cpp.html#aa89f412c80723cef362fdb6ac54c3a46">movie.cpp</a>
108
+, <a class="el" href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">movie.h</a>
109
+</li>
110
+<li>getMovieRating()
111
+: <a class="el" href="movie_8cpp.html#a4d7282011b6c01bf329c55be741e491b">movie.cpp</a>
112
+, <a class="el" href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">movie.h</a>
113
+</li>
114
+<li>getMovieStudio()
115
+: <a class="el" href="movie_8cpp.html#a2c66ce60f7a568afd7a8c2394700e3b1">movie.cpp</a>
116
+, <a class="el" href="movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20">movie.h</a>
117
+</li>
118
+<li>getMovieYear()
119
+: <a class="el" href="movie_8cpp.html#a658aabb68db11d7b29c54c777bd68207">movie.cpp</a>
120
+, <a class="el" href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">movie.h</a>
121
+</li>
122
+<li>showMovie()
123
+: <a class="el" href="movie_8cpp.html#ad7046e791da7846c172e7277aaf94d14">movie.cpp</a>
124
+, <a class="el" href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">movie.h</a>
125
+</li>
126
+<li>showMovieInLine()
127
+: <a class="el" href="movie_8cpp.html#ae2bfae6f7267aa64eaa2b9a1900879e3">movie.cpp</a>
128
+, <a class="el" href="movie_8h.html#abee243a60adc5d86608a02572cc98e5e">movie.h</a>
129
+</li>
130
+<li>showMovies()
131
+: <a class="el" href="movie_8cpp.html#a1ac8811db306ce6205ddc638ce02963e">movie.cpp</a>
132
+, <a class="el" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">movie.h</a>
133
+</li>
134
+<li>showMoviesInLine()
135
+: <a class="el" href="movie_8cpp.html#ac3694a5a7bee33f0085a41fd784a366b">movie.cpp</a>
136
+, <a class="el" href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">movie.h</a>
137
+</li>
138
+</ul>
139
+</div><!-- contents -->
140
+<!-- start footer part -->
141
+<hr class="footer"/><address class="footer"><small>
142
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
143
+<img class="footer" src="doxygen.png" alt="doxygen"/>
144
+</a> 1.8.9.1
145
+</small></address>
146
+</body>
147
+</html>

+ 89
- 0
doc/en/html/index.html 查看文件

@@ -0,0 +1,89 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Main Page</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+</div><!-- top -->
62
+<!-- window showing the filter options -->
63
+<div id="MSearchSelectWindow"
64
+     onmouseover="return searchBox.OnSearchSelectShow()"
65
+     onmouseout="return searchBox.OnSearchSelectHide()"
66
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
67
+</div>
68
+
69
+<!-- iframe showing the search results (closed by default) -->
70
+<div id="MSearchResultsWindow">
71
+<iframe src="javascript:void(0)" frameborder="0" 
72
+        name="MSearchResults" id="MSearchResults">
73
+</iframe>
74
+</div>
75
+
76
+<div class="header">
77
+  <div class="headertitle">
78
+<div class="title">My Project Documentation</div>  </div>
79
+</div><!--header-->
80
+<div class="contents">
81
+</div><!-- contents -->
82
+<!-- start footer part -->
83
+<hr class="footer"/><address class="footer"><small>
84
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
85
+<img class="footer" src="doxygen.png" alt="doxygen"/>
86
+</a> 1.8.9.1
87
+</small></address>
88
+</body>
89
+</html>

+ 68
- 0
doc/en/html/jquery.js
文件差異過大導致無法顯示
查看文件


+ 619
- 0
doc/en/html/movie_8cpp.html 查看文件

@@ -0,0 +1,619 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: movie.cpp File Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+</div><!-- top -->
82
+<div class="header">
83
+  <div class="summary">
84
+<a href="#func-members">Functions</a>  </div>
85
+  <div class="headertitle">
86
+<div class="title">movie.cpp File Reference</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock"><code>#include &quot;<a class="el" href="movie_8h_source.html">movie.h</a>&quot;</code><br />
90
+</div><table class="memberdecls">
91
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
92
+Functions</h2></td></tr>
93
+<tr class="memitem:a5cd9879ec2e8c19fb7bea1b7eff92306"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a5cd9879ec2e8c19fb7bea1b7eff92306">getMovieByPosition</a> (int position, <a class="el" href="classfilemanip.html">filemanip</a> &amp;file)</td></tr>
94
+<tr class="memdesc:a5cd9879ec2e8c19fb7bea1b7eff92306"><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="#a5cd9879ec2e8c19fb7bea1b7eff92306">More...</a><br /></td></tr>
95
+<tr class="separator:a5cd9879ec2e8c19fb7bea1b7eff92306"><td class="memSeparator" colspan="2">&#160;</td></tr>
96
+<tr class="memitem:a14872b961b612dd2ed0e848e205432ab"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a14872b961b612dd2ed0e848e205432ab">getMovieByName</a> (string moviename, <a class="el" href="classfilemanip.html">filemanip</a> &amp;file)</td></tr>
97
+<tr class="memdesc:a14872b961b612dd2ed0e848e205432ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the information of a movie given its name.  <a href="#a14872b961b612dd2ed0e848e205432ab">More...</a><br /></td></tr>
98
+<tr class="separator:a14872b961b612dd2ed0e848e205432ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
99
+<tr class="memitem:ad7046e791da7846c172e7277aaf94d14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#ad7046e791da7846c172e7277aaf94d14">showMovie</a> (string movieinfo)</td></tr>
100
+<tr class="memdesc:ad7046e791da7846c172e7277aaf94d14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|.  <a href="#ad7046e791da7846c172e7277aaf94d14">More...</a><br /></td></tr>
101
+<tr class="separator:ad7046e791da7846c172e7277aaf94d14"><td class="memSeparator" colspan="2">&#160;</td></tr>
102
+<tr class="memitem:a1ac8811db306ce6205ddc638ce02963e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a1ac8811db306ce6205ddc638ce02963e">showMovies</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;file, int start, int end)</td></tr>
103
+<tr class="memdesc:a1ac8811db306ce6205ddc638ce02963e"><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="#a1ac8811db306ce6205ddc638ce02963e">More...</a><br /></td></tr>
104
+<tr class="separator:a1ac8811db306ce6205ddc638ce02963e"><td class="memSeparator" colspan="2">&#160;</td></tr>
105
+<tr class="memitem:a2200ec80d18eede5241b99afcffb509a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a2200ec80d18eede5241b99afcffb509a">showMovies</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;file, string keyword)</td></tr>
106
+<tr class="memdesc:a2200ec80d18eede5241b99afcffb509a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the information of the movies whose name contains a given keyword.  <a href="#a2200ec80d18eede5241b99afcffb509a">More...</a><br /></td></tr>
107
+<tr class="separator:a2200ec80d18eede5241b99afcffb509a"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+<tr class="memitem:aa89f412c80723cef362fdb6ac54c3a46"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#aa89f412c80723cef362fdb6ac54c3a46">getMovieName</a> (string movieinfo)</td></tr>
109
+<tr class="memdesc:aa89f412c80723cef362fdb6ac54c3a46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie name.  <a href="#aa89f412c80723cef362fdb6ac54c3a46">More...</a><br /></td></tr>
110
+<tr class="separator:aa89f412c80723cef362fdb6ac54c3a46"><td class="memSeparator" colspan="2">&#160;</td></tr>
111
+<tr class="memitem:a4d7282011b6c01bf329c55be741e491b"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a4d7282011b6c01bf329c55be741e491b">getMovieRating</a> (string movieinfo)</td></tr>
112
+<tr class="memdesc:a4d7282011b6c01bf329c55be741e491b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie rating.  <a href="#a4d7282011b6c01bf329c55be741e491b">More...</a><br /></td></tr>
113
+<tr class="separator:a4d7282011b6c01bf329c55be741e491b"><td class="memSeparator" colspan="2">&#160;</td></tr>
114
+<tr class="memitem:a658aabb68db11d7b29c54c777bd68207"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a658aabb68db11d7b29c54c777bd68207">getMovieYear</a> (string movieinfo)</td></tr>
115
+<tr class="memdesc:a658aabb68db11d7b29c54c777bd68207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie release year.  <a href="#a658aabb68db11d7b29c54c777bd68207">More...</a><br /></td></tr>
116
+<tr class="separator:a658aabb68db11d7b29c54c777bd68207"><td class="memSeparator" colspan="2">&#160;</td></tr>
117
+<tr class="memitem:a587b63fb2f1c6ff6aa0bbfd12ebbdb46"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a587b63fb2f1c6ff6aa0bbfd12ebbdb46">getMovieGenre</a> (string movieinfo)</td></tr>
118
+<tr class="memdesc:a587b63fb2f1c6ff6aa0bbfd12ebbdb46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie genre.  <a href="#a587b63fb2f1c6ff6aa0bbfd12ebbdb46">More...</a><br /></td></tr>
119
+<tr class="separator:a587b63fb2f1c6ff6aa0bbfd12ebbdb46"><td class="memSeparator" colspan="2">&#160;</td></tr>
120
+<tr class="memitem:a9057c8190a50e3b94cb358ee7f9f7efb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a9057c8190a50e3b94cb358ee7f9f7efb">getMovieInfo</a> (string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre)</td></tr>
121
+<tr class="memdesc:a9057c8190a50e3b94cb358ee7f9f7efb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns by reference the movie name, rating, year, and genre.  <a href="#a9057c8190a50e3b94cb358ee7f9f7efb">More...</a><br /></td></tr>
122
+<tr class="separator:a9057c8190a50e3b94cb358ee7f9f7efb"><td class="memSeparator" colspan="2">&#160;</td></tr>
123
+<tr class="memitem:a2c66ce60f7a568afd7a8c2394700e3b1"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a2c66ce60f7a568afd7a8c2394700e3b1">getMovieStudio</a> (string movieinfo)</td></tr>
124
+<tr class="memdesc:a2c66ce60f7a568afd7a8c2394700e3b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1)  <a href="#a2c66ce60f7a568afd7a8c2394700e3b1">More...</a><br /></td></tr>
125
+<tr class="separator:a2c66ce60f7a568afd7a8c2394700e3b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
126
+<tr class="memitem:a724308b84548b6b3f247022f07720dc5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#a724308b84548b6b3f247022f07720dc5">getMovieInfo</a> (string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre, string &amp;studio)</td></tr>
127
+<tr class="memdesc:a724308b84548b6b3f247022f07720dc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2)  <a href="#a724308b84548b6b3f247022f07720dc5">More...</a><br /></td></tr>
128
+<tr class="separator:a724308b84548b6b3f247022f07720dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
129
+<tr class="memitem:ae2bfae6f7267aa64eaa2b9a1900879e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#ae2bfae6f7267aa64eaa2b9a1900879e3">showMovieInLine</a> (string movieinfo)</td></tr>
130
+<tr class="memdesc:ae2bfae6f7267aa64eaa2b9a1900879e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the movie information of a | separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3)  <a href="#ae2bfae6f7267aa64eaa2b9a1900879e3">More...</a><br /></td></tr>
131
+<tr class="separator:ae2bfae6f7267aa64eaa2b9a1900879e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
132
+<tr class="memitem:ac3694a5a7bee33f0085a41fd784a366b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8cpp.html#ac3694a5a7bee33f0085a41fd784a366b">showMoviesInLine</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;file, int start, int end)</td></tr>
133
+<tr class="memdesc:ac3694a5a7bee33f0085a41fd784a366b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4)  <a href="#ac3694a5a7bee33f0085a41fd784a366b">More...</a><br /></td></tr>
134
+<tr class="separator:ac3694a5a7bee33f0085a41fd784a366b"><td class="memSeparator" colspan="2">&#160;</td></tr>
135
+</table>
136
+<h2 class="groupheader">Function Documentation</h2>
137
+<a class="anchor" id="a14872b961b612dd2ed0e848e205432ab"></a>
138
+<div class="memitem">
139
+<div class="memproto">
140
+      <table class="memname">
141
+        <tr>
142
+          <td class="memname">string getMovieByName </td>
143
+          <td>(</td>
144
+          <td class="paramtype">string&#160;</td>
145
+          <td class="paramname"><em>moviename</em>, </td>
146
+        </tr>
147
+        <tr>
148
+          <td class="paramkey"></td>
149
+          <td></td>
150
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
151
+          <td class="paramname"><em>file</em>&#160;</td>
152
+        </tr>
153
+        <tr>
154
+          <td></td>
155
+          <td>)</td>
156
+          <td></td><td></td>
157
+        </tr>
158
+      </table>
159
+</div><div class="memdoc">
160
+
161
+<p>Finds the information of a movie given its name. </p>
162
+<dl class="params"><dt>Parameters</dt><dd>
163
+  <table class="params">
164
+    <tr><td class="paramname">moviename</td><td>The name of the movie </td></tr>
165
+    <tr><td class="paramname">file</td><td>A file pointer </td></tr>
166
+  </table>
167
+  </dd>
168
+</dl>
169
+<dl class="section return"><dt>Returns</dt><dd>One line with the information of the movie separated by | (pipes) </dd></dl>
170
+
171
+</div>
172
+</div>
173
+<a class="anchor" id="a5cd9879ec2e8c19fb7bea1b7eff92306"></a>
174
+<div class="memitem">
175
+<div class="memproto">
176
+      <table class="memname">
177
+        <tr>
178
+          <td class="memname">string getMovieByPosition </td>
179
+          <td>(</td>
180
+          <td class="paramtype">int&#160;</td>
181
+          <td class="paramname"><em>position</em>, </td>
182
+        </tr>
183
+        <tr>
184
+          <td class="paramkey"></td>
185
+          <td></td>
186
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
187
+          <td class="paramname"><em>file</em>&#160;</td>
188
+        </tr>
189
+        <tr>
190
+          <td></td>
191
+          <td>)</td>
192
+          <td></td><td></td>
193
+        </tr>
194
+      </table>
195
+</div><div class="memdoc">
196
+
197
+<p>Finds a movie in position position of a file and returns the name of the movie. </p>
198
+<dl class="params"><dt>Parameters</dt><dd>
199
+  <table class="params">
200
+    <tr><td class="paramname">position</td><td>Position of the movie in the file </td></tr>
201
+    <tr><td class="paramname">file</td><td>A file pointer </td></tr>
202
+  </table>
203
+  </dd>
204
+</dl>
205
+<dl class="section return"><dt>Returns</dt><dd>The name of the movie </dd></dl>
206
+
207
+</div>
208
+</div>
209
+<a class="anchor" id="a587b63fb2f1c6ff6aa0bbfd12ebbdb46"></a>
210
+<div class="memitem">
211
+<div class="memproto">
212
+      <table class="memname">
213
+        <tr>
214
+          <td class="memname">string getMovieGenre </td>
215
+          <td>(</td>
216
+          <td class="paramtype">string&#160;</td>
217
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
218
+          <td></td>
219
+        </tr>
220
+      </table>
221
+</div><div class="memdoc">
222
+
223
+<p>Given a movie line from the file returns the movie genre. </p>
224
+<dl class="params"><dt>Parameters</dt><dd>
225
+  <table class="params">
226
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
227
+  </table>
228
+  </dd>
229
+</dl>
230
+<dl class="section return"><dt>Returns</dt><dd>The movie genre. </dd></dl>
231
+
232
+</div>
233
+</div>
234
+<a class="anchor" id="a9057c8190a50e3b94cb358ee7f9f7efb"></a>
235
+<div class="memitem">
236
+<div class="memproto">
237
+      <table class="memname">
238
+        <tr>
239
+          <td class="memname">void getMovieInfo </td>
240
+          <td>(</td>
241
+          <td class="paramtype">string&#160;</td>
242
+          <td class="paramname"><em>movieinfo</em>, </td>
243
+        </tr>
244
+        <tr>
245
+          <td class="paramkey"></td>
246
+          <td></td>
247
+          <td class="paramtype">string &amp;&#160;</td>
248
+          <td class="paramname"><em>name</em>, </td>
249
+        </tr>
250
+        <tr>
251
+          <td class="paramkey"></td>
252
+          <td></td>
253
+          <td class="paramtype">string &amp;&#160;</td>
254
+          <td class="paramname"><em>rating</em>, </td>
255
+        </tr>
256
+        <tr>
257
+          <td class="paramkey"></td>
258
+          <td></td>
259
+          <td class="paramtype">string &amp;&#160;</td>
260
+          <td class="paramname"><em>year</em>, </td>
261
+        </tr>
262
+        <tr>
263
+          <td class="paramkey"></td>
264
+          <td></td>
265
+          <td class="paramtype">string &amp;&#160;</td>
266
+          <td class="paramname"><em>genre</em>&#160;</td>
267
+        </tr>
268
+        <tr>
269
+          <td></td>
270
+          <td>)</td>
271
+          <td></td><td></td>
272
+        </tr>
273
+      </table>
274
+</div><div class="memdoc">
275
+
276
+<p>Given a movie line from the file returns by reference the movie name, rating, year, and genre. </p>
277
+<dl class="params"><dt>Parameters</dt><dd>
278
+  <table class="params">
279
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
280
+  </table>
281
+  </dd>
282
+</dl>
283
+
284
+</div>
285
+</div>
286
+<a class="anchor" id="a724308b84548b6b3f247022f07720dc5"></a>
287
+<div class="memitem">
288
+<div class="memproto">
289
+      <table class="memname">
290
+        <tr>
291
+          <td class="memname">void getMovieInfo </td>
292
+          <td>(</td>
293
+          <td class="paramtype">string&#160;</td>
294
+          <td class="paramname"><em>movieinfo</em>, </td>
295
+        </tr>
296
+        <tr>
297
+          <td class="paramkey"></td>
298
+          <td></td>
299
+          <td class="paramtype">string &amp;&#160;</td>
300
+          <td class="paramname"><em>name</em>, </td>
301
+        </tr>
302
+        <tr>
303
+          <td class="paramkey"></td>
304
+          <td></td>
305
+          <td class="paramtype">string &amp;&#160;</td>
306
+          <td class="paramname"><em>rating</em>, </td>
307
+        </tr>
308
+        <tr>
309
+          <td class="paramkey"></td>
310
+          <td></td>
311
+          <td class="paramtype">string &amp;&#160;</td>
312
+          <td class="paramname"><em>year</em>, </td>
313
+        </tr>
314
+        <tr>
315
+          <td class="paramkey"></td>
316
+          <td></td>
317
+          <td class="paramtype">string &amp;&#160;</td>
318
+          <td class="paramname"><em>genre</em>, </td>
319
+        </tr>
320
+        <tr>
321
+          <td class="paramkey"></td>
322
+          <td></td>
323
+          <td class="paramtype">string &amp;&#160;</td>
324
+          <td class="paramname"><em>studio</em>&#160;</td>
325
+        </tr>
326
+        <tr>
327
+          <td></td>
328
+          <td>)</td>
329
+          <td></td><td></td>
330
+        </tr>
331
+      </table>
332
+</div><div class="memdoc">
333
+
334
+<p>Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) </p>
335
+<dl class="params"><dt>Parameters</dt><dd>
336
+  <table class="params">
337
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
338
+  </table>
339
+  </dd>
340
+</dl>
341
+
342
+</div>
343
+</div>
344
+<a class="anchor" id="aa89f412c80723cef362fdb6ac54c3a46"></a>
345
+<div class="memitem">
346
+<div class="memproto">
347
+      <table class="memname">
348
+        <tr>
349
+          <td class="memname">string getMovieName </td>
350
+          <td>(</td>
351
+          <td class="paramtype">string&#160;</td>
352
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
353
+          <td></td>
354
+        </tr>
355
+      </table>
356
+</div><div class="memdoc">
357
+
358
+<p>Given a movie line from the file returns the movie name. </p>
359
+<dl class="params"><dt>Parameters</dt><dd>
360
+  <table class="params">
361
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
362
+  </table>
363
+  </dd>
364
+</dl>
365
+<dl class="section return"><dt>Returns</dt><dd>Movie name </dd></dl>
366
+
367
+</div>
368
+</div>
369
+<a class="anchor" id="a4d7282011b6c01bf329c55be741e491b"></a>
370
+<div class="memitem">
371
+<div class="memproto">
372
+      <table class="memname">
373
+        <tr>
374
+          <td class="memname">string getMovieRating </td>
375
+          <td>(</td>
376
+          <td class="paramtype">string&#160;</td>
377
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
378
+          <td></td>
379
+        </tr>
380
+      </table>
381
+</div><div class="memdoc">
382
+
383
+<p>Given a movie line from the file returns the movie rating. </p>
384
+<dl class="params"><dt>Parameters</dt><dd>
385
+  <table class="params">
386
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
387
+  </table>
388
+  </dd>
389
+</dl>
390
+<dl class="section return"><dt>Returns</dt><dd>The movie rating </dd></dl>
391
+
392
+</div>
393
+</div>
394
+<a class="anchor" id="a2c66ce60f7a568afd7a8c2394700e3b1"></a>
395
+<div class="memitem">
396
+<div class="memproto">
397
+      <table class="memname">
398
+        <tr>
399
+          <td class="memname">string getMovieStudio </td>
400
+          <td>(</td>
401
+          <td class="paramtype">string&#160;</td>
402
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
403
+          <td></td>
404
+        </tr>
405
+      </table>
406
+</div><div class="memdoc">
407
+
408
+<p>Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) </p>
409
+<dl class="params"><dt>Parameters</dt><dd>
410
+  <table class="params">
411
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
412
+  </table>
413
+  </dd>
414
+</dl>
415
+<dl class="section return"><dt>Returns</dt><dd>The movie studio. </dd></dl>
416
+
417
+</div>
418
+</div>
419
+<a class="anchor" id="a658aabb68db11d7b29c54c777bd68207"></a>
420
+<div class="memitem">
421
+<div class="memproto">
422
+      <table class="memname">
423
+        <tr>
424
+          <td class="memname">string getMovieYear </td>
425
+          <td>(</td>
426
+          <td class="paramtype">string&#160;</td>
427
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
428
+          <td></td>
429
+        </tr>
430
+      </table>
431
+</div><div class="memdoc">
432
+
433
+<p>Given a movie line from the file returns the movie release year. </p>
434
+<dl class="params"><dt>Parameters</dt><dd>
435
+  <table class="params">
436
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
437
+  </table>
438
+  </dd>
439
+</dl>
440
+<dl class="section return"><dt>Returns</dt><dd>The movie release year. </dd></dl>
441
+
442
+</div>
443
+</div>
444
+<a class="anchor" id="ad7046e791da7846c172e7277aaf94d14"></a>
445
+<div class="memitem">
446
+<div class="memproto">
447
+      <table class="memname">
448
+        <tr>
449
+          <td class="memname">void showMovie </td>
450
+          <td>(</td>
451
+          <td class="paramtype">string&#160;</td>
452
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
453
+          <td></td>
454
+        </tr>
455
+      </table>
456
+</div><div class="memdoc">
457
+
458
+<p>Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|. </p>
459
+<dl class="params"><dt>Parameters</dt><dd>
460
+  <table class="params">
461
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
462
+  </table>
463
+  </dd>
464
+</dl>
465
+
466
+</div>
467
+</div>
468
+<a class="anchor" id="ae2bfae6f7267aa64eaa2b9a1900879e3"></a>
469
+<div class="memitem">
470
+<div class="memproto">
471
+      <table class="memname">
472
+        <tr>
473
+          <td class="memname">void showMovieInLine </td>
474
+          <td>(</td>
475
+          <td class="paramtype">string&#160;</td>
476
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
477
+          <td></td>
478
+        </tr>
479
+      </table>
480
+</div><div class="memdoc">
481
+
482
+<p>Display the movie information of a | separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) </p>
483
+<dl class="params"><dt>Parameters</dt><dd>
484
+  <table class="params">
485
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
486
+  </table>
487
+  </dd>
488
+</dl>
489
+
490
+</div>
491
+</div>
492
+<a class="anchor" id="a1ac8811db306ce6205ddc638ce02963e"></a>
493
+<div class="memitem">
494
+<div class="memproto">
495
+      <table class="memname">
496
+        <tr>
497
+          <td class="memname">void showMovies </td>
498
+          <td>(</td>
499
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
500
+          <td class="paramname"><em>file</em>, </td>
501
+        </tr>
502
+        <tr>
503
+          <td class="paramkey"></td>
504
+          <td></td>
505
+          <td class="paramtype">int&#160;</td>
506
+          <td class="paramname"><em>start</em>, </td>
507
+        </tr>
508
+        <tr>
509
+          <td class="paramkey"></td>
510
+          <td></td>
511
+          <td class="paramtype">int&#160;</td>
512
+          <td class="paramname"><em>end</em>&#160;</td>
513
+        </tr>
514
+        <tr>
515
+          <td></td>
516
+          <td>)</td>
517
+          <td></td><td></td>
518
+        </tr>
519
+      </table>
520
+</div><div class="memdoc">
521
+
522
+<p>Display the information of the movies in a file from line start to line end. </p>
523
+<dl class="params"><dt>Parameters</dt><dd>
524
+  <table class="params">
525
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
526
+    <tr><td class="paramname">start</td><td>Line in the file to start showing movie info. </td></tr>
527
+    <tr><td class="paramname">end</td><td>Line in the file to stop showing movie information. </td></tr>
528
+  </table>
529
+  </dd>
530
+</dl>
531
+
532
+</div>
533
+</div>
534
+<a class="anchor" id="a2200ec80d18eede5241b99afcffb509a"></a>
535
+<div class="memitem">
536
+<div class="memproto">
537
+      <table class="memname">
538
+        <tr>
539
+          <td class="memname">void showMovies </td>
540
+          <td>(</td>
541
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
542
+          <td class="paramname"><em>file</em>, </td>
543
+        </tr>
544
+        <tr>
545
+          <td class="paramkey"></td>
546
+          <td></td>
547
+          <td class="paramtype">string&#160;</td>
548
+          <td class="paramname"><em>keyword</em>&#160;</td>
549
+        </tr>
550
+        <tr>
551
+          <td></td>
552
+          <td>)</td>
553
+          <td></td><td></td>
554
+        </tr>
555
+      </table>
556
+</div><div class="memdoc">
557
+
558
+<p>Display the information of the movies whose name contains a given keyword. </p>
559
+<dl class="params"><dt>Parameters</dt><dd>
560
+  <table class="params">
561
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
562
+    <tr><td class="paramname">keyword</td><td>Keyword to search in the name of the movies. </td></tr>
563
+  </table>
564
+  </dd>
565
+</dl>
566
+
567
+</div>
568
+</div>
569
+<a class="anchor" id="ac3694a5a7bee33f0085a41fd784a366b"></a>
570
+<div class="memitem">
571
+<div class="memproto">
572
+      <table class="memname">
573
+        <tr>
574
+          <td class="memname">void showMoviesInLine </td>
575
+          <td>(</td>
576
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
577
+          <td class="paramname"><em>file</em>, </td>
578
+        </tr>
579
+        <tr>
580
+          <td class="paramkey"></td>
581
+          <td></td>
582
+          <td class="paramtype">int&#160;</td>
583
+          <td class="paramname"><em>start</em>, </td>
584
+        </tr>
585
+        <tr>
586
+          <td class="paramkey"></td>
587
+          <td></td>
588
+          <td class="paramtype">int&#160;</td>
589
+          <td class="paramname"><em>end</em>&#160;</td>
590
+        </tr>
591
+        <tr>
592
+          <td></td>
593
+          <td>)</td>
594
+          <td></td><td></td>
595
+        </tr>
596
+      </table>
597
+</div><div class="memdoc">
598
+
599
+<p>Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) </p>
600
+<dl class="params"><dt>Parameters</dt><dd>
601
+  <table class="params">
602
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
603
+    <tr><td class="paramname">start</td><td>Line in the file to start showing movie info. </td></tr>
604
+    <tr><td class="paramname">end</td><td>Line in the file to stop showing movie information. </td></tr>
605
+  </table>
606
+  </dd>
607
+</dl>
608
+
609
+</div>
610
+</div>
611
+</div><!-- contents -->
612
+<!-- start footer part -->
613
+<hr class="footer"/><address class="footer"><small>
614
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
615
+<img class="footer" src="doxygen.png" alt="doxygen"/>
616
+</a> 1.8.9.1
617
+</small></address>
618
+</body>
619
+</html>

+ 626
- 0
doc/en/html/movie_8h.html 查看文件

@@ -0,0 +1,626 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: movie.h File Reference</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+<!-- window showing the filter options -->
68
+<div id="MSearchSelectWindow"
69
+     onmouseover="return searchBox.OnSearchSelectShow()"
70
+     onmouseout="return searchBox.OnSearchSelectHide()"
71
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
72
+</div>
73
+
74
+<!-- iframe showing the search results (closed by default) -->
75
+<div id="MSearchResultsWindow">
76
+<iframe src="javascript:void(0)" frameborder="0" 
77
+        name="MSearchResults" id="MSearchResults">
78
+</iframe>
79
+</div>
80
+
81
+</div><!-- top -->
82
+<div class="header">
83
+  <div class="summary">
84
+<a href="#func-members">Functions</a>  </div>
85
+  <div class="headertitle">
86
+<div class="title">movie.h File Reference</div>  </div>
87
+</div><!--header-->
88
+<div class="contents">
89
+<div class="textblock"><code>#include &lt;string&gt;</code><br />
90
+<code>#include &lt;QDebug&gt;</code><br />
91
+<code>#include &quot;filemanip.h&quot;</code><br />
92
+<code>#include &lt;QString&gt;</code><br />
93
+<code>#include &lt;QStringList&gt;</code><br />
94
+<code>#include &lt;iostream&gt;</code><br />
95
+</div>
96
+<p><a href="movie_8h_source.html">Go to the source code of this file.</a></p>
97
+<table class="memberdecls">
98
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
99
+Functions</h2></td></tr>
100
+<tr class="memitem:aa2ca3be9f1d904e9f177faa425745236"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#aa2ca3be9f1d904e9f177faa425745236">getMovieByName</a> (string, <a class="el" href="classfilemanip.html">filemanip</a> &amp;)</td></tr>
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
+<tr class="separator:aa2ca3be9f1d904e9f177faa425745236"><td class="memSeparator" colspan="2">&#160;</td></tr>
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">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
+<tr class="separator:aebd1da153f25f87661ac630b47737097"><td class="memSeparator" colspan="2">&#160;</td></tr>
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
+<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>
108
+<tr class="separator:a39efa4469877528f52e365bba5d35c30"><td class="memSeparator" colspan="2">&#160;</td></tr>
109
+<tr class="memitem:a65da80af0fbc68d3cb7de763d2c944ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a65da80af0fbc68d3cb7de763d2c944ea">showMovies</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;, string)</td></tr>
110
+<tr class="memdesc:a65da80af0fbc68d3cb7de763d2c944ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the information of the movies whose name contains a given keyword.  <a href="#a65da80af0fbc68d3cb7de763d2c944ea">More...</a><br /></td></tr>
111
+<tr class="separator:a65da80af0fbc68d3cb7de763d2c944ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
112
+<tr class="memitem:af71e2fccff041af5f808e210a9cbb06f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a> (string)</td></tr>
113
+<tr class="memdesc:af71e2fccff041af5f808e210a9cbb06f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|.  <a href="#af71e2fccff041af5f808e210a9cbb06f">More...</a><br /></td></tr>
114
+<tr class="separator:af71e2fccff041af5f808e210a9cbb06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
115
+<tr class="memitem:a5b13bb4e2035100dcf27abad21a2e862"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a> (string)</td></tr>
116
+<tr class="memdesc:a5b13bb4e2035100dcf27abad21a2e862"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie name.  <a href="#a5b13bb4e2035100dcf27abad21a2e862">More...</a><br /></td></tr>
117
+<tr class="separator:a5b13bb4e2035100dcf27abad21a2e862"><td class="memSeparator" colspan="2">&#160;</td></tr>
118
+<tr class="memitem:af50291017de186a0a663e8418d65b7ef"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a> (string)</td></tr>
119
+<tr class="memdesc:af50291017de186a0a663e8418d65b7ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie rating.  <a href="#af50291017de186a0a663e8418d65b7ef">More...</a><br /></td></tr>
120
+<tr class="separator:af50291017de186a0a663e8418d65b7ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
121
+<tr class="memitem:ad378998f3ab769b47a1bbc4672496f45"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a> (string)</td></tr>
122
+<tr class="memdesc:ad378998f3ab769b47a1bbc4672496f45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie release year.  <a href="#ad378998f3ab769b47a1bbc4672496f45">More...</a><br /></td></tr>
123
+<tr class="separator:ad378998f3ab769b47a1bbc4672496f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+<tr class="memitem:aaa2e1332e82b931cf45663e755cc2302"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a> (string)</td></tr>
125
+<tr class="memdesc:aaa2e1332e82b931cf45663e755cc2302"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie genre.  <a href="#aaa2e1332e82b931cf45663e755cc2302">More...</a><br /></td></tr>
126
+<tr class="separator:aaa2e1332e82b931cf45663e755cc2302"><td class="memSeparator" colspan="2">&#160;</td></tr>
127
+<tr class="memitem:ac0080d980b2f73f9eaa089f8eddeba60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60">getMovieInfo</a> (string, string &amp;, string &amp;, string &amp;, string &amp;)</td></tr>
128
+<tr class="memdesc:ac0080d980b2f73f9eaa089f8eddeba60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns by reference the movie name, rating, year, and genre.  <a href="#ac0080d980b2f73f9eaa089f8eddeba60">More...</a><br /></td></tr>
129
+<tr class="separator:ac0080d980b2f73f9eaa089f8eddeba60"><td class="memSeparator" colspan="2">&#160;</td></tr>
130
+<tr class="memitem:af2c27f6eccc9bc99e5b3fb5a543e3d20"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20">getMovieStudio</a> (string)</td></tr>
131
+<tr class="memdesc:af2c27f6eccc9bc99e5b3fb5a543e3d20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1)  <a href="#af2c27f6eccc9bc99e5b3fb5a543e3d20">More...</a><br /></td></tr>
132
+<tr class="separator:af2c27f6eccc9bc99e5b3fb5a543e3d20"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
+<tr class="memitem:a41d3c7f88313d320640b5fbca273b757"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a41d3c7f88313d320640b5fbca273b757">getMovieInfo</a> (string, string &amp;, string &amp;, string &amp;, string &amp;, string &amp;)</td></tr>
134
+<tr class="memdesc:a41d3c7f88313d320640b5fbca273b757"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2)  <a href="#a41d3c7f88313d320640b5fbca273b757">More...</a><br /></td></tr>
135
+<tr class="separator:a41d3c7f88313d320640b5fbca273b757"><td class="memSeparator" colspan="2">&#160;</td></tr>
136
+<tr class="memitem:abee243a60adc5d86608a02572cc98e5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#abee243a60adc5d86608a02572cc98e5e">showMovieInLine</a> (string)</td></tr>
137
+<tr class="memdesc:abee243a60adc5d86608a02572cc98e5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the movie information of a | separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3)  <a href="#abee243a60adc5d86608a02572cc98e5e">More...</a><br /></td></tr>
138
+<tr class="separator:abee243a60adc5d86608a02572cc98e5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
139
+<tr class="memitem:a88d10eeb7ba4c05fde974ef8602af4fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">showMoviesInLine</a> (<a class="el" href="classfilemanip.html">filemanip</a> &amp;, int=1, int=10)</td></tr>
140
+<tr class="memdesc:a88d10eeb7ba4c05fde974ef8602af4fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4)  <a href="#a88d10eeb7ba4c05fde974ef8602af4fe">More...</a><br /></td></tr>
141
+<tr class="separator:a88d10eeb7ba4c05fde974ef8602af4fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
142
+</table>
143
+<h2 class="groupheader">Function Documentation</h2>
144
+<a class="anchor" id="aa2ca3be9f1d904e9f177faa425745236"></a>
145
+<div class="memitem">
146
+<div class="memproto">
147
+      <table class="memname">
148
+        <tr>
149
+          <td class="memname">string getMovieByName </td>
150
+          <td>(</td>
151
+          <td class="paramtype">string&#160;</td>
152
+          <td class="paramname"><em>moviename</em>, </td>
153
+        </tr>
154
+        <tr>
155
+          <td class="paramkey"></td>
156
+          <td></td>
157
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
158
+          <td class="paramname"><em>file</em>&#160;</td>
159
+        </tr>
160
+        <tr>
161
+          <td></td>
162
+          <td>)</td>
163
+          <td></td><td></td>
164
+        </tr>
165
+      </table>
166
+</div><div class="memdoc">
167
+
168
+<p>Finds the information of a movie given its name. </p>
169
+<dl class="params"><dt>Parameters</dt><dd>
170
+  <table class="params">
171
+    <tr><td class="paramname">moviename</td><td>The name of the movie </td></tr>
172
+    <tr><td class="paramname">file</td><td>A file pointer </td></tr>
173
+  </table>
174
+  </dd>
175
+</dl>
176
+<dl class="section return"><dt>Returns</dt><dd>One line with the information of the movie separated by | (pipes) </dd></dl>
177
+
178
+</div>
179
+</div>
180
+<a class="anchor" id="aebd1da153f25f87661ac630b47737097"></a>
181
+<div class="memitem">
182
+<div class="memproto">
183
+      <table class="memname">
184
+        <tr>
185
+          <td class="memname">string getMovieByPosition </td>
186
+          <td>(</td>
187
+          <td class="paramtype">int&#160;</td>
188
+          <td class="paramname"><em>position</em>, </td>
189
+        </tr>
190
+        <tr>
191
+          <td class="paramkey"></td>
192
+          <td></td>
193
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
194
+          <td class="paramname"><em>file</em>&#160;</td>
195
+        </tr>
196
+        <tr>
197
+          <td></td>
198
+          <td>)</td>
199
+          <td></td><td></td>
200
+        </tr>
201
+      </table>
202
+</div><div class="memdoc">
203
+
204
+<p>Finds a movie in position position of a file and returns the name of the movie. </p>
205
+<dl class="params"><dt>Parameters</dt><dd>
206
+  <table class="params">
207
+    <tr><td class="paramname">position</td><td>Position of the movie in the file </td></tr>
208
+    <tr><td class="paramname">file</td><td>A file pointer </td></tr>
209
+  </table>
210
+  </dd>
211
+</dl>
212
+<dl class="section return"><dt>Returns</dt><dd>The name of the movie </dd></dl>
213
+
214
+</div>
215
+</div>
216
+<a class="anchor" id="aaa2e1332e82b931cf45663e755cc2302"></a>
217
+<div class="memitem">
218
+<div class="memproto">
219
+      <table class="memname">
220
+        <tr>
221
+          <td class="memname">string getMovieGenre </td>
222
+          <td>(</td>
223
+          <td class="paramtype">string&#160;</td>
224
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
225
+          <td></td>
226
+        </tr>
227
+      </table>
228
+</div><div class="memdoc">
229
+
230
+<p>Given a movie line from the file returns the movie genre. </p>
231
+<dl class="params"><dt>Parameters</dt><dd>
232
+  <table class="params">
233
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
234
+  </table>
235
+  </dd>
236
+</dl>
237
+<dl class="section return"><dt>Returns</dt><dd>The movie genre. </dd></dl>
238
+
239
+</div>
240
+</div>
241
+<a class="anchor" id="ac0080d980b2f73f9eaa089f8eddeba60"></a>
242
+<div class="memitem">
243
+<div class="memproto">
244
+      <table class="memname">
245
+        <tr>
246
+          <td class="memname">void getMovieInfo </td>
247
+          <td>(</td>
248
+          <td class="paramtype">string&#160;</td>
249
+          <td class="paramname"><em>movieinfo</em>, </td>
250
+        </tr>
251
+        <tr>
252
+          <td class="paramkey"></td>
253
+          <td></td>
254
+          <td class="paramtype">string &amp;&#160;</td>
255
+          <td class="paramname"><em>name</em>, </td>
256
+        </tr>
257
+        <tr>
258
+          <td class="paramkey"></td>
259
+          <td></td>
260
+          <td class="paramtype">string &amp;&#160;</td>
261
+          <td class="paramname"><em>rating</em>, </td>
262
+        </tr>
263
+        <tr>
264
+          <td class="paramkey"></td>
265
+          <td></td>
266
+          <td class="paramtype">string &amp;&#160;</td>
267
+          <td class="paramname"><em>year</em>, </td>
268
+        </tr>
269
+        <tr>
270
+          <td class="paramkey"></td>
271
+          <td></td>
272
+          <td class="paramtype">string &amp;&#160;</td>
273
+          <td class="paramname"><em>genre</em>&#160;</td>
274
+        </tr>
275
+        <tr>
276
+          <td></td>
277
+          <td>)</td>
278
+          <td></td><td></td>
279
+        </tr>
280
+      </table>
281
+</div><div class="memdoc">
282
+
283
+<p>Given a movie line from the file returns by reference the movie name, rating, year, and genre. </p>
284
+<dl class="params"><dt>Parameters</dt><dd>
285
+  <table class="params">
286
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
287
+  </table>
288
+  </dd>
289
+</dl>
290
+
291
+</div>
292
+</div>
293
+<a class="anchor" id="a41d3c7f88313d320640b5fbca273b757"></a>
294
+<div class="memitem">
295
+<div class="memproto">
296
+      <table class="memname">
297
+        <tr>
298
+          <td class="memname">void getMovieInfo </td>
299
+          <td>(</td>
300
+          <td class="paramtype">string&#160;</td>
301
+          <td class="paramname"><em>movieinfo</em>, </td>
302
+        </tr>
303
+        <tr>
304
+          <td class="paramkey"></td>
305
+          <td></td>
306
+          <td class="paramtype">string &amp;&#160;</td>
307
+          <td class="paramname"><em>name</em>, </td>
308
+        </tr>
309
+        <tr>
310
+          <td class="paramkey"></td>
311
+          <td></td>
312
+          <td class="paramtype">string &amp;&#160;</td>
313
+          <td class="paramname"><em>rating</em>, </td>
314
+        </tr>
315
+        <tr>
316
+          <td class="paramkey"></td>
317
+          <td></td>
318
+          <td class="paramtype">string &amp;&#160;</td>
319
+          <td class="paramname"><em>year</em>, </td>
320
+        </tr>
321
+        <tr>
322
+          <td class="paramkey"></td>
323
+          <td></td>
324
+          <td class="paramtype">string &amp;&#160;</td>
325
+          <td class="paramname"><em>genre</em>, </td>
326
+        </tr>
327
+        <tr>
328
+          <td class="paramkey"></td>
329
+          <td></td>
330
+          <td class="paramtype">string &amp;&#160;</td>
331
+          <td class="paramname"><em>studio</em>&#160;</td>
332
+        </tr>
333
+        <tr>
334
+          <td></td>
335
+          <td>)</td>
336
+          <td></td><td></td>
337
+        </tr>
338
+      </table>
339
+</div><div class="memdoc">
340
+
341
+<p>Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) </p>
342
+<dl class="params"><dt>Parameters</dt><dd>
343
+  <table class="params">
344
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
345
+  </table>
346
+  </dd>
347
+</dl>
348
+
349
+</div>
350
+</div>
351
+<a class="anchor" id="a5b13bb4e2035100dcf27abad21a2e862"></a>
352
+<div class="memitem">
353
+<div class="memproto">
354
+      <table class="memname">
355
+        <tr>
356
+          <td class="memname">string getMovieName </td>
357
+          <td>(</td>
358
+          <td class="paramtype">string&#160;</td>
359
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
360
+          <td></td>
361
+        </tr>
362
+      </table>
363
+</div><div class="memdoc">
364
+
365
+<p>Given a movie line from the file returns the movie name. </p>
366
+<dl class="params"><dt>Parameters</dt><dd>
367
+  <table class="params">
368
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
369
+  </table>
370
+  </dd>
371
+</dl>
372
+<dl class="section return"><dt>Returns</dt><dd>Movie name </dd></dl>
373
+
374
+</div>
375
+</div>
376
+<a class="anchor" id="af50291017de186a0a663e8418d65b7ef"></a>
377
+<div class="memitem">
378
+<div class="memproto">
379
+      <table class="memname">
380
+        <tr>
381
+          <td class="memname">string getMovieRating </td>
382
+          <td>(</td>
383
+          <td class="paramtype">string&#160;</td>
384
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
385
+          <td></td>
386
+        </tr>
387
+      </table>
388
+</div><div class="memdoc">
389
+
390
+<p>Given a movie line from the file returns the movie rating. </p>
391
+<dl class="params"><dt>Parameters</dt><dd>
392
+  <table class="params">
393
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
394
+  </table>
395
+  </dd>
396
+</dl>
397
+<dl class="section return"><dt>Returns</dt><dd>The movie rating </dd></dl>
398
+
399
+</div>
400
+</div>
401
+<a class="anchor" id="af2c27f6eccc9bc99e5b3fb5a543e3d20"></a>
402
+<div class="memitem">
403
+<div class="memproto">
404
+      <table class="memname">
405
+        <tr>
406
+          <td class="memname">string getMovieStudio </td>
407
+          <td>(</td>
408
+          <td class="paramtype">string&#160;</td>
409
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
410
+          <td></td>
411
+        </tr>
412
+      </table>
413
+</div><div class="memdoc">
414
+
415
+<p>Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) </p>
416
+<dl class="params"><dt>Parameters</dt><dd>
417
+  <table class="params">
418
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
419
+  </table>
420
+  </dd>
421
+</dl>
422
+<dl class="section return"><dt>Returns</dt><dd>The movie studio. </dd></dl>
423
+
424
+</div>
425
+</div>
426
+<a class="anchor" id="ad378998f3ab769b47a1bbc4672496f45"></a>
427
+<div class="memitem">
428
+<div class="memproto">
429
+      <table class="memname">
430
+        <tr>
431
+          <td class="memname">string getMovieYear </td>
432
+          <td>(</td>
433
+          <td class="paramtype">string&#160;</td>
434
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
435
+          <td></td>
436
+        </tr>
437
+      </table>
438
+</div><div class="memdoc">
439
+
440
+<p>Given a movie line from the file returns the movie release year. </p>
441
+<dl class="params"><dt>Parameters</dt><dd>
442
+  <table class="params">
443
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
444
+  </table>
445
+  </dd>
446
+</dl>
447
+<dl class="section return"><dt>Returns</dt><dd>The movie release year. </dd></dl>
448
+
449
+</div>
450
+</div>
451
+<a class="anchor" id="af71e2fccff041af5f808e210a9cbb06f"></a>
452
+<div class="memitem">
453
+<div class="memproto">
454
+      <table class="memname">
455
+        <tr>
456
+          <td class="memname">void showMovie </td>
457
+          <td>(</td>
458
+          <td class="paramtype">string&#160;</td>
459
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
460
+          <td></td>
461
+        </tr>
462
+      </table>
463
+</div><div class="memdoc">
464
+
465
+<p>Display the movie information of a | separated line with movie info. Example line: Ninja Turtles: The Next Mutation, Vol. 1|Shout! Factory||Out|2.0|4:3|19.93|NR|1997|. </p>
466
+<dl class="params"><dt>Parameters</dt><dd>
467
+  <table class="params">
468
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
469
+  </table>
470
+  </dd>
471
+</dl>
472
+
473
+</div>
474
+</div>
475
+<a class="anchor" id="abee243a60adc5d86608a02572cc98e5e"></a>
476
+<div class="memitem">
477
+<div class="memproto">
478
+      <table class="memname">
479
+        <tr>
480
+          <td class="memname">void showMovieInLine </td>
481
+          <td>(</td>
482
+          <td class="paramtype">string&#160;</td>
483
+          <td class="paramname"><em>movieinfo</em></td><td>)</td>
484
+          <td></td>
485
+        </tr>
486
+      </table>
487
+</div><div class="memdoc">
488
+
489
+<p>Display the movie information of a | separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) </p>
490
+<dl class="params"><dt>Parameters</dt><dd>
491
+  <table class="params">
492
+    <tr><td class="paramname">movieinfo</td><td>The information of the movie in one line separated by | </td></tr>
493
+  </table>
494
+  </dd>
495
+</dl>
496
+
497
+</div>
498
+</div>
499
+<a class="anchor" id="a39efa4469877528f52e365bba5d35c30"></a>
500
+<div class="memitem">
501
+<div class="memproto">
502
+      <table class="memname">
503
+        <tr>
504
+          <td class="memname">void showMovies </td>
505
+          <td>(</td>
506
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
507
+          <td class="paramname"><em>file</em>, </td>
508
+        </tr>
509
+        <tr>
510
+          <td class="paramkey"></td>
511
+          <td></td>
512
+          <td class="paramtype">int&#160;</td>
513
+          <td class="paramname"><em>start</em>, </td>
514
+        </tr>
515
+        <tr>
516
+          <td class="paramkey"></td>
517
+          <td></td>
518
+          <td class="paramtype">int&#160;</td>
519
+          <td class="paramname"><em>end</em>&#160;</td>
520
+        </tr>
521
+        <tr>
522
+          <td></td>
523
+          <td>)</td>
524
+          <td></td><td></td>
525
+        </tr>
526
+      </table>
527
+</div><div class="memdoc">
528
+
529
+<p>Display the information of the movies in a file from line start to line end. </p>
530
+<dl class="params"><dt>Parameters</dt><dd>
531
+  <table class="params">
532
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
533
+    <tr><td class="paramname">start</td><td>Line in the file to start showing movie info. </td></tr>
534
+    <tr><td class="paramname">end</td><td>Line in the file to stop showing movie information. </td></tr>
535
+  </table>
536
+  </dd>
537
+</dl>
538
+
539
+</div>
540
+</div>
541
+<a class="anchor" id="a65da80af0fbc68d3cb7de763d2c944ea"></a>
542
+<div class="memitem">
543
+<div class="memproto">
544
+      <table class="memname">
545
+        <tr>
546
+          <td class="memname">void showMovies </td>
547
+          <td>(</td>
548
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
549
+          <td class="paramname"><em>file</em>, </td>
550
+        </tr>
551
+        <tr>
552
+          <td class="paramkey"></td>
553
+          <td></td>
554
+          <td class="paramtype">string&#160;</td>
555
+          <td class="paramname"><em>keyword</em>&#160;</td>
556
+        </tr>
557
+        <tr>
558
+          <td></td>
559
+          <td>)</td>
560
+          <td></td><td></td>
561
+        </tr>
562
+      </table>
563
+</div><div class="memdoc">
564
+
565
+<p>Display the information of the movies whose name contains a given keyword. </p>
566
+<dl class="params"><dt>Parameters</dt><dd>
567
+  <table class="params">
568
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
569
+    <tr><td class="paramname">keyword</td><td>Keyword to search in the name of the movies. </td></tr>
570
+  </table>
571
+  </dd>
572
+</dl>
573
+
574
+</div>
575
+</div>
576
+<a class="anchor" id="a88d10eeb7ba4c05fde974ef8602af4fe"></a>
577
+<div class="memitem">
578
+<div class="memproto">
579
+      <table class="memname">
580
+        <tr>
581
+          <td class="memname">void showMoviesInLine </td>
582
+          <td>(</td>
583
+          <td class="paramtype"><a class="el" href="classfilemanip.html">filemanip</a> &amp;&#160;</td>
584
+          <td class="paramname"><em>file</em>, </td>
585
+        </tr>
586
+        <tr>
587
+          <td class="paramkey"></td>
588
+          <td></td>
589
+          <td class="paramtype">int&#160;</td>
590
+          <td class="paramname"><em>start</em>, </td>
591
+        </tr>
592
+        <tr>
593
+          <td class="paramkey"></td>
594
+          <td></td>
595
+          <td class="paramtype">int&#160;</td>
596
+          <td class="paramname"><em>end</em>&#160;</td>
597
+        </tr>
598
+        <tr>
599
+          <td></td>
600
+          <td>)</td>
601
+          <td></td><td></td>
602
+        </tr>
603
+      </table>
604
+</div><div class="memdoc">
605
+
606
+<p>Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) </p>
607
+<dl class="params"><dt>Parameters</dt><dd>
608
+  <table class="params">
609
+    <tr><td class="paramname">file</td><td>Pointer to a file. </td></tr>
610
+    <tr><td class="paramname">start</td><td>Line in the file to start showing movie info. </td></tr>
611
+    <tr><td class="paramname">end</td><td>Line in the file to stop showing movie information. </td></tr>
612
+  </table>
613
+  </dd>
614
+</dl>
615
+
616
+</div>
617
+</div>
618
+</div><!-- contents -->
619
+<!-- start footer part -->
620
+<hr class="footer"/><address class="footer"><small>
621
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
622
+<img class="footer" src="doxygen.png" alt="doxygen"/>
623
+</a> 1.8.9.1
624
+</small></address>
625
+</body>
626
+</html>

+ 160
- 0
doc/en/html/movie_8h_source.html 查看文件

@@ -0,0 +1,160 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: movie.h Source File</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generated by Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
41
+      <li><a href="annotated.html"><span>Classes</span></a></li>
42
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
64
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
65
+    </ul>
66
+  </div>
67
+</div><!-- top -->
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+<div class="header">
83
+  <div class="headertitle">
84
+<div class="title">movie.h</div>  </div>
85
+</div><!--header-->
86
+<div class="contents">
87
+<a href="movie_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef MOVIE_H</span></div>
88
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define MOVIE_H</span></div>
89
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
90
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
91
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
92
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;QDebug&gt;</span></div>
93
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;filemanip.h&quot;</span></div>
94
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div>
95
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div>
96
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div>
97
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
98
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<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>&#160;</div>
100
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<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> &amp; ) ;</div>
101
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
102
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<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> &amp;) ;</div>
103
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
104
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a>(<a class="code" href="classfilemanip.html">filemanip</a> &amp;, <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>&#160;</div>
106
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a39efa4469877528f52e365bba5d35c30">showMovies</a>(<a class="code" href="classfilemanip.html">filemanip</a> &amp;, <span class="keywordtype">string</span>) ;</div>
107
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
108
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keywordtype">void</span> <a class="code" href="movie_8h.html#af71e2fccff041af5f808e210a9cbb06f">showMovie</a>(<span class="keywordtype">string</span>) ;</div>
109
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
110
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
111
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keywordtype">string</span> <a class="code" href="movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862">getMovieName</a>(<span class="keywordtype">string</span>) ;</div>
112
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
113
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keywordtype">string</span> <a class="code" href="movie_8h.html#af50291017de186a0a663e8418d65b7ef">getMovieRating</a>(<span class="keywordtype">string</span>) ;</div>
114
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
115
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keywordtype">string</span> <a class="code" href="movie_8h.html#ad378998f3ab769b47a1bbc4672496f45">getMovieYear</a>(<span class="keywordtype">string</span>) ;</div>
116
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
117
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keywordtype">string</span> <a class="code" href="movie_8h.html#aaa2e1332e82b931cf45663e755cc2302">getMovieGenre</a>(<span class="keywordtype">string</span>) ;</div>
118
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
119
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<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> &amp;, <span class="keywordtype">string</span> &amp;, <span class="keywordtype">string</span> &amp;,</div>
120
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                  <span class="keywordtype">string</span> &amp;);</div>
121
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
122
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
123
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">// Exercise 3, question 1</span></div>
124
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<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>&#160;</div>
126
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div>
127
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment">// Exercise 3, question 2</span></div>
128
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<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> &amp;, <span class="keywordtype">string</span> &amp;, <span class="keywordtype">string</span> &amp;,</div>
129
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;                  <span class="keywordtype">string</span> &amp;, <span class="keywordtype">string</span> &amp;);</div>
130
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
131
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="comment">// Exercise 3, question 3</span></div>
132
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<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>&#160;</div>
134
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment">// Exercise 3, question 4</span></div>
135
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="keywordtype">void</span> <a class="code" href="movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe">showMoviesInLine</a>(<a class="code" href="classfilemanip.html">filemanip</a> &amp;, <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>&#160;</div>
137
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<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">Given a movie line from the file returns the movie genre. </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 &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: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">Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) ...</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">Given a movie line from the file returns the movie release year. </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">Display the movie information of a | separated line with movie info. The info is displayed in one lin...</div><div class="ttdef"><b>Definition:</b> movie.cpp:341</div></div>
144
+<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 &amp;, int=1, int=10)</div><div class="ttdoc">Display the information of the movies in a file from line start to line end. The information is displ...</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">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: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">Given a movie line from the file returns the movie rating. </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 &amp;)</div><div class="ttdoc">Finds the information of a movie given its name. </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">Given a movie line from the file returns the movie name. </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 &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: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 &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 class="ttdef"><b>Definition:</b> movie.cpp:250</div></div>
152
+</div><!-- fragment --></div><!-- contents -->
153
+<!-- start footer part -->
154
+<hr class="footer"/><address class="footer"><small>
155
+Generated on Mon Jun 8 2015 15:29:47 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
156
+<img class="footer" src="doxygen.png" alt="doxygen"/>
157
+</a> 1.8.9.1
158
+</small></address>
159
+</body>
160
+</html>

二進制
doc/en/html/nav_f.png 查看文件


二進制
doc/en/html/nav_g.png 查看文件


二進制
doc/en/html/nav_h.png 查看文件


二進制
doc/en/html/open.png 查看文件


+ 26
- 0
doc/en/html/search/all_0.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_0.js 查看文件

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['file',['file',['../classfilemanip.html#a2290120459afdb754263d99761fe5523',1,'filemanip']]],
4
+  ['filemanip',['filemanip',['../classfilemanip.html',1,'filemanip'],['../classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f',1,'filemanip::filemanip()'],['../classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296',1,'filemanip::filemanip(QString filename)']]]
5
+];

+ 26
- 0
doc/en/html/search/all_1.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 12
- 0
doc/en/html/search/all_1.js 查看文件

@@ -0,0 +1,12 @@
1
+var searchData=
2
+[
3
+  ['getmoviebyname',['getMovieByName',['../movie_8cpp.html#a14872b961b612dd2ed0e848e205432ab',1,'getMovieByName(string moviename, filemanip &amp;file):&#160;movie.cpp'],['../movie_8h.html#aa2ca3be9f1d904e9f177faa425745236',1,'getMovieByName(string, filemanip &amp;):&#160;movie.cpp']]],
4
+  ['getmoviebyposition',['getMovieByPosition',['../movie_8cpp.html#a5cd9879ec2e8c19fb7bea1b7eff92306',1,'getMovieByPosition(int position, filemanip &amp;file):&#160;movie.cpp'],['../movie_8h.html#aebd1da153f25f87661ac630b47737097',1,'getMovieByPosition(int, filemanip &amp;):&#160;movie.cpp']]],
5
+  ['getmoviegenre',['getMovieGenre',['../movie_8cpp.html#a587b63fb2f1c6ff6aa0bbfd12ebbdb46',1,'getMovieGenre(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#aaa2e1332e82b931cf45663e755cc2302',1,'getMovieGenre(string):&#160;movie.cpp']]],
6
+  ['getmovieinfo',['getMovieInfo',['../movie_8cpp.html#a9057c8190a50e3b94cb358ee7f9f7efb',1,'getMovieInfo(string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre):&#160;movie.cpp'],['../movie_8cpp.html#a724308b84548b6b3f247022f07720dc5',1,'getMovieInfo(string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre, string &amp;studio):&#160;movie.cpp'],['../movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60',1,'getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;):&#160;movie.cpp'],['../movie_8h.html#a41d3c7f88313d320640b5fbca273b757',1,'getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;, string &amp;):&#160;movie.cpp']]],
7
+  ['getmoviename',['getMovieName',['../movie_8cpp.html#aa89f412c80723cef362fdb6ac54c3a46',1,'getMovieName(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862',1,'getMovieName(string):&#160;movie.cpp']]],
8
+  ['getmovierating',['getMovieRating',['../movie_8cpp.html#a4d7282011b6c01bf329c55be741e491b',1,'getMovieRating(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af50291017de186a0a663e8418d65b7ef',1,'getMovieRating(string):&#160;movie.cpp']]],
9
+  ['getmoviestudio',['getMovieStudio',['../movie_8cpp.html#a2c66ce60f7a568afd7a8c2394700e3b1',1,'getMovieStudio(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20',1,'getMovieStudio(string):&#160;movie.cpp']]],
10
+  ['getmovieyear',['getMovieYear',['../movie_8cpp.html#a658aabb68db11d7b29c54c777bd68207',1,'getMovieYear(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#ad378998f3ab769b47a1bbc4672496f45',1,'getMovieYear(string):&#160;movie.cpp']]],
11
+  ['getnext',['getnext',['../classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d',1,'filemanip']]]
12
+];

+ 26
- 0
doc/en/html/search/all_2.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_2.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['in',['in',['../classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6',1,'filemanip']]]
4
+];

+ 26
- 0
doc/en/html/search/all_3.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/all_3.js 查看文件

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['movie_2ecpp',['movie.cpp',['../movie_8cpp.html',1,'']]],
4
+  ['movie_2eh',['movie.h',['../movie_8h.html',1,'']]]
5
+];

+ 26
- 0
doc/en/html/search/all_4.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_4.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['reset',['reset',['../classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd',1,'filemanip']]]
4
+];

+ 26
- 0
doc/en/html/search/all_5.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_5.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 7
- 0
doc/en/html/search/all_5.js 查看文件

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['showmovie',['showMovie',['../movie_8cpp.html#ad7046e791da7846c172e7277aaf94d14',1,'showMovie(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af71e2fccff041af5f808e210a9cbb06f',1,'showMovie(string):&#160;movie.cpp']]],
4
+  ['showmovieinline',['showMovieInLine',['../movie_8cpp.html#ae2bfae6f7267aa64eaa2b9a1900879e3',1,'showMovieInLine(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#abee243a60adc5d86608a02572cc98e5e',1,'showMovieInLine(string):&#160;movie.cpp']]],
5
+  ['showmovies',['showMovies',['../movie_8cpp.html#a1ac8811db306ce6205ddc638ce02963e',1,'showMovies(filemanip &amp;file, int start, int end):&#160;movie.cpp'],['../movie_8cpp.html#a2200ec80d18eede5241b99afcffb509a',1,'showMovies(filemanip &amp;file, string keyword):&#160;movie.cpp'],['../movie_8h.html#a39efa4469877528f52e365bba5d35c30',1,'showMovies(filemanip &amp;, int=1, int=10):&#160;movie.cpp'],['../movie_8h.html#a65da80af0fbc68d3cb7de763d2c944ea',1,'showMovies(filemanip &amp;, string):&#160;movie.cpp']]],
6
+  ['showmoviesinline',['showMoviesInLine',['../movie_8cpp.html#ac3694a5a7bee33f0085a41fd784a366b',1,'showMoviesInLine(filemanip &amp;file, int start, int end):&#160;movie.cpp'],['../movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe',1,'showMoviesInLine(filemanip &amp;, int=1, int=10):&#160;movie.cpp']]]
7
+];

+ 26
- 0
doc/en/html/search/all_6.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="all_6.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/all_6.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7efilemanip',['~filemanip',['../classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41',1,'filemanip']]]
4
+];

+ 26
- 0
doc/en/html/search/classes_0.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="classes_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/classes_0.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['filemanip',['filemanip',['../classfilemanip.html',1,'']]]
4
+];

二進制
doc/en/html/search/close.png 查看文件


+ 26
- 0
doc/en/html/search/files_0.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="files_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 5
- 0
doc/en/html/search/files_0.js 查看文件

@@ -0,0 +1,5 @@
1
+var searchData=
2
+[
3
+  ['movie_2ecpp',['movie.cpp',['../movie_8cpp.html',1,'']]],
4
+  ['movie_2eh',['movie.h',['../movie_8h.html',1,'']]]
5
+];

+ 26
- 0
doc/en/html/search/functions_0.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_0.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['filemanip',['filemanip',['../classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f',1,'filemanip::filemanip()'],['../classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296',1,'filemanip::filemanip(QString filename)']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_1.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 12
- 0
doc/en/html/search/functions_1.js 查看文件

@@ -0,0 +1,12 @@
1
+var searchData=
2
+[
3
+  ['getmoviebyname',['getMovieByName',['../movie_8cpp.html#a14872b961b612dd2ed0e848e205432ab',1,'getMovieByName(string moviename, filemanip &amp;file):&#160;movie.cpp'],['../movie_8h.html#aa2ca3be9f1d904e9f177faa425745236',1,'getMovieByName(string, filemanip &amp;):&#160;movie.cpp']]],
4
+  ['getmoviebyposition',['getMovieByPosition',['../movie_8cpp.html#a5cd9879ec2e8c19fb7bea1b7eff92306',1,'getMovieByPosition(int position, filemanip &amp;file):&#160;movie.cpp'],['../movie_8h.html#aebd1da153f25f87661ac630b47737097',1,'getMovieByPosition(int, filemanip &amp;):&#160;movie.cpp']]],
5
+  ['getmoviegenre',['getMovieGenre',['../movie_8cpp.html#a587b63fb2f1c6ff6aa0bbfd12ebbdb46',1,'getMovieGenre(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#aaa2e1332e82b931cf45663e755cc2302',1,'getMovieGenre(string):&#160;movie.cpp']]],
6
+  ['getmovieinfo',['getMovieInfo',['../movie_8cpp.html#a9057c8190a50e3b94cb358ee7f9f7efb',1,'getMovieInfo(string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre):&#160;movie.cpp'],['../movie_8cpp.html#a724308b84548b6b3f247022f07720dc5',1,'getMovieInfo(string movieinfo, string &amp;name, string &amp;rating, string &amp;year, string &amp;genre, string &amp;studio):&#160;movie.cpp'],['../movie_8h.html#ac0080d980b2f73f9eaa089f8eddeba60',1,'getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;):&#160;movie.cpp'],['../movie_8h.html#a41d3c7f88313d320640b5fbca273b757',1,'getMovieInfo(string, string &amp;, string &amp;, string &amp;, string &amp;, string &amp;):&#160;movie.cpp']]],
7
+  ['getmoviename',['getMovieName',['../movie_8cpp.html#aa89f412c80723cef362fdb6ac54c3a46',1,'getMovieName(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#a5b13bb4e2035100dcf27abad21a2e862',1,'getMovieName(string):&#160;movie.cpp']]],
8
+  ['getmovierating',['getMovieRating',['../movie_8cpp.html#a4d7282011b6c01bf329c55be741e491b',1,'getMovieRating(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af50291017de186a0a663e8418d65b7ef',1,'getMovieRating(string):&#160;movie.cpp']]],
9
+  ['getmoviestudio',['getMovieStudio',['../movie_8cpp.html#a2c66ce60f7a568afd7a8c2394700e3b1',1,'getMovieStudio(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af2c27f6eccc9bc99e5b3fb5a543e3d20',1,'getMovieStudio(string):&#160;movie.cpp']]],
10
+  ['getmovieyear',['getMovieYear',['../movie_8cpp.html#a658aabb68db11d7b29c54c777bd68207',1,'getMovieYear(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#ad378998f3ab769b47a1bbc4672496f45',1,'getMovieYear(string):&#160;movie.cpp']]],
11
+  ['getnext',['getnext',['../classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d',1,'filemanip']]]
12
+];

+ 26
- 0
doc/en/html/search/functions_2.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_2.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_2.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['reset',['reset',['../classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd',1,'filemanip']]]
4
+];

+ 26
- 0
doc/en/html/search/functions_3.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_3.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 7
- 0
doc/en/html/search/functions_3.js 查看文件

@@ -0,0 +1,7 @@
1
+var searchData=
2
+[
3
+  ['showmovie',['showMovie',['../movie_8cpp.html#ad7046e791da7846c172e7277aaf94d14',1,'showMovie(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#af71e2fccff041af5f808e210a9cbb06f',1,'showMovie(string):&#160;movie.cpp']]],
4
+  ['showmovieinline',['showMovieInLine',['../movie_8cpp.html#ae2bfae6f7267aa64eaa2b9a1900879e3',1,'showMovieInLine(string movieinfo):&#160;movie.cpp'],['../movie_8h.html#abee243a60adc5d86608a02572cc98e5e',1,'showMovieInLine(string):&#160;movie.cpp']]],
5
+  ['showmovies',['showMovies',['../movie_8cpp.html#a1ac8811db306ce6205ddc638ce02963e',1,'showMovies(filemanip &amp;file, int start, int end):&#160;movie.cpp'],['../movie_8cpp.html#a2200ec80d18eede5241b99afcffb509a',1,'showMovies(filemanip &amp;file, string keyword):&#160;movie.cpp'],['../movie_8h.html#a39efa4469877528f52e365bba5d35c30',1,'showMovies(filemanip &amp;, int=1, int=10):&#160;movie.cpp'],['../movie_8h.html#a65da80af0fbc68d3cb7de763d2c944ea',1,'showMovies(filemanip &amp;, string):&#160;movie.cpp']]],
6
+  ['showmoviesinline',['showMoviesInLine',['../movie_8cpp.html#ac3694a5a7bee33f0085a41fd784a366b',1,'showMoviesInLine(filemanip &amp;file, int start, int end):&#160;movie.cpp'],['../movie_8h.html#a88d10eeb7ba4c05fde974ef8602af4fe',1,'showMoviesInLine(filemanip &amp;, int=1, int=10):&#160;movie.cpp']]]
7
+];

+ 26
- 0
doc/en/html/search/functions_4.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="functions_4.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/functions_4.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['_7efilemanip',['~filemanip',['../classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41',1,'filemanip']]]
4
+];

二進制
doc/en/html/search/mag_sel.png 查看文件


+ 12
- 0
doc/en/html/search/nomatches.html 查看文件

@@ -0,0 +1,12 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<link rel="stylesheet" type="text/css" href="search.css"/>
5
+<script type="text/javascript" src="search.js"></script>
6
+</head>
7
+<body class="SRPage">
8
+<div id="SRIndex">
9
+<div class="SRStatus" id="NoMatches">No Matches</div>
10
+</div>
11
+</body>
12
+</html>

+ 271
- 0
doc/en/html/search/search.css 查看文件

@@ -0,0 +1,271 @@
1
+/*---------------- Search Box */
2
+
3
+#FSearchBox {
4
+    float: left;
5
+}
6
+
7
+#MSearchBox {
8
+    white-space : nowrap;
9
+    position: absolute;
10
+    float: none;
11
+    display: inline;
12
+    margin-top: 8px;
13
+    right: 0px;
14
+    width: 170px;
15
+    z-index: 102;
16
+    background-color: white;
17
+}
18
+
19
+#MSearchBox .left
20
+{
21
+    display:block;
22
+    position:absolute;
23
+    left:10px;
24
+    width:20px;
25
+    height:19px;
26
+    background:url('search_l.png') no-repeat;
27
+    background-position:right;
28
+}
29
+
30
+#MSearchSelect {
31
+    display:block;
32
+    position:absolute;
33
+    width:20px;
34
+    height:19px;
35
+}
36
+
37
+.left #MSearchSelect {
38
+    left:4px;
39
+}
40
+
41
+.right #MSearchSelect {
42
+    right:5px;
43
+}
44
+
45
+#MSearchField {
46
+    display:block;
47
+    position:absolute;
48
+    height:19px;
49
+    background:url('search_m.png') repeat-x;
50
+    border:none;
51
+    width:111px;
52
+    margin-left:20px;
53
+    padding-left:4px;
54
+    color: #909090;
55
+    outline: none;
56
+    font: 9pt Arial, Verdana, sans-serif;
57
+}
58
+
59
+#FSearchBox #MSearchField {
60
+    margin-left:15px;
61
+}
62
+
63
+#MSearchBox .right {
64
+    display:block;
65
+    position:absolute;
66
+    right:10px;
67
+    top:0px;
68
+    width:20px;
69
+    height:19px;
70
+    background:url('search_r.png') no-repeat;
71
+    background-position:left;
72
+}
73
+
74
+#MSearchClose {
75
+    display: none;
76
+    position: absolute;
77
+    top: 4px;
78
+    background : none;
79
+    border: none;
80
+    margin: 0px 4px 0px 0px;
81
+    padding: 0px 0px;
82
+    outline: none;
83
+}
84
+
85
+.left #MSearchClose {
86
+    left: 6px;
87
+}
88
+
89
+.right #MSearchClose {
90
+    right: 2px;
91
+}
92
+
93
+.MSearchBoxActive #MSearchField {
94
+    color: #000000;
95
+}
96
+
97
+/*---------------- Search filter selection */
98
+
99
+#MSearchSelectWindow {
100
+    display: none;
101
+    position: absolute;
102
+    left: 0; top: 0;
103
+    border: 1px solid #90A5CE;
104
+    background-color: #F9FAFC;
105
+    z-index: 1;
106
+    padding-top: 4px;
107
+    padding-bottom: 4px;
108
+    -moz-border-radius: 4px;
109
+    -webkit-border-top-left-radius: 4px;
110
+    -webkit-border-top-right-radius: 4px;
111
+    -webkit-border-bottom-left-radius: 4px;
112
+    -webkit-border-bottom-right-radius: 4px;
113
+    -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
114
+}
115
+
116
+.SelectItem {
117
+    font: 8pt Arial, Verdana, sans-serif;
118
+    padding-left:  2px;
119
+    padding-right: 12px;
120
+    border: 0px;
121
+}
122
+
123
+span.SelectionMark {
124
+    margin-right: 4px;
125
+    font-family: monospace;
126
+    outline-style: none;
127
+    text-decoration: none;
128
+}
129
+
130
+a.SelectItem {
131
+    display: block;
132
+    outline-style: none;
133
+    color: #000000; 
134
+    text-decoration: none;
135
+    padding-left:   6px;
136
+    padding-right: 12px;
137
+}
138
+
139
+a.SelectItem:focus,
140
+a.SelectItem:active {
141
+    color: #000000; 
142
+    outline-style: none;
143
+    text-decoration: none;
144
+}
145
+
146
+a.SelectItem:hover {
147
+    color: #FFFFFF;
148
+    background-color: #3D578C;
149
+    outline-style: none;
150
+    text-decoration: none;
151
+    cursor: pointer;
152
+    display: block;
153
+}
154
+
155
+/*---------------- Search results window */
156
+
157
+iframe#MSearchResults {
158
+    width: 60ex;
159
+    height: 15em;
160
+}
161
+
162
+#MSearchResultsWindow {
163
+    display: none;
164
+    position: absolute;
165
+    left: 0; top: 0;
166
+    border: 1px solid #000;
167
+    background-color: #EEF1F7;
168
+}
169
+
170
+/* ----------------------------------- */
171
+
172
+
173
+#SRIndex {
174
+    clear:both; 
175
+    padding-bottom: 15px;
176
+}
177
+
178
+.SREntry {
179
+    font-size: 10pt;
180
+    padding-left: 1ex;
181
+}
182
+
183
+.SRPage .SREntry {
184
+    font-size: 8pt;
185
+    padding: 1px 5px;
186
+}
187
+
188
+body.SRPage {
189
+    margin: 5px 2px;
190
+}
191
+
192
+.SRChildren {
193
+    padding-left: 3ex; padding-bottom: .5em 
194
+}
195
+
196
+.SRPage .SRChildren {
197
+    display: none;
198
+}
199
+
200
+.SRSymbol {
201
+    font-weight: bold; 
202
+    color: #425E97;
203
+    font-family: Arial, Verdana, sans-serif;
204
+    text-decoration: none;
205
+    outline: none;
206
+}
207
+
208
+a.SRScope {
209
+    display: block;
210
+    color: #425E97; 
211
+    font-family: Arial, Verdana, sans-serif;
212
+    text-decoration: none;
213
+    outline: none;
214
+}
215
+
216
+a.SRSymbol:focus, a.SRSymbol:active,
217
+a.SRScope:focus, a.SRScope:active {
218
+    text-decoration: underline;
219
+}
220
+
221
+span.SRScope {
222
+    padding-left: 4px;
223
+}
224
+
225
+.SRPage .SRStatus {
226
+    padding: 2px 5px;
227
+    font-size: 8pt;
228
+    font-style: italic;
229
+}
230
+
231
+.SRResult {
232
+    display: none;
233
+}
234
+
235
+DIV.searchresults {
236
+    margin-left: 10px;
237
+    margin-right: 10px;
238
+}
239
+
240
+/*---------------- External search page results */
241
+
242
+.searchresult {
243
+    background-color: #F0F3F8;
244
+}
245
+
246
+.pages b {
247
+   color: white;
248
+   padding: 5px 5px 3px 5px;
249
+   background-image: url("../tab_a.png");
250
+   background-repeat: repeat-x;
251
+   text-shadow: 0 1px 1px #000000;
252
+}
253
+
254
+.pages {
255
+    line-height: 17px;
256
+    margin-left: 4px;
257
+    text-decoration: none;
258
+}
259
+
260
+.hl {
261
+    font-weight: bold;
262
+}
263
+
264
+#searchresults {
265
+    margin-bottom: 20px;
266
+}
267
+
268
+.searchpages {
269
+    margin-top: 10px;
270
+}
271
+

+ 791
- 0
doc/en/html/search/search.js 查看文件

@@ -0,0 +1,791 @@
1
+function convertToId(search)
2
+{
3
+  var result = '';
4
+  for (i=0;i<search.length;i++)
5
+  {
6
+    var c = search.charAt(i);
7
+    var cn = c.charCodeAt(0);
8
+    if (c.match(/[a-z0-9\u0080-\uFFFF]/))
9
+    {
10
+      result+=c;
11
+    }
12
+    else if (cn<16)
13
+    {
14
+      result+="_0"+cn.toString(16);
15
+    }
16
+    else
17
+    {
18
+      result+="_"+cn.toString(16);
19
+    }
20
+  }
21
+  return result;
22
+}
23
+
24
+function getXPos(item)
25
+{
26
+  var x = 0;
27
+  if (item.offsetWidth)
28
+  {
29
+    while (item && item!=document.body)
30
+    {
31
+      x   += item.offsetLeft;
32
+      item = item.offsetParent;
33
+    }
34
+  }
35
+  return x;
36
+}
37
+
38
+function getYPos(item)
39
+{
40
+  var y = 0;
41
+  if (item.offsetWidth)
42
+  {
43
+     while (item && item!=document.body)
44
+     {
45
+       y   += item.offsetTop;
46
+       item = item.offsetParent;
47
+     }
48
+  }
49
+  return y;
50
+}
51
+
52
+/* A class handling everything associated with the search panel.
53
+
54
+   Parameters:
55
+   name - The name of the global variable that will be
56
+          storing this instance.  Is needed to be able to set timeouts.
57
+   resultPath - path to use for external files
58
+*/
59
+function SearchBox(name, resultsPath, inFrame, label)
60
+{
61
+  if (!name || !resultsPath) {  alert("Missing parameters to SearchBox."); }
62
+
63
+  // ---------- Instance variables
64
+  this.name                  = name;
65
+  this.resultsPath           = resultsPath;
66
+  this.keyTimeout            = 0;
67
+  this.keyTimeoutLength      = 500;
68
+  this.closeSelectionTimeout = 300;
69
+  this.lastSearchValue       = "";
70
+  this.lastResultsPage       = "";
71
+  this.hideTimeout           = 0;
72
+  this.searchIndex           = 0;
73
+  this.searchActive          = false;
74
+  this.insideFrame           = inFrame;
75
+  this.searchLabel           = label;
76
+
77
+  // ----------- DOM Elements
78
+
79
+  this.DOMSearchField = function()
80
+  {  return document.getElementById("MSearchField");  }
81
+
82
+  this.DOMSearchSelect = function()
83
+  {  return document.getElementById("MSearchSelect");  }
84
+
85
+  this.DOMSearchSelectWindow = function()
86
+  {  return document.getElementById("MSearchSelectWindow");  }
87
+
88
+  this.DOMPopupSearchResults = function()
89
+  {  return document.getElementById("MSearchResults");  }
90
+
91
+  this.DOMPopupSearchResultsWindow = function()
92
+  {  return document.getElementById("MSearchResultsWindow");  }
93
+
94
+  this.DOMSearchClose = function()
95
+  {  return document.getElementById("MSearchClose"); }
96
+
97
+  this.DOMSearchBox = function()
98
+  {  return document.getElementById("MSearchBox");  }
99
+
100
+  // ------------ Event Handlers
101
+
102
+  // Called when focus is added or removed from the search field.
103
+  this.OnSearchFieldFocus = function(isActive)
104
+  {
105
+    this.Activate(isActive);
106
+  }
107
+
108
+  this.OnSearchSelectShow = function()
109
+  {
110
+    var searchSelectWindow = this.DOMSearchSelectWindow();
111
+    var searchField        = this.DOMSearchSelect();
112
+
113
+    if (this.insideFrame)
114
+    {
115
+      var left = getXPos(searchField);
116
+      var top  = getYPos(searchField);
117
+      left += searchField.offsetWidth + 6;
118
+      top += searchField.offsetHeight;
119
+
120
+      // show search selection popup
121
+      searchSelectWindow.style.display='block';
122
+      left -= searchSelectWindow.offsetWidth;
123
+      searchSelectWindow.style.left =  left + 'px';
124
+      searchSelectWindow.style.top  =  top  + 'px';
125
+    }
126
+    else
127
+    {
128
+      var left = getXPos(searchField);
129
+      var top  = getYPos(searchField);
130
+      top += searchField.offsetHeight;
131
+
132
+      // show search selection popup
133
+      searchSelectWindow.style.display='block';
134
+      searchSelectWindow.style.left =  left + 'px';
135
+      searchSelectWindow.style.top  =  top  + 'px';
136
+    }
137
+
138
+    // stop selection hide timer
139
+    if (this.hideTimeout)
140
+    {
141
+      clearTimeout(this.hideTimeout);
142
+      this.hideTimeout=0;
143
+    }
144
+    return false; // to avoid "image drag" default event
145
+  }
146
+
147
+  this.OnSearchSelectHide = function()
148
+  {
149
+    this.hideTimeout = setTimeout(this.name +".CloseSelectionWindow()",
150
+                                  this.closeSelectionTimeout);
151
+  }
152
+
153
+  // Called when the content of the search field is changed.
154
+  this.OnSearchFieldChange = function(evt)
155
+  {
156
+    if (this.keyTimeout) // kill running timer
157
+    {
158
+      clearTimeout(this.keyTimeout);
159
+      this.keyTimeout = 0;
160
+    }
161
+
162
+    var e  = (evt) ? evt : window.event; // for IE
163
+    if (e.keyCode==40 || e.keyCode==13)
164
+    {
165
+      if (e.shiftKey==1)
166
+      {
167
+        this.OnSearchSelectShow();
168
+        var win=this.DOMSearchSelectWindow();
169
+        for (i=0;i<win.childNodes.length;i++)
170
+        {
171
+          var child = win.childNodes[i]; // get span within a
172
+          if (child.className=='SelectItem')
173
+          {
174
+            child.focus();
175
+            return;
176
+          }
177
+        }
178
+        return;
179
+      }
180
+      else if (window.frames.MSearchResults.searchResults)
181
+      {
182
+        var elem = window.frames.MSearchResults.searchResults.NavNext(0);
183
+        if (elem) elem.focus();
184
+      }
185
+    }
186
+    else if (e.keyCode==27) // Escape out of the search field
187
+    {
188
+      this.DOMSearchField().blur();
189
+      this.DOMPopupSearchResultsWindow().style.display = 'none';
190
+      this.DOMSearchClose().style.display = 'none';
191
+      this.lastSearchValue = '';
192
+      this.Activate(false);
193
+      return;
194
+    }
195
+
196
+    // strip whitespaces
197
+    var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
198
+
199
+    if (searchValue != this.lastSearchValue) // search value has changed
200
+    {
201
+      if (searchValue != "") // non-empty search
202
+      {
203
+        // set timer for search update
204
+        this.keyTimeout = setTimeout(this.name + '.Search()',
205
+                                     this.keyTimeoutLength);
206
+      }
207
+      else // empty search field
208
+      {
209
+        this.DOMPopupSearchResultsWindow().style.display = 'none';
210
+        this.DOMSearchClose().style.display = 'none';
211
+        this.lastSearchValue = '';
212
+      }
213
+    }
214
+  }
215
+
216
+  this.SelectItemCount = function(id)
217
+  {
218
+    var count=0;
219
+    var win=this.DOMSearchSelectWindow();
220
+    for (i=0;i<win.childNodes.length;i++)
221
+    {
222
+      var child = win.childNodes[i]; // get span within a
223
+      if (child.className=='SelectItem')
224
+      {
225
+        count++;
226
+      }
227
+    }
228
+    return count;
229
+  }
230
+
231
+  this.SelectItemSet = function(id)
232
+  {
233
+    var i,j=0;
234
+    var win=this.DOMSearchSelectWindow();
235
+    for (i=0;i<win.childNodes.length;i++)
236
+    {
237
+      var child = win.childNodes[i]; // get span within a
238
+      if (child.className=='SelectItem')
239
+      {
240
+        var node = child.firstChild;
241
+        if (j==id)
242
+        {
243
+          node.innerHTML='&#8226;';
244
+        }
245
+        else
246
+        {
247
+          node.innerHTML='&#160;';
248
+        }
249
+        j++;
250
+      }
251
+    }
252
+  }
253
+
254
+  // Called when an search filter selection is made.
255
+  // set item with index id as the active item
256
+  this.OnSelectItem = function(id)
257
+  {
258
+    this.searchIndex = id;
259
+    this.SelectItemSet(id);
260
+    var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
261
+    if (searchValue!="" && this.searchActive) // something was found -> do a search
262
+    {
263
+      this.Search();
264
+    }
265
+  }
266
+
267
+  this.OnSearchSelectKey = function(evt)
268
+  {
269
+    var e = (evt) ? evt : window.event; // for IE
270
+    if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
271
+    {
272
+      this.searchIndex++;
273
+      this.OnSelectItem(this.searchIndex);
274
+    }
275
+    else if (e.keyCode==38 && this.searchIndex>0) // Up
276
+    {
277
+      this.searchIndex--;
278
+      this.OnSelectItem(this.searchIndex);
279
+    }
280
+    else if (e.keyCode==13 || e.keyCode==27)
281
+    {
282
+      this.OnSelectItem(this.searchIndex);
283
+      this.CloseSelectionWindow();
284
+      this.DOMSearchField().focus();
285
+    }
286
+    return false;
287
+  }
288
+
289
+  // --------- Actions
290
+
291
+  // Closes the results window.
292
+  this.CloseResultsWindow = function()
293
+  {
294
+    this.DOMPopupSearchResultsWindow().style.display = 'none';
295
+    this.DOMSearchClose().style.display = 'none';
296
+    this.Activate(false);
297
+  }
298
+
299
+  this.CloseSelectionWindow = function()
300
+  {
301
+    this.DOMSearchSelectWindow().style.display = 'none';
302
+  }
303
+
304
+  // Performs a search.
305
+  this.Search = function()
306
+  {
307
+    this.keyTimeout = 0;
308
+
309
+    // strip leading whitespace
310
+    var searchValue = this.DOMSearchField().value.replace(/^ +/, "");
311
+
312
+    var code = searchValue.toLowerCase().charCodeAt(0);
313
+    var idxChar = searchValue.substr(0, 1).toLowerCase();
314
+    if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair
315
+    {
316
+      idxChar = searchValue.substr(0, 2);
317
+    }
318
+
319
+    var resultsPage;
320
+    var resultsPageWithSearch;
321
+    var hasResultsPage;
322
+
323
+    var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar);
324
+    if (idx!=-1)
325
+    {
326
+       var hexCode=idx.toString(16);
327
+       resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html';
328
+       resultsPageWithSearch = resultsPage+'?'+escape(searchValue);
329
+       hasResultsPage = true;
330
+    }
331
+    else // nothing available for this search term
332
+    {
333
+       resultsPage = this.resultsPath + '/nomatches.html';
334
+       resultsPageWithSearch = resultsPage;
335
+       hasResultsPage = false;
336
+    }
337
+
338
+    window.frames.MSearchResults.location = resultsPageWithSearch;
339
+    var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow();
340
+
341
+    if (domPopupSearchResultsWindow.style.display!='block')
342
+    {
343
+       var domSearchBox = this.DOMSearchBox();
344
+       this.DOMSearchClose().style.display = 'inline';
345
+       if (this.insideFrame)
346
+       {
347
+         var domPopupSearchResults = this.DOMPopupSearchResults();
348
+         domPopupSearchResultsWindow.style.position = 'relative';
349
+         domPopupSearchResultsWindow.style.display  = 'block';
350
+         var width = document.body.clientWidth - 8; // the -8 is for IE :-(
351
+         domPopupSearchResultsWindow.style.width    = width + 'px';
352
+         domPopupSearchResults.style.width          = width + 'px';
353
+       }
354
+       else
355
+       {
356
+         var domPopupSearchResults = this.DOMPopupSearchResults();
357
+         var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth;
358
+         var top  = getYPos(domSearchBox) + 20;  // domSearchBox.offsetHeight + 1;
359
+         domPopupSearchResultsWindow.style.display = 'block';
360
+         left -= domPopupSearchResults.offsetWidth;
361
+         domPopupSearchResultsWindow.style.top     = top  + 'px';
362
+         domPopupSearchResultsWindow.style.left    = left + 'px';
363
+       }
364
+    }
365
+
366
+    this.lastSearchValue = searchValue;
367
+    this.lastResultsPage = resultsPage;
368
+  }
369
+
370
+  // -------- Activation Functions
371
+
372
+  // Activates or deactivates the search panel, resetting things to
373
+  // their default values if necessary.
374
+  this.Activate = function(isActive)
375
+  {
376
+    if (isActive || // open it
377
+        this.DOMPopupSearchResultsWindow().style.display == 'block'
378
+       )
379
+    {
380
+      this.DOMSearchBox().className = 'MSearchBoxActive';
381
+
382
+      var searchField = this.DOMSearchField();
383
+
384
+      if (searchField.value == this.searchLabel) // clear "Search" term upon entry
385
+      {
386
+        searchField.value = '';
387
+        this.searchActive = true;
388
+      }
389
+    }
390
+    else if (!isActive) // directly remove the panel
391
+    {
392
+      this.DOMSearchBox().className = 'MSearchBoxInactive';
393
+      this.DOMSearchField().value   = this.searchLabel;
394
+      this.searchActive             = false;
395
+      this.lastSearchValue          = ''
396
+      this.lastResultsPage          = '';
397
+    }
398
+  }
399
+}
400
+
401
+// -----------------------------------------------------------------------
402
+
403
+// The class that handles everything on the search results page.
404
+function SearchResults(name)
405
+{
406
+    // The number of matches from the last run of <Search()>.
407
+    this.lastMatchCount = 0;
408
+    this.lastKey = 0;
409
+    this.repeatOn = false;
410
+
411
+    // Toggles the visibility of the passed element ID.
412
+    this.FindChildElement = function(id)
413
+    {
414
+      var parentElement = document.getElementById(id);
415
+      var element = parentElement.firstChild;
416
+
417
+      while (element && element!=parentElement)
418
+      {
419
+        if (element.nodeName == 'DIV' && element.className == 'SRChildren')
420
+        {
421
+          return element;
422
+        }
423
+
424
+        if (element.nodeName == 'DIV' && element.hasChildNodes())
425
+        {
426
+           element = element.firstChild;
427
+        }
428
+        else if (element.nextSibling)
429
+        {
430
+           element = element.nextSibling;
431
+        }
432
+        else
433
+        {
434
+          do
435
+          {
436
+            element = element.parentNode;
437
+          }
438
+          while (element && element!=parentElement && !element.nextSibling);
439
+
440
+          if (element && element!=parentElement)
441
+          {
442
+            element = element.nextSibling;
443
+          }
444
+        }
445
+      }
446
+    }
447
+
448
+    this.Toggle = function(id)
449
+    {
450
+      var element = this.FindChildElement(id);
451
+      if (element)
452
+      {
453
+        if (element.style.display == 'block')
454
+        {
455
+          element.style.display = 'none';
456
+        }
457
+        else
458
+        {
459
+          element.style.display = 'block';
460
+        }
461
+      }
462
+    }
463
+
464
+    // Searches for the passed string.  If there is no parameter,
465
+    // it takes it from the URL query.
466
+    //
467
+    // Always returns true, since other documents may try to call it
468
+    // and that may or may not be possible.
469
+    this.Search = function(search)
470
+    {
471
+      if (!search) // get search word from URL
472
+      {
473
+        search = window.location.search;
474
+        search = search.substring(1);  // Remove the leading '?'
475
+        search = unescape(search);
476
+      }
477
+
478
+      search = search.replace(/^ +/, ""); // strip leading spaces
479
+      search = search.replace(/ +$/, ""); // strip trailing spaces
480
+      search = search.toLowerCase();
481
+      search = convertToId(search);
482
+
483
+      var resultRows = document.getElementsByTagName("div");
484
+      var matches = 0;
485
+
486
+      var i = 0;
487
+      while (i < resultRows.length)
488
+      {
489
+        var row = resultRows.item(i);
490
+        if (row.className == "SRResult")
491
+        {
492
+          var rowMatchName = row.id.toLowerCase();
493
+          rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_'
494
+
495
+          if (search.length<=rowMatchName.length &&
496
+             rowMatchName.substr(0, search.length)==search)
497
+          {
498
+            row.style.display = 'block';
499
+            matches++;
500
+          }
501
+          else
502
+          {
503
+            row.style.display = 'none';
504
+          }
505
+        }
506
+        i++;
507
+      }
508
+      document.getElementById("Searching").style.display='none';
509
+      if (matches == 0) // no results
510
+      {
511
+        document.getElementById("NoMatches").style.display='block';
512
+      }
513
+      else // at least one result
514
+      {
515
+        document.getElementById("NoMatches").style.display='none';
516
+      }
517
+      this.lastMatchCount = matches;
518
+      return true;
519
+    }
520
+
521
+    // return the first item with index index or higher that is visible
522
+    this.NavNext = function(index)
523
+    {
524
+      var focusItem;
525
+      while (1)
526
+      {
527
+        var focusName = 'Item'+index;
528
+        focusItem = document.getElementById(focusName);
529
+        if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
530
+        {
531
+          break;
532
+        }
533
+        else if (!focusItem) // last element
534
+        {
535
+          break;
536
+        }
537
+        focusItem=null;
538
+        index++;
539
+      }
540
+      return focusItem;
541
+    }
542
+
543
+    this.NavPrev = function(index)
544
+    {
545
+      var focusItem;
546
+      while (1)
547
+      {
548
+        var focusName = 'Item'+index;
549
+        focusItem = document.getElementById(focusName);
550
+        if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
551
+        {
552
+          break;
553
+        }
554
+        else if (!focusItem) // last element
555
+        {
556
+          break;
557
+        }
558
+        focusItem=null;
559
+        index--;
560
+      }
561
+      return focusItem;
562
+    }
563
+
564
+    this.ProcessKeys = function(e)
565
+    {
566
+      if (e.type == "keydown")
567
+      {
568
+        this.repeatOn = false;
569
+        this.lastKey = e.keyCode;
570
+      }
571
+      else if (e.type == "keypress")
572
+      {
573
+        if (!this.repeatOn)
574
+        {
575
+          if (this.lastKey) this.repeatOn = true;
576
+          return false; // ignore first keypress after keydown
577
+        }
578
+      }
579
+      else if (e.type == "keyup")
580
+      {
581
+        this.lastKey = 0;
582
+        this.repeatOn = false;
583
+      }
584
+      return this.lastKey!=0;
585
+    }
586
+
587
+    this.Nav = function(evt,itemIndex)
588
+    {
589
+      var e  = (evt) ? evt : window.event; // for IE
590
+      if (e.keyCode==13) return true;
591
+      if (!this.ProcessKeys(e)) return false;
592
+
593
+      if (this.lastKey==38) // Up
594
+      {
595
+        var newIndex = itemIndex-1;
596
+        var focusItem = this.NavPrev(newIndex);
597
+        if (focusItem)
598
+        {
599
+          var child = this.FindChildElement(focusItem.parentNode.parentNode.id);
600
+          if (child && child.style.display == 'block') // children visible
601
+          {
602
+            var n=0;
603
+            var tmpElem;
604
+            while (1) // search for last child
605
+            {
606
+              tmpElem = document.getElementById('Item'+newIndex+'_c'+n);
607
+              if (tmpElem)
608
+              {
609
+                focusItem = tmpElem;
610
+              }
611
+              else // found it!
612
+              {
613
+                break;
614
+              }
615
+              n++;
616
+            }
617
+          }
618
+        }
619
+        if (focusItem)
620
+        {
621
+          focusItem.focus();
622
+        }
623
+        else // return focus to search field
624
+        {
625
+           parent.document.getElementById("MSearchField").focus();
626
+        }
627
+      }
628
+      else if (this.lastKey==40) // Down
629
+      {
630
+        var newIndex = itemIndex+1;
631
+        var focusItem;
632
+        var item = document.getElementById('Item'+itemIndex);
633
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
634
+        if (elem && elem.style.display == 'block') // children visible
635
+        {
636
+          focusItem = document.getElementById('Item'+itemIndex+'_c0');
637
+        }
638
+        if (!focusItem) focusItem = this.NavNext(newIndex);
639
+        if (focusItem)  focusItem.focus();
640
+      }
641
+      else if (this.lastKey==39) // Right
642
+      {
643
+        var item = document.getElementById('Item'+itemIndex);
644
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
645
+        if (elem) elem.style.display = 'block';
646
+      }
647
+      else if (this.lastKey==37) // Left
648
+      {
649
+        var item = document.getElementById('Item'+itemIndex);
650
+        var elem = this.FindChildElement(item.parentNode.parentNode.id);
651
+        if (elem) elem.style.display = 'none';
652
+      }
653
+      else if (this.lastKey==27) // Escape
654
+      {
655
+        parent.searchBox.CloseResultsWindow();
656
+        parent.document.getElementById("MSearchField").focus();
657
+      }
658
+      else if (this.lastKey==13) // Enter
659
+      {
660
+        return true;
661
+      }
662
+      return false;
663
+    }
664
+
665
+    this.NavChild = function(evt,itemIndex,childIndex)
666
+    {
667
+      var e  = (evt) ? evt : window.event; // for IE
668
+      if (e.keyCode==13) return true;
669
+      if (!this.ProcessKeys(e)) return false;
670
+
671
+      if (this.lastKey==38) // Up
672
+      {
673
+        if (childIndex>0)
674
+        {
675
+          var newIndex = childIndex-1;
676
+          document.getElementById('Item'+itemIndex+'_c'+newIndex).focus();
677
+        }
678
+        else // already at first child, jump to parent
679
+        {
680
+          document.getElementById('Item'+itemIndex).focus();
681
+        }
682
+      }
683
+      else if (this.lastKey==40) // Down
684
+      {
685
+        var newIndex = childIndex+1;
686
+        var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex);
687
+        if (!elem) // last child, jump to parent next parent
688
+        {
689
+          elem = this.NavNext(itemIndex+1);
690
+        }
691
+        if (elem)
692
+        {
693
+          elem.focus();
694
+        }
695
+      }
696
+      else if (this.lastKey==27) // Escape
697
+      {
698
+        parent.searchBox.CloseResultsWindow();
699
+        parent.document.getElementById("MSearchField").focus();
700
+      }
701
+      else if (this.lastKey==13) // Enter
702
+      {
703
+        return true;
704
+      }
705
+      return false;
706
+    }
707
+}
708
+
709
+function setKeyActions(elem,action)
710
+{
711
+  elem.setAttribute('onkeydown',action);
712
+  elem.setAttribute('onkeypress',action);
713
+  elem.setAttribute('onkeyup',action);
714
+}
715
+
716
+function setClassAttr(elem,attr)
717
+{
718
+  elem.setAttribute('class',attr);
719
+  elem.setAttribute('className',attr);
720
+}
721
+
722
+function createResults()
723
+{
724
+  var results = document.getElementById("SRResults");
725
+  for (var e=0; e<searchData.length; e++)
726
+  {
727
+    var id = searchData[e][0];
728
+    var srResult = document.createElement('div');
729
+    srResult.setAttribute('id','SR_'+id);
730
+    setClassAttr(srResult,'SRResult');
731
+    var srEntry = document.createElement('div');
732
+    setClassAttr(srEntry,'SREntry');
733
+    var srLink = document.createElement('a');
734
+    srLink.setAttribute('id','Item'+e);
735
+    setKeyActions(srLink,'return searchResults.Nav(event,'+e+')');
736
+    setClassAttr(srLink,'SRSymbol');
737
+    srLink.innerHTML = searchData[e][1][0];
738
+    srEntry.appendChild(srLink);
739
+    if (searchData[e][1].length==2) // single result
740
+    {
741
+      srLink.setAttribute('href',searchData[e][1][1][0]);
742
+      if (searchData[e][1][1][1])
743
+      {
744
+       srLink.setAttribute('target','_parent');
745
+      }
746
+      var srScope = document.createElement('span');
747
+      setClassAttr(srScope,'SRScope');
748
+      srScope.innerHTML = searchData[e][1][1][2];
749
+      srEntry.appendChild(srScope);
750
+    }
751
+    else // multiple results
752
+    {
753
+      srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")');
754
+      var srChildren = document.createElement('div');
755
+      setClassAttr(srChildren,'SRChildren');
756
+      for (var c=0; c<searchData[e][1].length-1; c++)
757
+      {
758
+        var srChild = document.createElement('a');
759
+        srChild.setAttribute('id','Item'+e+'_c'+c);
760
+        setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')');
761
+        setClassAttr(srChild,'SRScope');
762
+        srChild.setAttribute('href',searchData[e][1][c+1][0]);
763
+        if (searchData[e][1][c+1][1])
764
+        {
765
+         srChild.setAttribute('target','_parent');
766
+        }
767
+        srChild.innerHTML = searchData[e][1][c+1][2];
768
+        srChildren.appendChild(srChild);
769
+      }
770
+      srEntry.appendChild(srChildren);
771
+    }
772
+    srResult.appendChild(srEntry);
773
+    results.appendChild(srResult);
774
+  }
775
+}
776
+
777
+function init_search()
778
+{
779
+  var results = document.getElementById("MSearchSelectWindow");
780
+  for (var key in indexSectionLabels)
781
+  {
782
+    var link = document.createElement('a');
783
+    link.setAttribute('class','SelectItem');
784
+    link.setAttribute('onclick','searchBox.OnSelectItem('+key+')');
785
+    link.href='javascript:void(0)';
786
+    link.innerHTML='<span class="SelectionMark">&#160;</span>'+indexSectionLabels[key];
787
+    results.appendChild(link);
788
+  }
789
+  searchBox.OnSelectItem(0);
790
+}
791
+

二進制
doc/en/html/search/search_l.png 查看文件


二進制
doc/en/html/search/search_m.png 查看文件


二進制
doc/en/html/search/search_r.png 查看文件


+ 27
- 0
doc/en/html/search/searchdata.js 查看文件

@@ -0,0 +1,27 @@
1
+var indexSectionsWithContent =
2
+{
3
+  0: "fgimrs~",
4
+  1: "f",
5
+  2: "m",
6
+  3: "fgrs~",
7
+  4: "fi"
8
+};
9
+
10
+var indexSectionNames =
11
+{
12
+  0: "all",
13
+  1: "classes",
14
+  2: "files",
15
+  3: "functions",
16
+  4: "variables"
17
+};
18
+
19
+var indexSectionLabels =
20
+{
21
+  0: "All",
22
+  1: "Classes",
23
+  2: "Files",
24
+  3: "Functions",
25
+  4: "Variables"
26
+};
27
+

+ 26
- 0
doc/en/html/search/variables_0.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="variables_0.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/variables_0.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['file',['file',['../classfilemanip.html#a2290120459afdb754263d99761fe5523',1,'filemanip']]]
4
+];

+ 26
- 0
doc/en/html/search/variables_1.html 查看文件

@@ -0,0 +1,26 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html><head><title></title>
3
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
4
+<meta name="generator" content="Doxygen 1.8.9.1"/>
5
+<link rel="stylesheet" type="text/css" href="search.css"/>
6
+<script type="text/javascript" src="variables_1.js"></script>
7
+<script type="text/javascript" src="search.js"></script>
8
+</head>
9
+<body class="SRPage">
10
+<div id="SRIndex">
11
+<div class="SRStatus" id="Loading">Loading...</div>
12
+<div id="SRResults"></div>
13
+<script type="text/javascript"><!--
14
+createResults();
15
+--></script>
16
+<div class="SRStatus" id="Searching">Searching...</div>
17
+<div class="SRStatus" id="NoMatches">No Matches</div>
18
+<script type="text/javascript"><!--
19
+document.getElementById("Loading").style.display="none";
20
+document.getElementById("NoMatches").style.display="none";
21
+var searchResults = new SearchResults("searchResults");
22
+searchResults.Search();
23
+--></script>
24
+</div>
25
+</body>
26
+</html>

+ 4
- 0
doc/en/html/search/variables_1.js 查看文件

@@ -0,0 +1,4 @@
1
+var searchData=
2
+[
3
+  ['in',['in',['../classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6',1,'filemanip']]]
4
+];

二進制
doc/en/html/splitbar.png 查看文件


二進制
doc/en/html/sync_off.png 查看文件


二進制
doc/en/html/sync_on.png 查看文件


二進制
doc/en/html/tab_a.png 查看文件


二進制
doc/en/html/tab_b.png 查看文件


二進制
doc/en/html/tab_h.png 查看文件


二進制
doc/en/html/tab_s.png 查看文件


+ 60
- 0
doc/en/html/tabs.css 查看文件

@@ -0,0 +1,60 @@
1
+.tabs, .tabs2, .tabs3 {
2
+    background-image: url('tab_b.png');
3
+    width: 100%;
4
+    z-index: 101;
5
+    font-size: 13px;
6
+    font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
7
+}
8
+
9
+.tabs2 {
10
+    font-size: 10px;
11
+}
12
+.tabs3 {
13
+    font-size: 9px;
14
+}
15
+
16
+.tablist {
17
+    margin: 0;
18
+    padding: 0;
19
+    display: table;
20
+}
21
+
22
+.tablist li {
23
+    float: left;
24
+    display: table-cell;
25
+    background-image: url('tab_b.png');
26
+    line-height: 36px;
27
+    list-style: none;
28
+}
29
+
30
+.tablist a {
31
+    display: block;
32
+    padding: 0 20px;
33
+    font-weight: bold;
34
+    background-image:url('tab_s.png');
35
+    background-repeat:no-repeat;
36
+    background-position:right;
37
+    color: #283A5D;
38
+    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9);
39
+    text-decoration: none;
40
+    outline: none;
41
+}
42
+
43
+.tabs3 .tablist a {
44
+    padding: 0 10px;
45
+}
46
+
47
+.tablist a:hover {
48
+    background-image: url('tab_h.png');
49
+    background-repeat:repeat-x;
50
+    color: #fff;
51
+    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
52
+    text-decoration: none;
53
+}
54
+
55
+.tablist li.current a {
56
+    background-image: url('tab_a.png');
57
+    background-repeat:repeat-x;
58
+    color: #fff;
59
+    text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
60
+}

+ 21
- 0
doc/en/latex/Makefile 查看文件

@@ -0,0 +1,21 @@
1
+all: refman.pdf
2
+
3
+pdf: refman.pdf
4
+
5
+refman.pdf: clean refman.tex
6
+	pdflatex refman
7
+	makeindex refman.idx
8
+	pdflatex refman
9
+	latex_count=8 ; \
10
+	while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
11
+	    do \
12
+	      echo "Rerunning latex...." ;\
13
+	      pdflatex refman ;\
14
+	      latex_count=`expr $$latex_count - 1` ;\
15
+	    done
16
+	makeindex refman.idx
17
+	pdflatex refman
18
+
19
+
20
+clean:
21
+	rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf

+ 4
- 0
doc/en/latex/annotated.tex 查看文件

@@ -0,0 +1,4 @@
1
+\section{Class List}
2
+Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
3
+\item\contentsline{section}{\hyperlink{classfilemanip}{filemanip} }{\pageref{classfilemanip}}{}
4
+\end{DoxyCompactList}

+ 49
- 0
doc/en/latex/classfilemanip.tex 查看文件

@@ -0,0 +1,49 @@
1
+\hypertarget{classfilemanip}{}\section{filemanip Class Reference}
2
+\label{classfilemanip}\index{filemanip@{filemanip}}
3
+
4
+
5
+{\ttfamily \#include $<$filemanip.\+h$>$}
6
+
7
+\subsection*{Public Member Functions}
8
+\begin{DoxyCompactItemize}
9
+\item 
10
+\hypertarget{classfilemanip_a39d12f6e1f3dcff22bf54c0fe28f1e6f}{}\hyperlink{classfilemanip_a39d12f6e1f3dcff22bf54c0fe28f1e6f}{filemanip} ()\label{classfilemanip_a39d12f6e1f3dcff22bf54c0fe28f1e6f}
11
+
12
+\begin{DoxyCompactList}\small\item\em Constructor that sets a fixed dvd file. \end{DoxyCompactList}\item 
13
+\hypertarget{classfilemanip_a14b1ee925fb4b6eaeede53de271eb296}{}\hyperlink{classfilemanip_a14b1ee925fb4b6eaeede53de271eb296}{filemanip} (Q\+String filename)\label{classfilemanip_a14b1ee925fb4b6eaeede53de271eb296}
14
+
15
+\begin{DoxyCompactList}\small\item\em Constructor that sets a file. \end{DoxyCompactList}\item 
16
+\hypertarget{classfilemanip_acbbde8fc20a8f5c3e4ebc22d8711046d}{}Q\+String \hyperlink{classfilemanip_acbbde8fc20a8f5c3e4ebc22d8711046d}{getnext} ()\label{classfilemanip_acbbde8fc20a8f5c3e4ebc22d8711046d}
17
+
18
+\begin{DoxyCompactList}\small\item\em Returns the next file text line. \end{DoxyCompactList}\item 
19
+\hypertarget{classfilemanip_a211ae5ba5a3c5320bb9da90941690edd}{}void \hyperlink{classfilemanip_a211ae5ba5a3c5320bb9da90941690edd}{reset} ()\label{classfilemanip_a211ae5ba5a3c5320bb9da90941690edd}
20
+
21
+\begin{DoxyCompactList}\small\item\em File pointer points to the start of the file. \end{DoxyCompactList}\item 
22
+\hypertarget{classfilemanip_a8fe6ced260e2c7cb0deef92a02fd2e41}{}\hyperlink{classfilemanip_a8fe6ced260e2c7cb0deef92a02fd2e41}{$\sim$filemanip} ()\label{classfilemanip_a8fe6ced260e2c7cb0deef92a02fd2e41}
23
+
24
+\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
25
+\subsection*{Private Attributes}
26
+\begin{DoxyCompactItemize}
27
+\item 
28
+Q\+File $\ast$ \hyperlink{classfilemanip_a2290120459afdb754263d99761fe5523}{file}
29
+\item 
30
+Q\+Text\+Stream $\ast$ \hyperlink{classfilemanip_a3558c09c7972ba84cbb7352bd258bbf6}{in}
31
+\end{DoxyCompactItemize}
32
+
33
+
34
+\subsection{Detailed Description}
35
+A class to manipulate files. 
36
+
37
+\subsection{Member Data Documentation}
38
+\hypertarget{classfilemanip_a2290120459afdb754263d99761fe5523}{}\index{filemanip@{filemanip}!file@{file}}
39
+\index{file@{file}!filemanip@{filemanip}}
40
+\subsubsection[{file}]{\setlength{\rightskip}{0pt plus 5cm}Q\+File$\ast$ filemanip\+::file\hspace{0.3cm}{\ttfamily [private]}}\label{classfilemanip_a2290120459afdb754263d99761fe5523}
41
+pointer to a file / apuntador a un archivo \hypertarget{classfilemanip_a3558c09c7972ba84cbb7352bd258bbf6}{}\index{filemanip@{filemanip}!in@{in}}
42
+\index{in@{in}!filemanip@{filemanip}}
43
+\subsubsection[{in}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Text\+Stream$\ast$ filemanip\+::in\hspace{0.3cm}{\ttfamily [private]}}\label{classfilemanip_a3558c09c7972ba84cbb7352bd258bbf6}
44
+pointer to a text stream / apuntador a un flujo de entrada 
45
+
46
+The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
47
+\item 
48
+filemanip.\+h\item 
49
+filemanip.\+cpp\end{DoxyCompactItemize}

+ 480
- 0
doc/en/latex/doxygen.sty 查看文件

@@ -0,0 +1,480 @@
1
+\NeedsTeXFormat{LaTeX2e}
2
+\ProvidesPackage{doxygen}
3
+
4
+% Packages used by this style file
5
+\RequirePackage{alltt}
6
+\RequirePackage{array}
7
+\RequirePackage{calc}
8
+\RequirePackage{float}
9
+\RequirePackage{ifthen}
10
+\RequirePackage{verbatim}
11
+\RequirePackage[table]{xcolor}
12
+\RequirePackage{xtab}
13
+
14
+%---------- Internal commands used in this style file ----------------
15
+
16
+\newcommand{\ensurespace}[1]{%
17
+  \begingroup%
18
+    \setlength{\dimen@}{#1}%
19
+    \vskip\z@\@plus\dimen@%
20
+    \penalty -100\vskip\z@\@plus -\dimen@%
21
+    \vskip\dimen@%
22
+    \penalty 9999%
23
+    \vskip -\dimen@%
24
+    \vskip\z@skip% hide the previous |\vskip| from |\addvspace|
25
+  \endgroup%
26
+}
27
+
28
+\newcommand{\DoxyLabelFont}{}
29
+\newcommand{\entrylabel}[1]{%
30
+  {%
31
+    \parbox[b]{\labelwidth-4pt}{%
32
+      \makebox[0pt][l]{\DoxyLabelFont#1}%
33
+      \vspace{1.5\baselineskip}%
34
+    }%
35
+  }%
36
+}
37
+
38
+\newenvironment{DoxyDesc}[1]{%
39
+  \ensurespace{4\baselineskip}%
40
+  \begin{list}{}{%
41
+    \settowidth{\labelwidth}{20pt}%
42
+    \setlength{\parsep}{0pt}%
43
+    \setlength{\itemsep}{0pt}%
44
+    \setlength{\leftmargin}{\labelwidth+\labelsep}%
45
+    \renewcommand{\makelabel}{\entrylabel}%
46
+  }%
47
+  \item[#1]%
48
+}{%
49
+  \end{list}%
50
+}
51
+
52
+\newsavebox{\xrefbox}
53
+\newlength{\xreflength}
54
+\newcommand{\xreflabel}[1]{%
55
+  \sbox{\xrefbox}{#1}%
56
+  \setlength{\xreflength}{\wd\xrefbox}%
57
+  \ifthenelse{\xreflength>\labelwidth}{%
58
+    \begin{minipage}{\textwidth}%
59
+      \setlength{\parindent}{0pt}%
60
+      \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}%
61
+    \end{minipage}%
62
+  }{%
63
+   \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}%
64
+  }%
65
+}
66
+
67
+%---------- Commands used by doxygen LaTeX output generator ----------
68
+
69
+% Used by <pre> ... </pre>
70
+\newenvironment{DoxyPre}{%
71
+  \small%
72
+  \begin{alltt}%
73
+}{%
74
+  \end{alltt}%
75
+  \normalsize%
76
+}
77
+
78
+% Used by @code ... @endcode
79
+\newenvironment{DoxyCode}{%
80
+  \par%
81
+  \scriptsize%
82
+  \begin{alltt}%
83
+}{%
84
+  \end{alltt}%
85
+  \normalsize%
86
+}
87
+
88
+% Used by @example, @include, @includelineno and @dontinclude
89
+\newenvironment{DoxyCodeInclude}{%
90
+  \DoxyCode%
91
+}{%
92
+  \endDoxyCode%
93
+}
94
+
95
+% Used by @verbatim ... @endverbatim
96
+\newenvironment{DoxyVerb}{%
97
+  \footnotesize%
98
+  \verbatim%
99
+}{%
100
+  \endverbatim%
101
+  \normalsize%
102
+}
103
+
104
+% Used by @verbinclude
105
+\newenvironment{DoxyVerbInclude}{%
106
+  \DoxyVerb%
107
+}{%
108
+  \endDoxyVerb%
109
+}
110
+
111
+% Used by numbered lists (using '-#' or <ol> ... </ol>)
112
+\newenvironment{DoxyEnumerate}{%
113
+  \enumerate%
114
+}{%
115
+  \endenumerate%
116
+}
117
+
118
+% Used by bullet lists (using '-', @li, @arg, or <ul> ... </ul>)
119
+\newenvironment{DoxyItemize}{%
120
+  \itemize%
121
+}{%
122
+  \enditemize%
123
+}
124
+
125
+% Used by description lists (using <dl> ... </dl>)
126
+\newenvironment{DoxyDescription}{%
127
+  \description%
128
+}{%
129
+  \enddescription%
130
+}
131
+
132
+% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
133
+% (only if caption is specified)
134
+\newenvironment{DoxyImage}{%
135
+  \begin{figure}[H]%
136
+    \begin{center}%
137
+}{%
138
+    \end{center}%
139
+  \end{figure}%
140
+}
141
+
142
+% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
143
+% (only if no caption is specified)
144
+\newenvironment{DoxyImageNoCaption}{%
145
+  \begin{center}%
146
+}{%
147
+  \end{center}%
148
+}
149
+
150
+% Used by @attention
151
+\newenvironment{DoxyAttention}[1]{%
152
+  \begin{DoxyDesc}{#1}%
153
+}{%
154
+  \end{DoxyDesc}%
155
+}
156
+
157
+% Used by @author and @authors
158
+\newenvironment{DoxyAuthor}[1]{%
159
+  \begin{DoxyDesc}{#1}%
160
+}{%
161
+  \end{DoxyDesc}%
162
+}
163
+
164
+% Used by @date
165
+\newenvironment{DoxyDate}[1]{%
166
+  \begin{DoxyDesc}{#1}%
167
+}{%
168
+  \end{DoxyDesc}%
169
+}
170
+
171
+% Used by @invariant
172
+\newenvironment{DoxyInvariant}[1]{%
173
+  \begin{DoxyDesc}{#1}%
174
+}{%
175
+  \end{DoxyDesc}%
176
+}
177
+
178
+% Used by @note
179
+\newenvironment{DoxyNote}[1]{%
180
+  \begin{DoxyDesc}{#1}%
181
+}{%
182
+  \end{DoxyDesc}%
183
+}
184
+
185
+% Used by @post
186
+\newenvironment{DoxyPostcond}[1]{%
187
+  \begin{DoxyDesc}{#1}%
188
+}{%
189
+  \end{DoxyDesc}%
190
+}
191
+
192
+% Used by @pre
193
+\newenvironment{DoxyPrecond}[1]{%
194
+  \begin{DoxyDesc}{#1}%
195
+}{%
196
+  \end{DoxyDesc}%
197
+}
198
+
199
+% Used by @copyright
200
+\newenvironment{DoxyCopyright}[1]{%
201
+  \begin{DoxyDesc}{#1}%
202
+}{%
203
+  \end{DoxyDesc}%
204
+}
205
+
206
+% Used by @remark
207
+\newenvironment{DoxyRemark}[1]{%
208
+  \begin{DoxyDesc}{#1}%
209
+}{%
210
+  \end{DoxyDesc}%
211
+}
212
+
213
+% Used by @return and @returns
214
+\newenvironment{DoxyReturn}[1]{%
215
+  \begin{DoxyDesc}{#1}%
216
+}{%
217
+  \end{DoxyDesc}%
218
+}
219
+
220
+% Used by @since
221
+\newenvironment{DoxySince}[1]{%
222
+  \begin{DoxyDesc}{#1}%
223
+}{%
224
+  \end{DoxyDesc}%
225
+}
226
+
227
+% Used by @see
228
+\newenvironment{DoxySeeAlso}[1]{%
229
+  \begin{DoxyDesc}{#1}%
230
+}{%
231
+  \end{DoxyDesc}%
232
+}
233
+
234
+% Used by @version
235
+\newenvironment{DoxyVersion}[1]{%
236
+  \begin{DoxyDesc}{#1}%
237
+}{%
238
+  \end{DoxyDesc}%
239
+}
240
+
241
+% Used by @warning
242
+\newenvironment{DoxyWarning}[1]{%
243
+  \begin{DoxyDesc}{#1}%
244
+}{%
245
+  \end{DoxyDesc}%
246
+}
247
+
248
+% Used by @internal
249
+\newenvironment{DoxyInternal}[1]{%
250
+  \paragraph*{#1}%
251
+}{%
252
+}
253
+
254
+% Used by @par and @paragraph
255
+\newenvironment{DoxyParagraph}[1]{%
256
+  \begin{list}{}{%
257
+    \settowidth{\labelwidth}{40pt}%
258
+    \setlength{\leftmargin}{\labelwidth}%
259
+    \setlength{\parsep}{0pt}%
260
+    \setlength{\itemsep}{-4pt}%
261
+    \renewcommand{\makelabel}{\entrylabel}%
262
+  }%
263
+  \item[#1]%
264
+}{%
265
+  \end{list}%
266
+}
267
+
268
+% Used by parameter lists
269
+\newenvironment{DoxyParams}[2][]{%
270
+    \par%
271
+    \tabletail{\hline}%
272
+    \tablelasttail{\hline}%
273
+    \tablefirsthead{}%
274
+    \tablehead{}%
275
+    \ifthenelse{\equal{#1}{}}%
276
+    {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}%
277
+     \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|%
278
+                        p{0.805\textwidth}|}}%
279
+    {\ifthenelse{\equal{#1}{1}}%
280
+      {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}%
281
+       \begin{xtabular}{|>{\centering}p{0.10\textwidth}|%
282
+                         >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|%
283
+                         p{0.678\textwidth}|}}%
284
+      {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}%
285
+       \begin{xtabular}{|>{\centering}p{0.10\textwidth}|%
286
+                         >{\centering\hspace{0pt}}p{0.15\textwidth}|%
287
+                         >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|%
288
+                         p{0.501\textwidth}|}}%
289
+    }\hline%
290
+}{%
291
+    \end{xtabular}%
292
+    \tablefirsthead{}%
293
+    \vspace{6pt}%
294
+}
295
+
296
+% Used for fields of simple structs
297
+\newenvironment{DoxyFields}[1]{%
298
+    \par%
299
+    \tabletail{\hline}%
300
+    \tablelasttail{\hline}%
301
+    \tablehead{}%
302
+    \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}%
303
+    \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|%
304
+                         p{0.15\textwidth}|%
305
+                         p{0.63\textwidth}|}%
306
+    \hline%
307
+}{%
308
+    \end{xtabular}%
309
+    \tablefirsthead{}%
310
+    \vspace{6pt}%
311
+}
312
+
313
+% Used for parameters within a detailed function description
314
+\newenvironment{DoxyParamCaption}{%
315
+  \renewcommand{\item}[2][]{##1 {\em ##2}}%
316
+}{%
317
+}
318
+
319
+% Used by return value lists
320
+\newenvironment{DoxyRetVals}[1]{%
321
+    \par%
322
+    \tabletail{\hline}%
323
+    \tablelasttail{\hline}%
324
+    \tablehead{}%
325
+    \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}%
326
+    \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|%
327
+                          p{0.705\textwidth}|}%
328
+    \hline%
329
+}{%
330
+    \end{xtabular}%
331
+    \tablefirsthead{}%
332
+    \vspace{6pt}%
333
+}
334
+
335
+% Used by exception lists
336
+\newenvironment{DoxyExceptions}[1]{%
337
+    \par%
338
+    \tabletail{\hline}%
339
+    \tablelasttail{\hline}%
340
+    \tablehead{}%
341
+    \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}%
342
+    \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|%
343
+                          p{0.705\textwidth}|}%
344
+    \hline%
345
+}{%
346
+    \end{xtabular}%
347
+    \tablefirsthead{}%
348
+    \vspace{6pt}%
349
+}
350
+
351
+% Used by template parameter lists
352
+\newenvironment{DoxyTemplParams}[1]{%
353
+    \par%
354
+    \tabletail{\hline}%
355
+    \tablelasttail{\hline}%
356
+    \tablehead{}%
357
+    \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}%
358
+    \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|%
359
+                          p{0.705\textwidth}|}%
360
+    \hline%
361
+}{%
362
+    \end{xtabular}%
363
+    \tablefirsthead{}%
364
+    \vspace{6pt}%
365
+}
366
+
367
+% Used for member lists
368
+\newenvironment{DoxyCompactItemize}{%
369
+  \begin{itemize}%
370
+    \setlength{\itemsep}{-3pt}%
371
+    \setlength{\parsep}{0pt}%
372
+    \setlength{\topsep}{0pt}%
373
+    \setlength{\partopsep}{0pt}%
374
+}{%
375
+  \end{itemize}%
376
+}
377
+
378
+% Used for member descriptions
379
+\newenvironment{DoxyCompactList}{%
380
+  \begin{list}{}{%
381
+    \setlength{\leftmargin}{0.5cm}%
382
+    \setlength{\itemsep}{0pt}%
383
+    \setlength{\parsep}{0pt}%
384
+    \setlength{\topsep}{0pt}%
385
+    \renewcommand{\makelabel}{\hfill}%
386
+  }%
387
+}{%
388
+  \end{list}%
389
+}
390
+
391
+% Used for reference lists (@bug, @deprecated, @todo, etc.)
392
+\newenvironment{DoxyRefList}{%
393
+  \begin{list}{}{%
394
+    \setlength{\labelwidth}{10pt}%
395
+    \setlength{\leftmargin}{\labelwidth}%
396
+    \addtolength{\leftmargin}{\labelsep}%
397
+    \renewcommand{\makelabel}{\xreflabel}%
398
+  }%
399
+}{%
400
+  \end{list}%
401
+}
402
+
403
+% Used by @bug, @deprecated, @todo, etc.
404
+\newenvironment{DoxyRefDesc}[1]{%
405
+  \begin{list}{}{%
406
+    \renewcommand\makelabel[1]{\textbf{##1}}%
407
+    \settowidth\labelwidth{\makelabel{#1}}%
408
+    \setlength\leftmargin{\labelwidth+\labelsep}%
409
+  }%
410
+}{%
411
+  \end{list}%
412
+}
413
+
414
+% Used by parameter lists and simple sections
415
+\newenvironment{Desc}
416
+{\begin{list}{}{%
417
+    \settowidth{\labelwidth}{40pt}%
418
+    \setlength{\leftmargin}{\labelwidth}%
419
+    \setlength{\parsep}{0pt}%
420
+    \setlength{\itemsep}{-4pt}%
421
+    \renewcommand{\makelabel}{\entrylabel}%
422
+  }
423
+}{%
424
+  \end{list}%
425
+}
426
+
427
+% Used by tables
428
+\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}%
429
+\newlength{\tmplength}%
430
+\newenvironment{TabularC}[1]%
431
+{%
432
+\setlength{\tmplength}%
433
+     {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}%
434
+      \par\begin{xtabular*}{\linewidth}%
435
+             {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}%
436
+}%
437
+{\end{xtabular*}\par}%
438
+
439
+% Used by nested tables
440
+\newenvironment{TabularNC}[1]%
441
+{%
442
+\setlength{\tmplength}%
443
+     {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}%
444
+      \par\begin{tabular*}{\linewidth}%
445
+             {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}%
446
+}%
447
+{\end{tabular*}\par}%
448
+
449
+% Used for member group headers
450
+\newenvironment{Indent}{%
451
+  \begin{list}{}{%
452
+    \setlength{\leftmargin}{0.5cm}%
453
+  }%
454
+  \item[]\ignorespaces%
455
+}{%
456
+  \unskip%
457
+  \end{list}%
458
+}
459
+
460
+% Used when hyperlinks are turned off
461
+\newcommand{\doxyref}[3]{%
462
+  \textbf{#1} (\textnormal{#2}\,\pageref{#3})%
463
+}
464
+
465
+% Used by @addindex
466
+\newcommand{\lcurly}{\{}
467
+\newcommand{\rcurly}{\}}
468
+
469
+% Used for syntax highlighting
470
+\definecolor{comment}{rgb}{0.5,0.0,0.0}
471
+\definecolor{keyword}{rgb}{0.0,0.5,0.0}
472
+\definecolor{keywordtype}{rgb}{0.38,0.25,0.125}
473
+\definecolor{keywordflow}{rgb}{0.88,0.5,0.0}
474
+\definecolor{preprocessor}{rgb}{0.5,0.38,0.125}
475
+\definecolor{stringliteral}{rgb}{0.0,0.125,0.25}
476
+\definecolor{charliteral}{rgb}{0.0,0.5,0.5}
477
+\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0}
478
+\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43}
479
+\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0}
480
+\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0}

+ 6
- 0
doc/en/latex/files.tex 查看文件

@@ -0,0 +1,6 @@
1
+\section{File List}
2
+Here is a list of all documented files with brief descriptions\+:\begin{DoxyCompactList}
3
+\item\contentsline{section}{{\bfseries filemanip.\+h} }{\pageref{filemanip_8h}}{}
4
+\item\contentsline{section}{\hyperlink{movie_8cpp}{movie.\+cpp} }{\pageref{movie_8cpp}}{}
5
+\item\contentsline{section}{\hyperlink{movie_8h}{movie.\+h} }{\pageref{movie_8h}}{}
6
+\end{DoxyCompactList}

+ 312
- 0
doc/en/latex/movie_8cpp.tex 查看文件

@@ -0,0 +1,312 @@
1
+\hypertarget{movie_8cpp}{}\section{movie.\+cpp File Reference}
2
+\label{movie_8cpp}\index{movie.\+cpp@{movie.\+cpp}}
3
+{\ttfamily \#include \char`\"{}movie.\+h\char`\"{}}\\*
4
+\subsection*{Functions}
5
+\begin{DoxyCompactItemize}
6
+\item 
7
+string \hyperlink{movie_8cpp_a5cd9879ec2e8c19fb7bea1b7eff92306}{get\+Movie\+By\+Position} (int position, \hyperlink{classfilemanip}{filemanip} \&file)
8
+\begin{DoxyCompactList}\small\item\em Finds a movie in position position of a file and returns the name of the movie. \end{DoxyCompactList}\item 
9
+string \hyperlink{movie_8cpp_a14872b961b612dd2ed0e848e205432ab}{get\+Movie\+By\+Name} (string moviename, \hyperlink{classfilemanip}{filemanip} \&file)
10
+\begin{DoxyCompactList}\small\item\em Finds the information of a movie given its name. \end{DoxyCompactList}\item 
11
+void \hyperlink{movie_8cpp_ad7046e791da7846c172e7277aaf94d14}{show\+Movie} (string movieinfo)
12
+\begin{DoxyCompactList}\small\item\em Display the movie information of a $\vert$ separated line with movie info. Example line\+: Ninja Turtles\+: The Next Mutation, Vol. 1$\vert$\+Shout! Factory$\vert$$\vert$\+Out$\vert$2.0$\vert$4\+:3$\vert$19.93$\vert$\+N\+R$\vert$1997$\vert$. \end{DoxyCompactList}\item 
13
+void \hyperlink{movie_8cpp_a1ac8811db306ce6205ddc638ce02963e}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&file, int start, int end)
14
+\begin{DoxyCompactList}\small\item\em Display the information of the movies in a file from line start to line end. \end{DoxyCompactList}\item 
15
+void \hyperlink{movie_8cpp_a2200ec80d18eede5241b99afcffb509a}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&file, string keyword)
16
+\begin{DoxyCompactList}\small\item\em Display the information of the movies whose name contains a given keyword. \end{DoxyCompactList}\item 
17
+string \hyperlink{movie_8cpp_aa89f412c80723cef362fdb6ac54c3a46}{get\+Movie\+Name} (string movieinfo)
18
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie name. \end{DoxyCompactList}\item 
19
+string \hyperlink{movie_8cpp_a4d7282011b6c01bf329c55be741e491b}{get\+Movie\+Rating} (string movieinfo)
20
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie rating. \end{DoxyCompactList}\item 
21
+string \hyperlink{movie_8cpp_a658aabb68db11d7b29c54c777bd68207}{get\+Movie\+Year} (string movieinfo)
22
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie release year. \end{DoxyCompactList}\item 
23
+string \hyperlink{movie_8cpp_a587b63fb2f1c6ff6aa0bbfd12ebbdb46}{get\+Movie\+Genre} (string movieinfo)
24
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie genre. \end{DoxyCompactList}\item 
25
+void \hyperlink{movie_8cpp_a9057c8190a50e3b94cb358ee7f9f7efb}{get\+Movie\+Info} (string movieinfo, string \&name, string \&rating, string \&year, string \&genre)
26
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns by reference the movie name, rating, year, and genre. \end{DoxyCompactList}\item 
27
+string \hyperlink{movie_8cpp_a2c66ce60f7a568afd7a8c2394700e3b1}{get\+Movie\+Studio} (string movieinfo)
28
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) \end{DoxyCompactList}\item 
29
+void \hyperlink{movie_8cpp_a724308b84548b6b3f247022f07720dc5}{get\+Movie\+Info} (string movieinfo, string \&name, string \&rating, string \&year, string \&genre, string \&studio)
30
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) \end{DoxyCompactList}\item 
31
+void \hyperlink{movie_8cpp_ae2bfae6f7267aa64eaa2b9a1900879e3}{show\+Movie\+In\+Line} (string movieinfo)
32
+\begin{DoxyCompactList}\small\item\em Display the movie information of a $\vert$ separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) \end{DoxyCompactList}\item 
33
+void \hyperlink{movie_8cpp_ac3694a5a7bee33f0085a41fd784a366b}{show\+Movies\+In\+Line} (\hyperlink{classfilemanip}{filemanip} \&file, int start, int end)
34
+\begin{DoxyCompactList}\small\item\em Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) \end{DoxyCompactList}\end{DoxyCompactItemize}
35
+
36
+
37
+\subsection{Function Documentation}
38
+\hypertarget{movie_8cpp_a14872b961b612dd2ed0e848e205432ab}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+By\+Name@{get\+Movie\+By\+Name}}
39
+\index{get\+Movie\+By\+Name@{get\+Movie\+By\+Name}!movie.\+cpp@{movie.\+cpp}}
40
+\subsubsection[{get\+Movie\+By\+Name}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+By\+Name (
41
+\begin{DoxyParamCaption}
42
+\item[{string}]{moviename, }
43
+\item[{{\bf filemanip} \&}]{file}
44
+\end{DoxyParamCaption}
45
+)}\label{movie_8cpp_a14872b961b612dd2ed0e848e205432ab}
46
+
47
+
48
+Finds the information of a movie given its name. 
49
+
50
+
51
+\begin{DoxyParams}{Parameters}
52
+{\em moviename} & The name of the movie \\
53
+\hline
54
+{\em file} & A file pointer \\
55
+\hline
56
+\end{DoxyParams}
57
+\begin{DoxyReturn}{Returns}
58
+One line with the information of the movie separated by $\vert$ (pipes) 
59
+\end{DoxyReturn}
60
+\hypertarget{movie_8cpp_a5cd9879ec2e8c19fb7bea1b7eff92306}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+By\+Position@{get\+Movie\+By\+Position}}
61
+\index{get\+Movie\+By\+Position@{get\+Movie\+By\+Position}!movie.\+cpp@{movie.\+cpp}}
62
+\subsubsection[{get\+Movie\+By\+Position}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+By\+Position (
63
+\begin{DoxyParamCaption}
64
+\item[{int}]{position, }
65
+\item[{{\bf filemanip} \&}]{file}
66
+\end{DoxyParamCaption}
67
+)}\label{movie_8cpp_a5cd9879ec2e8c19fb7bea1b7eff92306}
68
+
69
+
70
+Finds a movie in position position of a file and returns the name of the movie. 
71
+
72
+
73
+\begin{DoxyParams}{Parameters}
74
+{\em position} & Position of the movie in the file \\
75
+\hline
76
+{\em file} & A file pointer \\
77
+\hline
78
+\end{DoxyParams}
79
+\begin{DoxyReturn}{Returns}
80
+The name of the movie 
81
+\end{DoxyReturn}
82
+\hypertarget{movie_8cpp_a587b63fb2f1c6ff6aa0bbfd12ebbdb46}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Genre@{get\+Movie\+Genre}}
83
+\index{get\+Movie\+Genre@{get\+Movie\+Genre}!movie.\+cpp@{movie.\+cpp}}
84
+\subsubsection[{get\+Movie\+Genre}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Genre (
85
+\begin{DoxyParamCaption}
86
+\item[{string}]{movieinfo}
87
+\end{DoxyParamCaption}
88
+)}\label{movie_8cpp_a587b63fb2f1c6ff6aa0bbfd12ebbdb46}
89
+
90
+
91
+Given a movie line from the file returns the movie genre. 
92
+
93
+
94
+\begin{DoxyParams}{Parameters}
95
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
96
+\hline
97
+\end{DoxyParams}
98
+\begin{DoxyReturn}{Returns}
99
+The movie genre. 
100
+\end{DoxyReturn}
101
+\hypertarget{movie_8cpp_a9057c8190a50e3b94cb358ee7f9f7efb}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Info@{get\+Movie\+Info}}
102
+\index{get\+Movie\+Info@{get\+Movie\+Info}!movie.\+cpp@{movie.\+cpp}}
103
+\subsubsection[{get\+Movie\+Info}]{\setlength{\rightskip}{0pt plus 5cm}void get\+Movie\+Info (
104
+\begin{DoxyParamCaption}
105
+\item[{string}]{movieinfo, }
106
+\item[{string \&}]{name, }
107
+\item[{string \&}]{rating, }
108
+\item[{string \&}]{year, }
109
+\item[{string \&}]{genre}
110
+\end{DoxyParamCaption}
111
+)}\label{movie_8cpp_a9057c8190a50e3b94cb358ee7f9f7efb}
112
+
113
+
114
+Given a movie line from the file returns by reference the movie name, rating, year, and genre. 
115
+
116
+
117
+\begin{DoxyParams}{Parameters}
118
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
119
+\hline
120
+\end{DoxyParams}
121
+\hypertarget{movie_8cpp_a724308b84548b6b3f247022f07720dc5}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Info@{get\+Movie\+Info}}
122
+\index{get\+Movie\+Info@{get\+Movie\+Info}!movie.\+cpp@{movie.\+cpp}}
123
+\subsubsection[{get\+Movie\+Info}]{\setlength{\rightskip}{0pt plus 5cm}void get\+Movie\+Info (
124
+\begin{DoxyParamCaption}
125
+\item[{string}]{movieinfo, }
126
+\item[{string \&}]{name, }
127
+\item[{string \&}]{rating, }
128
+\item[{string \&}]{year, }
129
+\item[{string \&}]{genre, }
130
+\item[{string \&}]{studio}
131
+\end{DoxyParamCaption}
132
+)}\label{movie_8cpp_a724308b84548b6b3f247022f07720dc5}
133
+
134
+
135
+Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) 
136
+
137
+
138
+\begin{DoxyParams}{Parameters}
139
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
140
+\hline
141
+\end{DoxyParams}
142
+\hypertarget{movie_8cpp_aa89f412c80723cef362fdb6ac54c3a46}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Name@{get\+Movie\+Name}}
143
+\index{get\+Movie\+Name@{get\+Movie\+Name}!movie.\+cpp@{movie.\+cpp}}
144
+\subsubsection[{get\+Movie\+Name}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Name (
145
+\begin{DoxyParamCaption}
146
+\item[{string}]{movieinfo}
147
+\end{DoxyParamCaption}
148
+)}\label{movie_8cpp_aa89f412c80723cef362fdb6ac54c3a46}
149
+
150
+
151
+Given a movie line from the file returns the movie name. 
152
+
153
+
154
+\begin{DoxyParams}{Parameters}
155
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
156
+\hline
157
+\end{DoxyParams}
158
+\begin{DoxyReturn}{Returns}
159
+Movie name 
160
+\end{DoxyReturn}
161
+\hypertarget{movie_8cpp_a4d7282011b6c01bf329c55be741e491b}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Rating@{get\+Movie\+Rating}}
162
+\index{get\+Movie\+Rating@{get\+Movie\+Rating}!movie.\+cpp@{movie.\+cpp}}
163
+\subsubsection[{get\+Movie\+Rating}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Rating (
164
+\begin{DoxyParamCaption}
165
+\item[{string}]{movieinfo}
166
+\end{DoxyParamCaption}
167
+)}\label{movie_8cpp_a4d7282011b6c01bf329c55be741e491b}
168
+
169
+
170
+Given a movie line from the file returns the movie rating. 
171
+
172
+
173
+\begin{DoxyParams}{Parameters}
174
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
175
+\hline
176
+\end{DoxyParams}
177
+\begin{DoxyReturn}{Returns}
178
+The movie rating 
179
+\end{DoxyReturn}
180
+\hypertarget{movie_8cpp_a2c66ce60f7a568afd7a8c2394700e3b1}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Studio@{get\+Movie\+Studio}}
181
+\index{get\+Movie\+Studio@{get\+Movie\+Studio}!movie.\+cpp@{movie.\+cpp}}
182
+\subsubsection[{get\+Movie\+Studio}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Studio (
183
+\begin{DoxyParamCaption}
184
+\item[{string}]{movieinfo}
185
+\end{DoxyParamCaption}
186
+)}\label{movie_8cpp_a2c66ce60f7a568afd7a8c2394700e3b1}
187
+
188
+
189
+Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) 
190
+
191
+
192
+\begin{DoxyParams}{Parameters}
193
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
194
+\hline
195
+\end{DoxyParams}
196
+\begin{DoxyReturn}{Returns}
197
+The movie studio. 
198
+\end{DoxyReturn}
199
+\hypertarget{movie_8cpp_a658aabb68db11d7b29c54c777bd68207}{}\index{movie.\+cpp@{movie.\+cpp}!get\+Movie\+Year@{get\+Movie\+Year}}
200
+\index{get\+Movie\+Year@{get\+Movie\+Year}!movie.\+cpp@{movie.\+cpp}}
201
+\subsubsection[{get\+Movie\+Year}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Year (
202
+\begin{DoxyParamCaption}
203
+\item[{string}]{movieinfo}
204
+\end{DoxyParamCaption}
205
+)}\label{movie_8cpp_a658aabb68db11d7b29c54c777bd68207}
206
+
207
+
208
+Given a movie line from the file returns the movie release year. 
209
+
210
+
211
+\begin{DoxyParams}{Parameters}
212
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
213
+\hline
214
+\end{DoxyParams}
215
+\begin{DoxyReturn}{Returns}
216
+The movie release year. 
217
+\end{DoxyReturn}
218
+\hypertarget{movie_8cpp_ad7046e791da7846c172e7277aaf94d14}{}\index{movie.\+cpp@{movie.\+cpp}!show\+Movie@{show\+Movie}}
219
+\index{show\+Movie@{show\+Movie}!movie.\+cpp@{movie.\+cpp}}
220
+\subsubsection[{show\+Movie}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movie (
221
+\begin{DoxyParamCaption}
222
+\item[{string}]{movieinfo}
223
+\end{DoxyParamCaption}
224
+)}\label{movie_8cpp_ad7046e791da7846c172e7277aaf94d14}
225
+
226
+
227
+Display the movie information of a $\vert$ separated line with movie info. Example line\+: Ninja Turtles\+: The Next Mutation, Vol. 1$\vert$\+Shout! Factory$\vert$$\vert$\+Out$\vert$2.0$\vert$4\+:3$\vert$19.93$\vert$\+N\+R$\vert$1997$\vert$. 
228
+
229
+
230
+\begin{DoxyParams}{Parameters}
231
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
232
+\hline
233
+\end{DoxyParams}
234
+\hypertarget{movie_8cpp_ae2bfae6f7267aa64eaa2b9a1900879e3}{}\index{movie.\+cpp@{movie.\+cpp}!show\+Movie\+In\+Line@{show\+Movie\+In\+Line}}
235
+\index{show\+Movie\+In\+Line@{show\+Movie\+In\+Line}!movie.\+cpp@{movie.\+cpp}}
236
+\subsubsection[{show\+Movie\+In\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movie\+In\+Line (
237
+\begin{DoxyParamCaption}
238
+\item[{string}]{movieinfo}
239
+\end{DoxyParamCaption}
240
+)}\label{movie_8cpp_ae2bfae6f7267aa64eaa2b9a1900879e3}
241
+
242
+
243
+Display the movie information of a $\vert$ separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) 
244
+
245
+
246
+\begin{DoxyParams}{Parameters}
247
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
248
+\hline
249
+\end{DoxyParams}
250
+\hypertarget{movie_8cpp_a1ac8811db306ce6205ddc638ce02963e}{}\index{movie.\+cpp@{movie.\+cpp}!show\+Movies@{show\+Movies}}
251
+\index{show\+Movies@{show\+Movies}!movie.\+cpp@{movie.\+cpp}}
252
+\subsubsection[{show\+Movies}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies (
253
+\begin{DoxyParamCaption}
254
+\item[{{\bf filemanip} \&}]{file, }
255
+\item[{int}]{start, }
256
+\item[{int}]{end}
257
+\end{DoxyParamCaption}
258
+)}\label{movie_8cpp_a1ac8811db306ce6205ddc638ce02963e}
259
+
260
+
261
+Display the information of the movies in a file from line start to line end. 
262
+
263
+
264
+\begin{DoxyParams}{Parameters}
265
+{\em file} & Pointer to a file. \\
266
+\hline
267
+{\em start} & Line in the file to start showing movie info. \\
268
+\hline
269
+{\em end} & Line in the file to stop showing movie information. \\
270
+\hline
271
+\end{DoxyParams}
272
+\hypertarget{movie_8cpp_a2200ec80d18eede5241b99afcffb509a}{}\index{movie.\+cpp@{movie.\+cpp}!show\+Movies@{show\+Movies}}
273
+\index{show\+Movies@{show\+Movies}!movie.\+cpp@{movie.\+cpp}}
274
+\subsubsection[{show\+Movies}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies (
275
+\begin{DoxyParamCaption}
276
+\item[{{\bf filemanip} \&}]{file, }
277
+\item[{string}]{keyword}
278
+\end{DoxyParamCaption}
279
+)}\label{movie_8cpp_a2200ec80d18eede5241b99afcffb509a}
280
+
281
+
282
+Display the information of the movies whose name contains a given keyword. 
283
+
284
+
285
+\begin{DoxyParams}{Parameters}
286
+{\em file} & Pointer to a file. \\
287
+\hline
288
+{\em keyword} & Keyword to search in the name of the movies. \\
289
+\hline
290
+\end{DoxyParams}
291
+\hypertarget{movie_8cpp_ac3694a5a7bee33f0085a41fd784a366b}{}\index{movie.\+cpp@{movie.\+cpp}!show\+Movies\+In\+Line@{show\+Movies\+In\+Line}}
292
+\index{show\+Movies\+In\+Line@{show\+Movies\+In\+Line}!movie.\+cpp@{movie.\+cpp}}
293
+\subsubsection[{show\+Movies\+In\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies\+In\+Line (
294
+\begin{DoxyParamCaption}
295
+\item[{{\bf filemanip} \&}]{file, }
296
+\item[{int}]{start, }
297
+\item[{int}]{end}
298
+\end{DoxyParamCaption}
299
+)}\label{movie_8cpp_ac3694a5a7bee33f0085a41fd784a366b}
300
+
301
+
302
+Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) 
303
+
304
+
305
+\begin{DoxyParams}{Parameters}
306
+{\em file} & Pointer to a file. \\
307
+\hline
308
+{\em start} & Line in the file to start showing movie info. \\
309
+\hline
310
+{\em end} & Line in the file to stop showing movie information. \\
311
+\hline
312
+\end{DoxyParams}

+ 317
- 0
doc/en/latex/movie_8h.tex 查看文件

@@ -0,0 +1,317 @@
1
+\hypertarget{movie_8h}{}\section{movie.\+h File Reference}
2
+\label{movie_8h}\index{movie.\+h@{movie.\+h}}
3
+{\ttfamily \#include $<$string$>$}\\*
4
+{\ttfamily \#include $<$Q\+Debug$>$}\\*
5
+{\ttfamily \#include \char`\"{}filemanip.\+h\char`\"{}}\\*
6
+{\ttfamily \#include $<$Q\+String$>$}\\*
7
+{\ttfamily \#include $<$Q\+String\+List$>$}\\*
8
+{\ttfamily \#include $<$iostream$>$}\\*
9
+\subsection*{Functions}
10
+\begin{DoxyCompactItemize}
11
+\item 
12
+string \hyperlink{movie_8h_aa2ca3be9f1d904e9f177faa425745236}{get\+Movie\+By\+Name} (string, \hyperlink{classfilemanip}{filemanip} \&)
13
+\begin{DoxyCompactList}\small\item\em Finds the information of a movie given its name. \end{DoxyCompactList}\item 
14
+string \hyperlink{movie_8h_aebd1da153f25f87661ac630b47737097}{get\+Movie\+By\+Position} (int, \hyperlink{classfilemanip}{filemanip} \&)
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
+void \hyperlink{movie_8h_a39efa4469877528f52e365bba5d35c30}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&, int=1, int=10)
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
+void \hyperlink{movie_8h_a65da80af0fbc68d3cb7de763d2c944ea}{show\+Movies} (\hyperlink{classfilemanip}{filemanip} \&, string)
19
+\begin{DoxyCompactList}\small\item\em Display the information of the movies whose name contains a given keyword. \end{DoxyCompactList}\item 
20
+void \hyperlink{movie_8h_af71e2fccff041af5f808e210a9cbb06f}{show\+Movie} (string)
21
+\begin{DoxyCompactList}\small\item\em Display the movie information of a $\vert$ separated line with movie info. Example line\+: Ninja Turtles\+: The Next Mutation, Vol. 1$\vert$\+Shout! Factory$\vert$$\vert$\+Out$\vert$2.0$\vert$4\+:3$\vert$19.93$\vert$\+N\+R$\vert$1997$\vert$. \end{DoxyCompactList}\item 
22
+string \hyperlink{movie_8h_a5b13bb4e2035100dcf27abad21a2e862}{get\+Movie\+Name} (string)
23
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie name. \end{DoxyCompactList}\item 
24
+string \hyperlink{movie_8h_af50291017de186a0a663e8418d65b7ef}{get\+Movie\+Rating} (string)
25
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie rating. \end{DoxyCompactList}\item 
26
+string \hyperlink{movie_8h_ad378998f3ab769b47a1bbc4672496f45}{get\+Movie\+Year} (string)
27
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie release year. \end{DoxyCompactList}\item 
28
+string \hyperlink{movie_8h_aaa2e1332e82b931cf45663e755cc2302}{get\+Movie\+Genre} (string)
29
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie genre. \end{DoxyCompactList}\item 
30
+void \hyperlink{movie_8h_ac0080d980b2f73f9eaa089f8eddeba60}{get\+Movie\+Info} (string, string \&, string \&, string \&, string \&)
31
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns by reference the movie name, rating, year, and genre. \end{DoxyCompactList}\item 
32
+string \hyperlink{movie_8h_af2c27f6eccc9bc99e5b3fb5a543e3d20}{get\+Movie\+Studio} (string)
33
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) \end{DoxyCompactList}\item 
34
+void \hyperlink{movie_8h_a41d3c7f88313d320640b5fbca273b757}{get\+Movie\+Info} (string, string \&, string \&, string \&, string \&, string \&)
35
+\begin{DoxyCompactList}\small\item\em Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) \end{DoxyCompactList}\item 
36
+void \hyperlink{movie_8h_abee243a60adc5d86608a02572cc98e5e}{show\+Movie\+In\+Line} (string)
37
+\begin{DoxyCompactList}\small\item\em Display the movie information of a $\vert$ separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) \end{DoxyCompactList}\item 
38
+void \hyperlink{movie_8h_a88d10eeb7ba4c05fde974ef8602af4fe}{show\+Movies\+In\+Line} (\hyperlink{classfilemanip}{filemanip} \&, int=1, int=10)
39
+\begin{DoxyCompactList}\small\item\em Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) \end{DoxyCompactList}\end{DoxyCompactItemize}
40
+
41
+
42
+\subsection{Function Documentation}
43
+\hypertarget{movie_8h_aa2ca3be9f1d904e9f177faa425745236}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+By\+Name@{get\+Movie\+By\+Name}}
44
+\index{get\+Movie\+By\+Name@{get\+Movie\+By\+Name}!movie.\+h@{movie.\+h}}
45
+\subsubsection[{get\+Movie\+By\+Name}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+By\+Name (
46
+\begin{DoxyParamCaption}
47
+\item[{string}]{moviename, }
48
+\item[{{\bf filemanip} \&}]{file}
49
+\end{DoxyParamCaption}
50
+)}\label{movie_8h_aa2ca3be9f1d904e9f177faa425745236}
51
+
52
+
53
+Finds the information of a movie given its name. 
54
+
55
+
56
+\begin{DoxyParams}{Parameters}
57
+{\em moviename} & The name of the movie \\
58
+\hline
59
+{\em file} & A file pointer \\
60
+\hline
61
+\end{DoxyParams}
62
+\begin{DoxyReturn}{Returns}
63
+One line with the information of the movie separated by $\vert$ (pipes) 
64
+\end{DoxyReturn}
65
+\hypertarget{movie_8h_aebd1da153f25f87661ac630b47737097}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+By\+Position@{get\+Movie\+By\+Position}}
66
+\index{get\+Movie\+By\+Position@{get\+Movie\+By\+Position}!movie.\+h@{movie.\+h}}
67
+\subsubsection[{get\+Movie\+By\+Position}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+By\+Position (
68
+\begin{DoxyParamCaption}
69
+\item[{int}]{position, }
70
+\item[{{\bf filemanip} \&}]{file}
71
+\end{DoxyParamCaption}
72
+)}\label{movie_8h_aebd1da153f25f87661ac630b47737097}
73
+
74
+
75
+Finds a movie in position position of a file and returns the name of the movie. 
76
+
77
+
78
+\begin{DoxyParams}{Parameters}
79
+{\em position} & Position of the movie in the file \\
80
+\hline
81
+{\em file} & A file pointer \\
82
+\hline
83
+\end{DoxyParams}
84
+\begin{DoxyReturn}{Returns}
85
+The name of the movie 
86
+\end{DoxyReturn}
87
+\hypertarget{movie_8h_aaa2e1332e82b931cf45663e755cc2302}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Genre@{get\+Movie\+Genre}}
88
+\index{get\+Movie\+Genre@{get\+Movie\+Genre}!movie.\+h@{movie.\+h}}
89
+\subsubsection[{get\+Movie\+Genre}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Genre (
90
+\begin{DoxyParamCaption}
91
+\item[{string}]{movieinfo}
92
+\end{DoxyParamCaption}
93
+)}\label{movie_8h_aaa2e1332e82b931cf45663e755cc2302}
94
+
95
+
96
+Given a movie line from the file returns the movie genre. 
97
+
98
+
99
+\begin{DoxyParams}{Parameters}
100
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
101
+\hline
102
+\end{DoxyParams}
103
+\begin{DoxyReturn}{Returns}
104
+The movie genre. 
105
+\end{DoxyReturn}
106
+\hypertarget{movie_8h_ac0080d980b2f73f9eaa089f8eddeba60}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Info@{get\+Movie\+Info}}
107
+\index{get\+Movie\+Info@{get\+Movie\+Info}!movie.\+h@{movie.\+h}}
108
+\subsubsection[{get\+Movie\+Info}]{\setlength{\rightskip}{0pt plus 5cm}void get\+Movie\+Info (
109
+\begin{DoxyParamCaption}
110
+\item[{string}]{movieinfo, }
111
+\item[{string \&}]{name, }
112
+\item[{string \&}]{rating, }
113
+\item[{string \&}]{year, }
114
+\item[{string \&}]{genre}
115
+\end{DoxyParamCaption}
116
+)}\label{movie_8h_ac0080d980b2f73f9eaa089f8eddeba60}
117
+
118
+
119
+Given a movie line from the file returns by reference the movie name, rating, year, and genre. 
120
+
121
+
122
+\begin{DoxyParams}{Parameters}
123
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
124
+\hline
125
+\end{DoxyParams}
126
+\hypertarget{movie_8h_a41d3c7f88313d320640b5fbca273b757}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Info@{get\+Movie\+Info}}
127
+\index{get\+Movie\+Info@{get\+Movie\+Info}!movie.\+h@{movie.\+h}}
128
+\subsubsection[{get\+Movie\+Info}]{\setlength{\rightskip}{0pt plus 5cm}void get\+Movie\+Info (
129
+\begin{DoxyParamCaption}
130
+\item[{string}]{movieinfo, }
131
+\item[{string \&}]{name, }
132
+\item[{string \&}]{rating, }
133
+\item[{string \&}]{year, }
134
+\item[{string \&}]{genre, }
135
+\item[{string \&}]{studio}
136
+\end{DoxyParamCaption}
137
+)}\label{movie_8h_a41d3c7f88313d320640b5fbca273b757}
138
+
139
+
140
+Given a movie line from the file returns by reference the movie name, rating, year, genre, and studio. Answer to (Exercise 3, question 2) 
141
+
142
+
143
+\begin{DoxyParams}{Parameters}
144
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
145
+\hline
146
+\end{DoxyParams}
147
+\hypertarget{movie_8h_a5b13bb4e2035100dcf27abad21a2e862}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Name@{get\+Movie\+Name}}
148
+\index{get\+Movie\+Name@{get\+Movie\+Name}!movie.\+h@{movie.\+h}}
149
+\subsubsection[{get\+Movie\+Name}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Name (
150
+\begin{DoxyParamCaption}
151
+\item[{string}]{movieinfo}
152
+\end{DoxyParamCaption}
153
+)}\label{movie_8h_a5b13bb4e2035100dcf27abad21a2e862}
154
+
155
+
156
+Given a movie line from the file returns the movie name. 
157
+
158
+
159
+\begin{DoxyParams}{Parameters}
160
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
161
+\hline
162
+\end{DoxyParams}
163
+\begin{DoxyReturn}{Returns}
164
+Movie name 
165
+\end{DoxyReturn}
166
+\hypertarget{movie_8h_af50291017de186a0a663e8418d65b7ef}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Rating@{get\+Movie\+Rating}}
167
+\index{get\+Movie\+Rating@{get\+Movie\+Rating}!movie.\+h@{movie.\+h}}
168
+\subsubsection[{get\+Movie\+Rating}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Rating (
169
+\begin{DoxyParamCaption}
170
+\item[{string}]{movieinfo}
171
+\end{DoxyParamCaption}
172
+)}\label{movie_8h_af50291017de186a0a663e8418d65b7ef}
173
+
174
+
175
+Given a movie line from the file returns the movie rating. 
176
+
177
+
178
+\begin{DoxyParams}{Parameters}
179
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
180
+\hline
181
+\end{DoxyParams}
182
+\begin{DoxyReturn}{Returns}
183
+The movie rating 
184
+\end{DoxyReturn}
185
+\hypertarget{movie_8h_af2c27f6eccc9bc99e5b3fb5a543e3d20}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Studio@{get\+Movie\+Studio}}
186
+\index{get\+Movie\+Studio@{get\+Movie\+Studio}!movie.\+h@{movie.\+h}}
187
+\subsubsection[{get\+Movie\+Studio}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Studio (
188
+\begin{DoxyParamCaption}
189
+\item[{string}]{movieinfo}
190
+\end{DoxyParamCaption}
191
+)}\label{movie_8h_af2c27f6eccc9bc99e5b3fb5a543e3d20}
192
+
193
+
194
+Given a movie line from the file returns the movie studio. Answer to (Exercise 3, question 1) 
195
+
196
+
197
+\begin{DoxyParams}{Parameters}
198
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
199
+\hline
200
+\end{DoxyParams}
201
+\begin{DoxyReturn}{Returns}
202
+The movie studio. 
203
+\end{DoxyReturn}
204
+\hypertarget{movie_8h_ad378998f3ab769b47a1bbc4672496f45}{}\index{movie.\+h@{movie.\+h}!get\+Movie\+Year@{get\+Movie\+Year}}
205
+\index{get\+Movie\+Year@{get\+Movie\+Year}!movie.\+h@{movie.\+h}}
206
+\subsubsection[{get\+Movie\+Year}]{\setlength{\rightskip}{0pt plus 5cm}string get\+Movie\+Year (
207
+\begin{DoxyParamCaption}
208
+\item[{string}]{movieinfo}
209
+\end{DoxyParamCaption}
210
+)}\label{movie_8h_ad378998f3ab769b47a1bbc4672496f45}
211
+
212
+
213
+Given a movie line from the file returns the movie release year. 
214
+
215
+
216
+\begin{DoxyParams}{Parameters}
217
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
218
+\hline
219
+\end{DoxyParams}
220
+\begin{DoxyReturn}{Returns}
221
+The movie release year. 
222
+\end{DoxyReturn}
223
+\hypertarget{movie_8h_af71e2fccff041af5f808e210a9cbb06f}{}\index{movie.\+h@{movie.\+h}!show\+Movie@{show\+Movie}}
224
+\index{show\+Movie@{show\+Movie}!movie.\+h@{movie.\+h}}
225
+\subsubsection[{show\+Movie}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movie (
226
+\begin{DoxyParamCaption}
227
+\item[{string}]{movieinfo}
228
+\end{DoxyParamCaption}
229
+)}\label{movie_8h_af71e2fccff041af5f808e210a9cbb06f}
230
+
231
+
232
+Display the movie information of a $\vert$ separated line with movie info. Example line\+: Ninja Turtles\+: The Next Mutation, Vol. 1$\vert$\+Shout! Factory$\vert$$\vert$\+Out$\vert$2.0$\vert$4\+:3$\vert$19.93$\vert$\+N\+R$\vert$1997$\vert$. 
233
+
234
+
235
+\begin{DoxyParams}{Parameters}
236
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
237
+\hline
238
+\end{DoxyParams}
239
+\hypertarget{movie_8h_abee243a60adc5d86608a02572cc98e5e}{}\index{movie.\+h@{movie.\+h}!show\+Movie\+In\+Line@{show\+Movie\+In\+Line}}
240
+\index{show\+Movie\+In\+Line@{show\+Movie\+In\+Line}!movie.\+h@{movie.\+h}}
241
+\subsubsection[{show\+Movie\+In\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movie\+In\+Line (
242
+\begin{DoxyParamCaption}
243
+\item[{string}]{movieinfo}
244
+\end{DoxyParamCaption}
245
+)}\label{movie_8h_abee243a60adc5d86608a02572cc98e5e}
246
+
247
+
248
+Display the movie information of a $\vert$ separated line with movie info. The info is displayed in one line identified by its fields. Answer to (Exercise 3, question 3) 
249
+
250
+
251
+\begin{DoxyParams}{Parameters}
252
+{\em movieinfo} & The information of the movie in one line separated by $\vert$ \\
253
+\hline
254
+\end{DoxyParams}
255
+\hypertarget{movie_8h_a39efa4469877528f52e365bba5d35c30}{}\index{movie.\+h@{movie.\+h}!show\+Movies@{show\+Movies}}
256
+\index{show\+Movies@{show\+Movies}!movie.\+h@{movie.\+h}}
257
+\subsubsection[{show\+Movies}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies (
258
+\begin{DoxyParamCaption}
259
+\item[{{\bf filemanip} \&}]{file, }
260
+\item[{int}]{start, }
261
+\item[{int}]{end}
262
+\end{DoxyParamCaption}
263
+)}\label{movie_8h_a39efa4469877528f52e365bba5d35c30}
264
+
265
+
266
+Display the information of the movies in a file from line start to line end. 
267
+
268
+
269
+\begin{DoxyParams}{Parameters}
270
+{\em file} & Pointer to a file. \\
271
+\hline
272
+{\em start} & Line in the file to start showing movie info. \\
273
+\hline
274
+{\em end} & Line in the file to stop showing movie information. \\
275
+\hline
276
+\end{DoxyParams}
277
+\hypertarget{movie_8h_a65da80af0fbc68d3cb7de763d2c944ea}{}\index{movie.\+h@{movie.\+h}!show\+Movies@{show\+Movies}}
278
+\index{show\+Movies@{show\+Movies}!movie.\+h@{movie.\+h}}
279
+\subsubsection[{show\+Movies}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies (
280
+\begin{DoxyParamCaption}
281
+\item[{{\bf filemanip} \&}]{file, }
282
+\item[{string}]{keyword}
283
+\end{DoxyParamCaption}
284
+)}\label{movie_8h_a65da80af0fbc68d3cb7de763d2c944ea}
285
+
286
+
287
+Display the information of the movies whose name contains a given keyword. 
288
+
289
+
290
+\begin{DoxyParams}{Parameters}
291
+{\em file} & Pointer to a file. \\
292
+\hline
293
+{\em keyword} & Keyword to search in the name of the movies. \\
294
+\hline
295
+\end{DoxyParams}
296
+\hypertarget{movie_8h_a88d10eeb7ba4c05fde974ef8602af4fe}{}\index{movie.\+h@{movie.\+h}!show\+Movies\+In\+Line@{show\+Movies\+In\+Line}}
297
+\index{show\+Movies\+In\+Line@{show\+Movies\+In\+Line}!movie.\+h@{movie.\+h}}
298
+\subsubsection[{show\+Movies\+In\+Line}]{\setlength{\rightskip}{0pt plus 5cm}void show\+Movies\+In\+Line (
299
+\begin{DoxyParamCaption}
300
+\item[{{\bf filemanip} \&}]{file, }
301
+\item[{int}]{start, }
302
+\item[{int}]{end}
303
+\end{DoxyParamCaption}
304
+)}\label{movie_8h_a88d10eeb7ba4c05fde974ef8602af4fe}
305
+
306
+
307
+Display the information of the movies in a file from line start to line end. The information is displayed in one line. Answer to (Exercise 3, question 4) 
308
+
309
+
310
+\begin{DoxyParams}{Parameters}
311
+{\em file} & Pointer to a file. \\
312
+\hline
313
+{\em start} & Line in the file to start showing movie info. \\
314
+\hline
315
+{\em end} & Line in the file to stop showing movie information. \\
316
+\hline
317
+\end{DoxyParams}

+ 160
- 0
doc/en/latex/refman.tex 查看文件

@@ -0,0 +1,160 @@
1
+\documentclass[twoside]{book}
2
+
3
+% Packages required by doxygen
4
+\usepackage{fixltx2e}
5
+\usepackage{calc}
6
+\usepackage{doxygen}
7
+\usepackage[export]{adjustbox} % also loads graphicx
8
+\usepackage{graphicx}
9
+\usepackage[utf8]{inputenc}
10
+\usepackage{makeidx}
11
+\usepackage{multicol}
12
+\usepackage{multirow}
13
+\PassOptionsToPackage{warn}{textcomp}
14
+\usepackage{textcomp}
15
+\usepackage[nointegrals]{wasysym}
16
+\usepackage[table]{xcolor}
17
+
18
+% Font selection
19
+\usepackage[T1]{fontenc}
20
+\usepackage[scaled=.90]{helvet}
21
+\usepackage{courier}
22
+\usepackage{amssymb}
23
+\usepackage{sectsty}
24
+\renewcommand{\familydefault}{\sfdefault}
25
+\allsectionsfont{%
26
+  \fontseries{bc}\selectfont%
27
+  \color{darkgray}%
28
+}
29
+\renewcommand{\DoxyLabelFont}{%
30
+  \fontseries{bc}\selectfont%
31
+  \color{darkgray}%
32
+}
33
+\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
34
+
35
+% Page & text layout
36
+\usepackage{geometry}
37
+\geometry{%
38
+  a4paper,%
39
+  top=2.5cm,%
40
+  bottom=2.5cm,%
41
+  left=2.5cm,%
42
+  right=2.5cm%
43
+}
44
+\tolerance=750
45
+\hfuzz=15pt
46
+\hbadness=750
47
+\setlength{\emergencystretch}{15pt}
48
+\setlength{\parindent}{0cm}
49
+\setlength{\parskip}{0.2cm}
50
+\makeatletter
51
+\renewcommand{\paragraph}{%
52
+  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
53
+    \normalfont\normalsize\bfseries\SS@parafont%
54
+  }%
55
+}
56
+\renewcommand{\subparagraph}{%
57
+  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
58
+    \normalfont\normalsize\bfseries\SS@subparafont%
59
+  }%
60
+}
61
+\makeatother
62
+
63
+% Headers & footers
64
+\usepackage{fancyhdr}
65
+\pagestyle{fancyplain}
66
+\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
67
+\fancyhead[CE]{\fancyplain{}{}}
68
+\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
69
+\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
70
+\fancyhead[CO]{\fancyplain{}{}}
71
+\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
72
+\fancyfoot[LE]{\fancyplain{}{}}
73
+\fancyfoot[CE]{\fancyplain{}{}}
74
+\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 8 2015 15\+:29\+:47 for My Project by Doxygen }}
75
+\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Mon Jun 8 2015 15\+:29\+:47 for My Project by Doxygen }}
76
+\fancyfoot[CO]{\fancyplain{}{}}
77
+\fancyfoot[RO]{\fancyplain{}{}}
78
+\renewcommand{\footrulewidth}{0.4pt}
79
+\renewcommand{\chaptermark}[1]{%
80
+  \markboth{#1}{}%
81
+}
82
+\renewcommand{\sectionmark}[1]{%
83
+  \markright{\thesection\ #1}%
84
+}
85
+
86
+% Indices & bibliography
87
+\usepackage{natbib}
88
+\usepackage[titles]{tocloft}
89
+\setcounter{tocdepth}{3}
90
+\setcounter{secnumdepth}{5}
91
+\makeindex
92
+
93
+% Hyperlinks (required, but should be loaded last)
94
+\usepackage{ifpdf}
95
+\ifpdf
96
+  \usepackage[pdftex,pagebackref=true]{hyperref}
97
+\else
98
+  \usepackage[ps2pdf,pagebackref=true]{hyperref}
99
+\fi
100
+\hypersetup{%
101
+  colorlinks=true,%
102
+  linkcolor=blue,%
103
+  citecolor=blue,%
104
+  unicode%
105
+}
106
+
107
+% Custom commands
108
+\newcommand{\clearemptydoublepage}{%
109
+  \newpage{\pagestyle{empty}\cleardoublepage}%
110
+}
111
+
112
+
113
+%===== C O N T E N T S =====
114
+
115
+\begin{document}
116
+
117
+% Titlepage & ToC
118
+\hypersetup{pageanchor=false,
119
+             bookmarks=true,
120
+             bookmarksnumbered=true,
121
+             pdfencoding=unicode
122
+            }
123
+\pagenumbering{roman}
124
+\begin{titlepage}
125
+\vspace*{7cm}
126
+\begin{center}%
127
+{\Large My Project }\\
128
+\vspace*{1cm}
129
+{\large Generated by Doxygen 1.8.9.1}\\
130
+\vspace*{0.5cm}
131
+{\small Mon Jun 8 2015 15:29:47}\\
132
+\end{center}
133
+\end{titlepage}
134
+\clearemptydoublepage
135
+\tableofcontents
136
+\clearemptydoublepage
137
+\pagenumbering{arabic}
138
+\hypersetup{pageanchor=true}
139
+
140
+%--- Begin generated contents ---
141
+\chapter{Class Index}
142
+\input{annotated}
143
+\chapter{File Index}
144
+\input{files}
145
+\chapter{Class Documentation}
146
+\input{classfilemanip}
147
+\chapter{File Documentation}
148
+\input{movie_8cpp}
149
+\input{movie_8h}
150
+%--- End generated contents ---
151
+
152
+% Index
153
+\backmatter
154
+\newpage
155
+\phantomsection
156
+\clearemptydoublepage
157
+\addcontentsline{toc}{chapter}{Index}
158
+\printindex
159
+
160
+\end{document}

+ 101
- 0
doc/es/html/annotated.html 查看文件

@@ -0,0 +1,101 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Lista de clases</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generado por Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
42
+      <li><a href="files.html"><span>Archivos</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li class="current"><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
64
+      <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
65
+      <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
66
+    </ul>
67
+  </div>
68
+</div><!-- top -->
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">Lista de clases</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+<div class="textblock">Lista de las clases, estructuras, uniones e interfaces con una breve descripción:</div><div class="directory">
89
+<table class="directory">
90
+<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfilemanip.html" target="_self">filemanip</a></td><td class="desc"></td></tr>
91
+</table>
92
+</div><!-- directory -->
93
+</div><!-- contents -->
94
+<!-- start footer part -->
95
+<hr class="footer"/><address class="footer"><small>
96
+Generado el Lunes, 8 de Junio de 2015 15:29:46 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
97
+<img class="footer" src="doxygen.png" alt="doxygen"/>
98
+</a> 1.8.9.1
99
+</small></address>
100
+</body>
101
+</html>

二進制
doc/es/html/arrowdown.png 查看文件


二進制
doc/es/html/arrowright.png 查看文件


二進制
doc/es/html/bc_s.png 查看文件


二進制
doc/es/html/bdwn.png 查看文件


+ 105
- 0
doc/es/html/classes.html 查看文件

@@ -0,0 +1,105 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Índice de clases</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generado por Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
42
+      <li><a href="files.html"><span>Archivos</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
64
+      <li class="current"><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
65
+      <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
66
+    </ul>
67
+  </div>
68
+</div><!-- top -->
69
+<!-- window showing the filter options -->
70
+<div id="MSearchSelectWindow"
71
+     onmouseover="return searchBox.OnSearchSelectShow()"
72
+     onmouseout="return searchBox.OnSearchSelectHide()"
73
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
74
+</div>
75
+
76
+<!-- iframe showing the search results (closed by default) -->
77
+<div id="MSearchResultsWindow">
78
+<iframe src="javascript:void(0)" frameborder="0" 
79
+        name="MSearchResults" id="MSearchResults">
80
+</iframe>
81
+</div>
82
+
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">Índice de clases</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+<div class="qindex"><a class="qindex" href="#letter_F">F</a></div>
89
+<table style="margin: 10px; white-space: nowrap;" align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
90
+<tr><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">&#160;&#160;f&#160;&#160;</div></td></tr></table>
91
+</td><td></td></tr>
92
+<tr><td></td></tr>
93
+<tr><td valign="top"><a class="el" href="classfilemanip.html">filemanip</a>&#160;&#160;&#160;</td><td></td></tr>
94
+<tr><td></td><td></td></tr>
95
+</table>
96
+<div class="qindex"><a class="qindex" href="#letter_F">F</a></div>
97
+</div><!-- contents -->
98
+<!-- start footer part -->
99
+<hr class="footer"/><address class="footer"><small>
100
+Generado el Lunes, 8 de Junio de 2015 15:29:46 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
101
+<img class="footer" src="doxygen.png" alt="doxygen"/>
102
+</a> 1.8.9.1
103
+</small></address>
104
+</body>
105
+</html>

+ 106
- 0
doc/es/html/classfilemanip-members.html 查看文件

@@ -0,0 +1,106 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Lista de los miembros</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generado por Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
42
+      <li><a href="files.html"><span>Archivos</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
64
+      <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
65
+      <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
66
+    </ul>
67
+  </div>
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+</div><!-- top -->
83
+<div class="header">
84
+  <div class="headertitle">
85
+<div class="title">filemanip Lista de los miembros</div>  </div>
86
+</div><!--header-->
87
+<div class="contents">
88
+
89
+<p>Lista completa de los miembros de <a class="el" href="classfilemanip.html">filemanip</a>, incluyendo todos los heredados:</p>
90
+<table class="directory">
91
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">file</a></td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
92
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
93
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296">filemanip</a>(QString filename)</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
94
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">getnext</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
95
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">in</a></td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
96
+  <tr><td class="entry"><a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">reset</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
97
+  <tr class="even"><td class="entry"><a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">~filemanip</a>()</td><td class="entry"><a class="el" href="classfilemanip.html">filemanip</a></td><td class="entry"></td></tr>
98
+</table></div><!-- contents -->
99
+<!-- start footer part -->
100
+<hr class="footer"/><address class="footer"><small>
101
+Generado el Lunes, 8 de Junio de 2015 15:29:46 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
102
+<img class="footer" src="doxygen.png" alt="doxygen"/>
103
+</a> 1.8.9.1
104
+</small></address>
105
+</body>
106
+</html>

+ 182
- 0
doc/es/html/classfilemanip.html 查看文件

@@ -0,0 +1,182 @@
1
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+<html xmlns="http://www.w3.org/1999/xhtml">
3
+<head>
4
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+<meta name="generator" content="Doxygen 1.8.9.1"/>
7
+<title>My Project: Referencia de la Clase filemanip</title>
8
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
9
+<script type="text/javascript" src="jquery.js"></script>
10
+<script type="text/javascript" src="dynsections.js"></script>
11
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
12
+<script type="text/javascript" src="search/searchdata.js"></script>
13
+<script type="text/javascript" src="search/search.js"></script>
14
+<script type="text/javascript">
15
+  $(document).ready(function() { init_search(); });
16
+</script>
17
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
18
+</head>
19
+<body>
20
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
21
+<div id="titlearea">
22
+<table cellspacing="0" cellpadding="0">
23
+ <tbody>
24
+ <tr style="height: 56px;">
25
+  <td style="padding-left: 0.5em;">
26
+   <div id="projectname">My Project
27
+   </div>
28
+  </td>
29
+ </tr>
30
+ </tbody>
31
+</table>
32
+</div>
33
+<!-- end header part -->
34
+<!-- Generado por Doxygen 1.8.9.1 -->
35
+<script type="text/javascript">
36
+var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
37
+</script>
38
+  <div id="navrow1" class="tabs">
39
+    <ul class="tablist">
40
+      <li><a href="index.html"><span>Página&#160;principal</span></a></li>
41
+      <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
42
+      <li><a href="files.html"><span>Archivos</span></a></li>
43
+      <li>
44
+        <div id="MSearchBox" class="MSearchBoxInactive">
45
+        <span class="left">
46
+          <img id="MSearchSelect" src="search/mag_sel.png"
47
+               onmouseover="return searchBox.OnSearchSelectShow()"
48
+               onmouseout="return searchBox.OnSearchSelectHide()"
49
+               alt=""/>
50
+          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
51
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
52
+               onblur="searchBox.OnSearchFieldFocus(false)" 
53
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
54
+          </span><span class="right">
55
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
56
+          </span>
57
+        </div>
58
+      </li>
59
+    </ul>
60
+  </div>
61
+  <div id="navrow2" class="tabs2">
62
+    <ul class="tablist">
63
+      <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
64
+      <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
65
+      <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
66
+    </ul>
67
+  </div>
68
+<!-- window showing the filter options -->
69
+<div id="MSearchSelectWindow"
70
+     onmouseover="return searchBox.OnSearchSelectShow()"
71
+     onmouseout="return searchBox.OnSearchSelectHide()"
72
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
73
+</div>
74
+
75
+<!-- iframe showing the search results (closed by default) -->
76
+<div id="MSearchResultsWindow">
77
+<iframe src="javascript:void(0)" frameborder="0" 
78
+        name="MSearchResults" id="MSearchResults">
79
+</iframe>
80
+</div>
81
+
82
+</div><!-- top -->
83
+<div class="header">
84
+  <div class="summary">
85
+<a href="#pub-methods">Métodos públicos</a> &#124;
86
+<a href="#pri-attribs">Atributos privados</a> &#124;
87
+<a href="classfilemanip-members.html">Lista de todos los miembros</a>  </div>
88
+  <div class="headertitle">
89
+<div class="title">Referencia de la Clase filemanip</div>  </div>
90
+</div><!--header-->
91
+<div class="contents">
92
+
93
+<p><code>#include &lt;<a class="el" href="filemanip_8h_source.html">filemanip.h</a>&gt;</code></p>
94
+<table class="memberdecls">
95
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
96
+Métodos públicos</h2></td></tr>
97
+<tr class="memitem:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a39d12f6e1f3dcff22bf54c0fe28f1e6f"></a>
98
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a39d12f6e1f3dcff22bf54c0fe28f1e6f">filemanip</a> ()</td></tr>
99
+<tr class="memdesc:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor para establece un archivo de dvd fijo. <br /></td></tr>
100
+<tr class="separator:a39d12f6e1f3dcff22bf54c0fe28f1e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
101
+<tr class="memitem:a14b1ee925fb4b6eaeede53de271eb296"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14b1ee925fb4b6eaeede53de271eb296"></a>
102
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a14b1ee925fb4b6eaeede53de271eb296">filemanip</a> (QString filename)</td></tr>
103
+<tr class="memdesc:a14b1ee925fb4b6eaeede53de271eb296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor para establece un archivo de dvd. <br /></td></tr>
104
+<tr class="separator:a14b1ee925fb4b6eaeede53de271eb296"><td class="memSeparator" colspan="2">&#160;</td></tr>
105
+<tr class="memitem:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbbde8fc20a8f5c3e4ebc22d8711046d"></a>
106
+QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#acbbde8fc20a8f5c3e4ebc22d8711046d">getnext</a> ()</td></tr>
107
+<tr class="memdesc:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve la proxima linea de texto en el archivo. <br /></td></tr>
108
+<tr class="separator:acbbde8fc20a8f5c3e4ebc22d8711046d"><td class="memSeparator" colspan="2">&#160;</td></tr>
109
+<tr class="memitem:a211ae5ba5a3c5320bb9da90941690edd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a211ae5ba5a3c5320bb9da90941690edd"></a>
110
+void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a211ae5ba5a3c5320bb9da90941690edd">reset</a> ()</td></tr>
111
+<tr class="memdesc:a211ae5ba5a3c5320bb9da90941690edd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apuntador del archivo apunta al inicio del archivo. <br /></td></tr>
112
+<tr class="separator:a211ae5ba5a3c5320bb9da90941690edd"><td class="memSeparator" colspan="2">&#160;</td></tr>
113
+<tr class="memitem:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8fe6ced260e2c7cb0deef92a02fd2e41"></a>
114
+&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a8fe6ced260e2c7cb0deef92a02fd2e41">~filemanip</a> ()</td></tr>
115
+<tr class="memdesc:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
116
+<tr class="separator:a8fe6ced260e2c7cb0deef92a02fd2e41"><td class="memSeparator" colspan="2">&#160;</td></tr>
117
+</table><table class="memberdecls">
118
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
119
+Atributos privados</h2></td></tr>
120
+<tr class="memitem:a2290120459afdb754263d99761fe5523"><td class="memItemLeft" align="right" valign="top">QFile *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a2290120459afdb754263d99761fe5523">file</a></td></tr>
121
+<tr class="separator:a2290120459afdb754263d99761fe5523"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+<tr class="memitem:a3558c09c7972ba84cbb7352bd258bbf6"><td class="memItemLeft" align="right" valign="top">QTextStream *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfilemanip.html#a3558c09c7972ba84cbb7352bd258bbf6">in</a></td></tr>
123
+<tr class="separator:a3558c09c7972ba84cbb7352bd258bbf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+</table>
125
+<a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
126
+<div class="textblock"><p>Una clase para manipular archivos. </p>
127
+</div><h2 class="groupheader">Documentación de los datos miembro</h2>
128
+<a class="anchor" id="a2290120459afdb754263d99761fe5523"></a>
129
+<div class="memitem">
130
+<div class="memproto">
131
+<table class="mlabels">
132
+  <tr>
133
+  <td class="mlabels-left">
134
+      <table class="memname">
135
+        <tr>
136
+          <td class="memname">QFile* filemanip::file</td>
137
+        </tr>
138
+      </table>
139
+  </td>
140
+  <td class="mlabels-right">
141
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
142
+  </tr>
143
+</table>
144
+</div><div class="memdoc">
145
+<p>pointer to a file / apuntador a un archivo </p>
146
+
147
+</div>
148
+</div>
149
+<a class="anchor" id="a3558c09c7972ba84cbb7352bd258bbf6"></a>
150
+<div class="memitem">
151
+<div class="memproto">
152
+<table class="mlabels">
153
+  <tr>
154
+  <td class="mlabels-left">
155
+      <table class="memname">
156
+        <tr>
157
+          <td class="memname">QTextStream* filemanip::in</td>
158
+        </tr>
159
+      </table>
160
+  </td>
161
+  <td class="mlabels-right">
162
+<span class="mlabels"><span class="mlabel">private</span></span>  </td>
163
+  </tr>
164
+</table>
165
+</div><div class="memdoc">
166
+<p>pointer to a text stream / apuntador a un flujo de entrada </p>
167
+
168
+</div>
169
+</div>
170
+<hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
171
+<li><a class="el" href="filemanip_8h_source.html">filemanip.h</a></li>
172
+<li>filemanip.cpp</li>
173
+</ul>
174
+</div><!-- contents -->
175
+<!-- start footer part -->
176
+<hr class="footer"/><address class="footer"><small>
177
+Generado el Lunes, 8 de Junio de 2015 15:29:46 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
178
+<img class="footer" src="doxygen.png" alt="doxygen"/>
179
+</a> 1.8.9.1
180
+</small></address>
181
+</body>
182
+</html>

二進制
doc/es/html/closed.png 查看文件


+ 0
- 0
doc/es/html/doc.png 查看文件


部分文件因文件數量過多而無法顯示