Directory: | ./ |
---|---|
File: | tmp_project/PhoenixTex2Html/src/PLatexObj/PLatexObj.cpp |
Date: | 2025-07-07 16:43:17 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 578 | 926 | 62.4% |
Branches: | 97 | 195 | 49.7% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | /*************************************** | ||
2 | Auteur : Pierre Aubert | ||
3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
4 | Licence : CeCILL-C | ||
5 | ****************************************/ | ||
6 | |||
7 | |||
8 | #include "PLatexObj.h" | ||
9 | |||
10 | ///Constructor of class PLatexMenu | ||
11 |
1/1✓ Branch 2 taken 1302886 times.
|
1302886 | PLatexMenu::PLatexMenu(){ |
12 |
1/1✓ Branch 1 taken 1302886 times.
|
1302886 | initialisationPLatexMenu(); |
13 | 1302886 | } | |
14 | |||
15 | ///Copy Constructor of class PLatexMenu | ||
16 | /** @param other : PLatexMenu we want ot copy | ||
17 | */ | ||
18 |
1/1✓ Branch 2 taken 1569 times.
|
1569 | PLatexMenu::PLatexMenu(const PLatexMenu & other){ |
19 |
1/1✓ Branch 1 taken 1569 times.
|
1569 | copyPLatexMenu(other); |
20 | 1569 | } | |
21 | |||
22 | ///Destructor of class PLatexMenu | ||
23 | 2608910 | PLatexMenu::~PLatexMenu(){ | |
24 | |||
25 | } | ||
26 | |||
27 | ///Operator = of class PLatexMenu | ||
28 | /** @param other : PLatexMenu we want ot copy | ||
29 | * @return copied class PLatexMenu | ||
30 | */ | ||
31 | 766251 | PLatexMenu & PLatexMenu::operator = (const PLatexMenu & other){ | |
32 | 766251 | copyPLatexMenu(other); | |
33 | 766251 | return *this; | |
34 | } | ||
35 | |||
36 | ///Sets the link of the PLatexMenu | ||
37 | /** @param link : link of the PLatexMenu | ||
38 | */ | ||
39 | 2437 | void PLatexMenu::setLink(const PString & link){ | |
40 | 2437 | p_link = link; | |
41 | 2437 | } | |
42 | |||
43 | ///Sets the text of the PLatexMenu | ||
44 | /** @param text : text of the PLatexMenu | ||
45 | */ | ||
46 | 2437 | void PLatexMenu::setText(const PString & text){ | |
47 | 2437 | p_text = text; | |
48 | 2437 | } | |
49 | |||
50 | ///Gets the link of the PLatexMenu | ||
51 | /** @return link of the PLatexMenu | ||
52 | */ | ||
53 | 2033 | const PString & PLatexMenu::getLink() const{ | |
54 | 2033 | return p_link; | |
55 | } | ||
56 | |||
57 | ///Gets the link of the PLatexMenu | ||
58 | /** @return link of the PLatexMenu | ||
59 | */ | ||
60 | ✗ | PString & PLatexMenu::getLink(){ | |
61 | ✗ | return p_link; | |
62 | } | ||
63 | |||
64 | ///Gets the text of the PLatexMenu | ||
65 | /** @return text of the PLatexMenu | ||
66 | */ | ||
67 | 1840 | const PString & PLatexMenu::getText() const{ | |
68 | 1840 | return p_text; | |
69 | } | ||
70 | |||
71 | ///Gets the text of the PLatexMenu | ||
72 | /** @return text of the PLatexMenu | ||
73 | */ | ||
74 | ✗ | PString & PLatexMenu::getText(){ | |
75 | ✗ | return p_text; | |
76 | } | ||
77 | |||
78 | ///Copy Function of class PLatexMenu | ||
79 | /** @param other : PLatexMenu we want ot copy | ||
80 | */ | ||
81 | 767820 | void PLatexMenu::copyPLatexMenu(const PLatexMenu & other){ | |
82 | 767820 | p_link = other.p_link; | |
83 | 767820 | p_text = other.p_text; | |
84 | 767820 | } | |
85 | |||
86 | ///Initialisation Function of class PLatexMenu | ||
87 | 1302886 | void PLatexMenu::initialisationPLatexMenu(){ | |
88 | 1302886 | p_link = ""; | |
89 | 1302886 | p_text = ""; | |
90 | 1302886 | } | |
91 | |||
92 | ///Constructor of class PLatexObj | ||
93 |
11/11✓ Branch 2 taken 201498 times.
✓ Branch 5 taken 201498 times.
✓ Branch 8 taken 201498 times.
✓ Branch 11 taken 201498 times.
✓ Branch 14 taken 201498 times.
✓ Branch 21 taken 201498 times.
✓ Branch 24 taken 201498 times.
✓ Branch 27 taken 201498 times.
✓ Branch 30 taken 201498 times.
✓ Branch 33 taken 201498 times.
✓ Branch 36 taken 201498 times.
|
201498 | PLatexObj::PLatexObj(){ |
94 |
1/1✓ Branch 1 taken 201498 times.
|
201498 | initialisationPLatexObj(); |
95 | 201498 | } | |
96 | |||
97 | ///Copy Constructor of class PLatexObj | ||
98 | /** @param other : PLatexObj we want ot copy | ||
99 | */ | ||
100 |
11/11✓ Branch 2 taken 232447 times.
✓ Branch 5 taken 232447 times.
✓ Branch 8 taken 232447 times.
✓ Branch 11 taken 232447 times.
✓ Branch 14 taken 232447 times.
✓ Branch 21 taken 232447 times.
✓ Branch 24 taken 232447 times.
✓ Branch 27 taken 232447 times.
✓ Branch 30 taken 232447 times.
✓ Branch 33 taken 232447 times.
✓ Branch 36 taken 232447 times.
|
232447 | PLatexObj::PLatexObj(const PLatexObj & other){ |
101 |
1/1✓ Branch 1 taken 232447 times.
|
232447 | copyPLatexObj(other); |
102 | 232447 | } | |
103 | |||
104 | ///Destructor of class PLatexObj | ||
105 | 867890 | PLatexObj::~PLatexObj(){ | |
106 | |||
107 | } | ||
108 | |||
109 | ///Operator = of class PLatexObj | ||
110 | /** @param other : PLatexObj we want ot copy | ||
111 | * @return copied class PLatexObj | ||
112 | */ | ||
113 | 22808 | PLatexObj & PLatexObj::operator = (const PLatexObj & other){ | |
114 | 22808 | copyPLatexObj(other); | |
115 | 22808 | return *this; | |
116 | } | ||
117 | |||
118 | ///Sets the id of the PLatexObj | ||
119 | /** @param id : id of the PLatexObj | ||
120 | */ | ||
121 | 21264 | void PLatexObj::setId(long unsigned int id){ | |
122 | 21264 | p_id = id; | |
123 | 21264 | } | |
124 | |||
125 | ///Sets the type of the PLatexObj | ||
126 | /** @param type : type of the PLatexObj | ||
127 | */ | ||
128 | 30116 | void PLatexObj::setType(const PLatexType::PLatexType & type){ | |
129 | 30116 | p_type = type; | |
130 | 30116 | } | |
131 | |||
132 | ///Sets the text of the PLatexObj | ||
133 | /** @param text : text of the PLatexObj | ||
134 | */ | ||
135 | 13918 | void PLatexObj::setText(const PString & text){ | |
136 | 13918 | p_text = text; | |
137 | 13918 | } | |
138 | |||
139 | ///Sets the name of the PLatexObj | ||
140 | /** @param name : name of the PLatexObj | ||
141 | */ | ||
142 | 16005 | void PLatexObj::setName(const PString & name){ | |
143 | 16005 | p_name = name; | |
144 | 16005 | } | |
145 | |||
146 | ///Sets the subTitle of the PLatexObj | ||
147 | /** @param subTitle : subTitle of the PLatexObj | ||
148 | */ | ||
149 | 215 | void PLatexObj::setSubTitle(const PString & subTitle){ | |
150 | 215 | p_subTitle = subTitle; | |
151 | 215 | } | |
152 | |||
153 | ///Sets the labelName of the PLatexObj | ||
154 | /** @param labelName : labelName of the PLatexObj | ||
155 | */ | ||
156 | 11901 | void PLatexObj::setLabelName(const PString & labelName){ | |
157 | 11901 | p_labelName = labelName; | |
158 | 11901 | } | |
159 | |||
160 | ///Sets the link of the PLatexObj | ||
161 | /** @param link : link of the PLatexObj | ||
162 | */ | ||
163 | 23401 | void PLatexObj::setLink(const PString & link){ | |
164 | 23401 | p_link = link; | |
165 | 23401 | } | |
166 | |||
167 | ///Sets the balise of the PLatexObj | ||
168 | /** @param balise : balise of the PLatexObj | ||
169 | */ | ||
170 | 1324 | void PLatexObj::setBalise(const PString & balise){ | |
171 | 1324 | p_balise = balise; | |
172 | 1324 | } | |
173 | |||
174 | ///Sets the complexTitle of the PLatexObj | ||
175 | /** @param complexTitle : complexTitle of the PLatexObj | ||
176 | */ | ||
177 | 1119 | void PLatexObj::setComplexTitle(const std::vector<PLatexObj> & complexTitle){ | |
178 | 1119 | p_complexTitle = complexTitle; | |
179 | 1119 | } | |
180 | |||
181 | ///Sets the vecContent of the PLatexObj | ||
182 | /** @param vecContent : vecContent of the PLatexObj | ||
183 | */ | ||
184 | 85 | void PLatexObj::setVecContent(const std::vector<PLatexObj> & vecContent){ | |
185 | 85 | p_vecContent = vecContent; | |
186 | 85 | } | |
187 | |||
188 | ///Sets the nbline of the PLatexObj | ||
189 | /** @param nbline : nbline of the PLatexObj | ||
190 | */ | ||
191 | 307 | void PLatexObj::setNbline(long unsigned int nbline){ | |
192 | 307 | p_nbline = nbline; | |
193 | 307 | } | |
194 | |||
195 | ///Sets the vecSecNumber of the PLatexObj | ||
196 | /** @param vecSecNumber : vecSecNumber of the PLatexObj | ||
197 | */ | ||
198 | ✗ | void PLatexObj::setVecSecNumber(const std::vector<long unsigned int> & vecSecNumber){ | |
199 | ✗ | p_vecSecNumber = vecSecNumber; | |
200 | } | ||
201 | |||
202 | ///Sets the vecMenu of the PLatexObj | ||
203 | /** @param vecMenu : vecMenu of the PLatexObj | ||
204 | */ | ||
205 | ✗ | void PLatexObj::setVecMenu(const std::vector<PLatexMenu> & vecMenu){ | |
206 | ✗ | p_vecMenu = vecMenu; | |
207 | } | ||
208 | |||
209 | ///Sets the prevSec of the PLatexObj | ||
210 | /** @param prevSec : prevSec of the PLatexObj | ||
211 | */ | ||
212 | ✗ | void PLatexObj::setPrevSec(const PLatexMenu & prevSec){ | |
213 | ✗ | p_prevSec = prevSec; | |
214 | } | ||
215 | |||
216 | ///Sets the nextSec of the PLatexObj | ||
217 | /** @param nextSec : nextSec of the PLatexObj | ||
218 | */ | ||
219 | ✗ | void PLatexObj::setNextSec(const PLatexMenu & nextSec){ | |
220 | ✗ | p_nextSec = nextSec; | |
221 | } | ||
222 | |||
223 | ///Sets the parentSec of the PLatexObj | ||
224 | /** @param parentSec : parentSec of the PLatexObj | ||
225 | */ | ||
226 | 462 | void PLatexObj::setParentSec(const PLatexMenu & parentSec){ | |
227 | 462 | p_parentSec = parentSec; | |
228 | 462 | } | |
229 | |||
230 | ///Sets the author of the PLatexObj | ||
231 | /** @param author : author of the PLatexObj | ||
232 | */ | ||
233 | 264 | void PLatexObj::setAuthor(const PString & author){ | |
234 | 264 | p_author = author; | |
235 | 264 | } | |
236 | |||
237 | ///Sets the date of the PLatexObj | ||
238 | /** @param date : date of the PLatexObj | ||
239 | */ | ||
240 | 136 | void PLatexObj::setDate(const PString & date){ | |
241 | 136 | p_date = date; | |
242 | 136 | } | |
243 | |||
244 | ///Sets the sourceFile of the PLatexObj | ||
245 | /** @param sourceFile : sourceFile of the PLatexObj | ||
246 | */ | ||
247 | 1849 | void PLatexObj::setSourceFile(const PString & sourceFile){ | |
248 | 1849 | p_sourceFile = sourceFile; | |
249 | 1849 | } | |
250 | |||
251 | ///Sets the sourceLine of the PLatexObj | ||
252 | /** @param sourceLine : sourceLine of the PLatexObj | ||
253 | */ | ||
254 | 1849 | void PLatexObj::setSourceLine(size_t sourceLine){ | |
255 | 1849 | p_sourceLine = sourceLine; | |
256 | 1849 | } | |
257 | |||
258 | ///Sets the isWorkInProgress of the PLatexObj | ||
259 | /** @param isWorkInProgress : isWorkInProgress of the PLatexObj | ||
260 | */ | ||
261 | 27 | void PLatexObj::setIsWorkInProgress(bool isWorkInProgress){ | |
262 | 27 | p_isWorkInProgress = isWorkInProgress; | |
263 | 27 | } | |
264 | |||
265 | ///Sets the rowSpan of the PLatexObj | ||
266 | /** @param rowSpan : rowSpan of the PLatexObj | ||
267 | */ | ||
268 | 792 | void PLatexObj::setRowSpan(long unsigned int rowSpan){ | |
269 | 792 | p_rowSpan = rowSpan; | |
270 | 792 | } | |
271 | |||
272 | ///Sets the colSpan of the PLatexObj | ||
273 | /** @param colSpan : colSpan of the PLatexObj | ||
274 | */ | ||
275 | ✗ | void PLatexObj::setColSpan(long unsigned int colSpan){ | |
276 | ✗ | p_colSpan = colSpan; | |
277 | } | ||
278 | |||
279 | ///Gets the id of the PLatexObj | ||
280 | /** @return id of the PLatexObj | ||
281 | */ | ||
282 | 6724 | long unsigned int PLatexObj::getId() const{ | |
283 | 6724 | return p_id; | |
284 | } | ||
285 | |||
286 | ///Gets the id of the PLatexObj | ||
287 | /** @return id of the PLatexObj | ||
288 | */ | ||
289 | 21137 | long unsigned int & PLatexObj::getId(){ | |
290 | 21137 | return p_id; | |
291 | } | ||
292 | |||
293 | ///Gets the type of the PLatexObj | ||
294 | /** @return type of the PLatexObj | ||
295 | */ | ||
296 | 229309 | const PLatexType::PLatexType & PLatexObj::getType() const{ | |
297 | 229309 | return p_type; | |
298 | } | ||
299 | |||
300 | ///Gets the type of the PLatexObj | ||
301 | /** @return type of the PLatexObj | ||
302 | */ | ||
303 | 117341 | PLatexType::PLatexType & PLatexObj::getType(){ | |
304 | 117341 | return p_type; | |
305 | } | ||
306 | |||
307 | ///Gets the text of the PLatexObj | ||
308 | /** @return text of the PLatexObj | ||
309 | */ | ||
310 | 17399 | const PString & PLatexObj::getText() const{ | |
311 | 17399 | return p_text; | |
312 | } | ||
313 | |||
314 | ///Gets the text of the PLatexObj | ||
315 | /** @return text of the PLatexObj | ||
316 | */ | ||
317 | 184262 | PString & PLatexObj::getText(){ | |
318 | 184262 | return p_text; | |
319 | } | ||
320 | |||
321 | ///Gets the name of the PLatexObj | ||
322 | /** @return name of the PLatexObj | ||
323 | */ | ||
324 | 3363 | const PString & PLatexObj::getName() const{ | |
325 | 3363 | return p_name; | |
326 | } | ||
327 | |||
328 | ///Gets the name of the PLatexObj | ||
329 | /** @return name of the PLatexObj | ||
330 | */ | ||
331 | 2181 | PString & PLatexObj::getName(){ | |
332 | 2181 | return p_name; | |
333 | } | ||
334 | |||
335 | ///Gets the subTitle of the PLatexObj | ||
336 | /** @return subTitle of the PLatexObj | ||
337 | */ | ||
338 | 142 | const PString & PLatexObj::getSubTitle() const{ | |
339 | 142 | return p_subTitle; | |
340 | } | ||
341 | |||
342 | ///Gets the subTitle of the PLatexObj | ||
343 | /** @return subTitle of the PLatexObj | ||
344 | */ | ||
345 | 127 | PString & PLatexObj::getSubTitle(){ | |
346 | 127 | return p_subTitle; | |
347 | } | ||
348 | |||
349 | ///Gets the labelName of the PLatexObj | ||
350 | /** @return labelName of the PLatexObj | ||
351 | */ | ||
352 | 24834 | const PString & PLatexObj::getLabelName() const{ | |
353 | 24834 | return p_labelName; | |
354 | } | ||
355 | |||
356 | ///Gets the labelName of the PLatexObj | ||
357 | /** @return labelName of the PLatexObj | ||
358 | */ | ||
359 | ✗ | PString & PLatexObj::getLabelName(){ | |
360 | ✗ | return p_labelName; | |
361 | } | ||
362 | |||
363 | ///Gets the link of the PLatexObj | ||
364 | /** @return link of the PLatexObj | ||
365 | */ | ||
366 | 2973 | const PString & PLatexObj::getLink() const{ | |
367 | 2973 | return p_link; | |
368 | } | ||
369 | |||
370 | ///Gets the link of the PLatexObj | ||
371 | /** @return link of the PLatexObj | ||
372 | */ | ||
373 | 7851 | PString & PLatexObj::getLink(){ | |
374 | 7851 | return p_link; | |
375 | } | ||
376 | |||
377 | ///Gets the balise of the PLatexObj | ||
378 | /** @return balise of the PLatexObj | ||
379 | */ | ||
380 | 1968 | const PString & PLatexObj::getBalise() const{ | |
381 | 1968 | return p_balise; | |
382 | } | ||
383 | |||
384 | ///Gets the balise of the PLatexObj | ||
385 | /** @return balise of the PLatexObj | ||
386 | */ | ||
387 | ✗ | PString & PLatexObj::getBalise(){ | |
388 | ✗ | return p_balise; | |
389 | } | ||
390 | |||
391 | ///Gets the complexTitle of the PLatexObj | ||
392 | /** @return complexTitle of the PLatexObj | ||
393 | */ | ||
394 | 3899 | const std::vector<PLatexObj> & PLatexObj::getComplexTitle() const{ | |
395 | 3899 | return p_complexTitle; | |
396 | } | ||
397 | |||
398 | ///Gets the complexTitle of the PLatexObj | ||
399 | /** @return complexTitle of the PLatexObj | ||
400 | */ | ||
401 | 169 | std::vector<PLatexObj> & PLatexObj::getComplexTitle(){ | |
402 | 169 | return p_complexTitle; | |
403 | } | ||
404 | |||
405 | ///Gets the vecContent of the PLatexObj | ||
406 | /** @return vecContent of the PLatexObj | ||
407 | */ | ||
408 | 34482 | const std::vector<PLatexObj> & PLatexObj::getVecContent() const{ | |
409 | 34482 | return p_vecContent; | |
410 | } | ||
411 | |||
412 | ///Gets the vecContent of the PLatexObj | ||
413 | /** @return vecContent of the PLatexObj | ||
414 | */ | ||
415 | 168877 | std::vector<PLatexObj> & PLatexObj::getVecContent(){ | |
416 | 168877 | return p_vecContent; | |
417 | } | ||
418 | |||
419 | ///Gets the nbline of the PLatexObj | ||
420 | /** @return nbline of the PLatexObj | ||
421 | */ | ||
422 | 2628 | long unsigned int PLatexObj::getNbline() const{ | |
423 | 2628 | return p_nbline; | |
424 | } | ||
425 | |||
426 | ///Gets the nbline of the PLatexObj | ||
427 | /** @return nbline of the PLatexObj | ||
428 | */ | ||
429 | ✗ | long unsigned int & PLatexObj::getNbline(){ | |
430 | ✗ | return p_nbline; | |
431 | } | ||
432 | |||
433 | ///Gets the vecSecNumber of the PLatexObj | ||
434 | /** @return vecSecNumber of the PLatexObj | ||
435 | */ | ||
436 | 1555 | const std::vector<long unsigned int> & PLatexObj::getVecSecNumber() const{ | |
437 | 1555 | return p_vecSecNumber; | |
438 | } | ||
439 | |||
440 | ///Gets the vecSecNumber of the PLatexObj | ||
441 | /** @return vecSecNumber of the PLatexObj | ||
442 | */ | ||
443 | 924 | std::vector<long unsigned int> & PLatexObj::getVecSecNumber(){ | |
444 | 924 | return p_vecSecNumber; | |
445 | } | ||
446 | |||
447 | ///Gets the vecMenu of the PLatexObj | ||
448 | /** @return vecMenu of the PLatexObj | ||
449 | */ | ||
450 | 300 | const std::vector<PLatexMenu> & PLatexObj::getVecMenu() const{ | |
451 | 300 | return p_vecMenu; | |
452 | } | ||
453 | |||
454 | ///Gets the vecMenu of the PLatexObj | ||
455 | /** @return vecMenu of the PLatexObj | ||
456 | */ | ||
457 | 462 | std::vector<PLatexMenu> & PLatexObj::getVecMenu(){ | |
458 | 462 | return p_vecMenu; | |
459 | } | ||
460 | |||
461 | ///Gets the prevSec of the PLatexObj | ||
462 | /** @return prevSec of the PLatexObj | ||
463 | */ | ||
464 | 1098 | const PLatexMenu & PLatexObj::getPrevSec() const{ | |
465 | 1098 | return p_prevSec; | |
466 | } | ||
467 | |||
468 | ///Gets the prevSec of the PLatexObj | ||
469 | /** @return prevSec of the PLatexObj | ||
470 | */ | ||
471 | 462 | PLatexMenu & PLatexObj::getPrevSec(){ | |
472 | 462 | return p_prevSec; | |
473 | } | ||
474 | |||
475 | ///Gets the nextSec of the PLatexObj | ||
476 | /** @return nextSec of the PLatexObj | ||
477 | */ | ||
478 | 1098 | const PLatexMenu & PLatexObj::getNextSec() const{ | |
479 | 1098 | return p_nextSec; | |
480 | } | ||
481 | |||
482 | ///Gets the nextSec of the PLatexObj | ||
483 | /** @return nextSec of the PLatexObj | ||
484 | */ | ||
485 | 462 | PLatexMenu & PLatexObj::getNextSec(){ | |
486 | 462 | return p_nextSec; | |
487 | } | ||
488 | |||
489 | ///Gets the parentSec of the PLatexObj | ||
490 | /** @return parentSec of the PLatexObj | ||
491 | */ | ||
492 | 1098 | const PLatexMenu & PLatexObj::getParentSec() const{ | |
493 | 1098 | return p_parentSec; | |
494 | } | ||
495 | |||
496 | ///Gets the parentSec of the PLatexObj | ||
497 | /** @return parentSec of the PLatexObj | ||
498 | */ | ||
499 | 462 | PLatexMenu & PLatexObj::getParentSec(){ | |
500 | 462 | return p_parentSec; | |
501 | } | ||
502 | |||
503 | ///Gets the author of the PLatexObj | ||
504 | /** @return author of the PLatexObj | ||
505 | */ | ||
506 | 139 | const PString & PLatexObj::getAuthor() const{ | |
507 | 139 | return p_author; | |
508 | } | ||
509 | |||
510 | ///Gets the author of the PLatexObj | ||
511 | /** @return author of the PLatexObj | ||
512 | */ | ||
513 | 127 | PString & PLatexObj::getAuthor(){ | |
514 | 127 | return p_author; | |
515 | } | ||
516 | |||
517 | ///Gets the date of the PLatexObj | ||
518 | /** @return date of the PLatexObj | ||
519 | */ | ||
520 | 135 | const PString & PLatexObj::getDate() const{ | |
521 | 135 | return p_date; | |
522 | } | ||
523 | |||
524 | ///Gets the date of the PLatexObj | ||
525 | /** @return date of the PLatexObj | ||
526 | */ | ||
527 | 127 | PString & PLatexObj::getDate(){ | |
528 | 127 | return p_date; | |
529 | } | ||
530 | |||
531 | ///Gets the sourceFile of the PLatexObj | ||
532 | /** @return sourceFile of the PLatexObj | ||
533 | */ | ||
534 | 549 | const PString & PLatexObj::getSourceFile() const{ | |
535 | 549 | return p_sourceFile; | |
536 | } | ||
537 | |||
538 | ///Gets the sourceFile of the PLatexObj | ||
539 | /** @return sourceFile of the PLatexObj | ||
540 | */ | ||
541 | 127 | PString & PLatexObj::getSourceFile(){ | |
542 | 127 | return p_sourceFile; | |
543 | } | ||
544 | |||
545 | ///Gets the sourceLine of the PLatexObj | ||
546 | /** @return sourceLine of the PLatexObj | ||
547 | */ | ||
548 | 549 | size_t PLatexObj::getSourceLine() const{ | |
549 | 549 | return p_sourceLine; | |
550 | } | ||
551 | |||
552 | ///Gets the sourceLine of the PLatexObj | ||
553 | /** @return sourceLine of the PLatexObj | ||
554 | */ | ||
555 | 127 | size_t & PLatexObj::getSourceLine(){ | |
556 | 127 | return p_sourceLine; | |
557 | } | ||
558 | |||
559 | ///Gets the isWorkInProgress of the PLatexObj | ||
560 | /** @return isWorkInProgress of the PLatexObj | ||
561 | */ | ||
562 | ✗ | bool PLatexObj::getIsWorkInProgress() const{ | |
563 | ✗ | return p_isWorkInProgress; | |
564 | } | ||
565 | |||
566 | ///Gets the isWorkInProgress of the PLatexObj | ||
567 | /** @return isWorkInProgress of the PLatexObj | ||
568 | */ | ||
569 | ✗ | bool & PLatexObj::getIsWorkInProgress(){ | |
570 | ✗ | return p_isWorkInProgress; | |
571 | } | ||
572 | |||
573 | ///Gets the rowSpan of the PLatexObj | ||
574 | /** @return rowSpan of the PLatexObj | ||
575 | */ | ||
576 | 2017 | long unsigned int PLatexObj::getRowSpan() const{ | |
577 | 2017 | return p_rowSpan; | |
578 | } | ||
579 | |||
580 | ///Gets the rowSpan of the PLatexObj | ||
581 | /** @return rowSpan of the PLatexObj | ||
582 | */ | ||
583 | ✗ | long unsigned int & PLatexObj::getRowSpan(){ | |
584 | ✗ | return p_rowSpan; | |
585 | } | ||
586 | |||
587 | ///Gets the colSpan of the PLatexObj | ||
588 | /** @return colSpan of the PLatexObj | ||
589 | */ | ||
590 | 1225 | long unsigned int PLatexObj::getColSpan() const{ | |
591 | 1225 | return p_colSpan; | |
592 | } | ||
593 | |||
594 | ///Gets the colSpan of the PLatexObj | ||
595 | /** @return colSpan of the PLatexObj | ||
596 | */ | ||
597 | ✗ | long unsigned int & PLatexObj::getColSpan(){ | |
598 | ✗ | return p_colSpan; | |
599 | } | ||
600 | |||
601 | ///Copy Function of class PLatexObj | ||
602 | /** @param other : PLatexObj we want ot copy | ||
603 | */ | ||
604 | 255255 | void PLatexObj::copyPLatexObj(const PLatexObj & other){ | |
605 | 255255 | p_id = other.p_id; | |
606 | 255255 | p_type = other.p_type; | |
607 | 255255 | p_text = other.p_text; | |
608 | 255255 | p_name = other.p_name; | |
609 | 255255 | p_subTitle = other.p_subTitle; | |
610 | 255255 | p_labelName = other.p_labelName; | |
611 | 255255 | p_link = other.p_link; | |
612 | 255255 | p_balise = other.p_balise; | |
613 | 255255 | p_complexTitle = other.p_complexTitle; | |
614 | 255255 | p_vecContent = other.p_vecContent; | |
615 | 255255 | p_nbline = other.p_nbline; | |
616 | 255255 | p_vecSecNumber = other.p_vecSecNumber; | |
617 | 255255 | p_vecMenu = other.p_vecMenu; | |
618 | 255255 | p_prevSec = other.p_prevSec; | |
619 | 255255 | p_nextSec = other.p_nextSec; | |
620 | 255255 | p_parentSec = other.p_parentSec; | |
621 | 255255 | p_author = other.p_author; | |
622 | 255255 | p_date = other.p_date; | |
623 | 255255 | p_sourceFile = other.p_sourceFile; | |
624 | 255255 | p_sourceLine = other.p_sourceLine; | |
625 | 255255 | p_isWorkInProgress = other.p_isWorkInProgress; | |
626 | 255255 | p_rowSpan = other.p_rowSpan; | |
627 | 255255 | p_colSpan = other.p_colSpan; | |
628 | 255255 | } | |
629 | |||
630 | ///Initialisation Function of class PLatexObj | ||
631 | 201498 | void PLatexObj::initialisationPLatexObj(){ | |
632 | 201498 | p_id = 0lu; | |
633 | 201498 | p_text = ""; | |
634 | 201498 | p_name = ""; | |
635 | 201498 | p_subTitle = ""; | |
636 | 201498 | p_labelName = ""; | |
637 | 201498 | p_link = ""; | |
638 | 201498 | p_balise = ""; | |
639 | 201498 | p_nbline = 0lu; | |
640 | 201498 | p_author = ""; | |
641 | 201498 | p_date = ""; | |
642 | 201498 | p_sourceFile = ""; | |
643 | 201498 | p_sourceLine = 0lu; | |
644 | 201498 | p_isWorkInProgress = false; | |
645 | 201498 | p_rowSpan = 0lu; | |
646 | 201498 | p_colSpan = 0lu; | |
647 | 201498 | } | |
648 | |||
649 | ///Constructor of class PFullMenu | ||
650 |
2/2✓ Branch 2 taken 378 times.
✓ Branch 6 taken 378 times.
|
378 | PFullMenu::PFullMenu(){ |
651 |
1/1✓ Branch 1 taken 378 times.
|
378 | initialisationPFullMenu(); |
652 | 378 | } | |
653 | |||
654 | ///Copy Constructor of class PFullMenu | ||
655 | /** @param other : PFullMenu we want ot copy | ||
656 | */ | ||
657 |
2/2✓ Branch 2 taken 21710 times.
✓ Branch 6 taken 21710 times.
|
21710 | PFullMenu::PFullMenu(const PFullMenu & other){ |
658 |
1/1✓ Branch 1 taken 21710 times.
|
21710 | copyPFullMenu(other); |
659 | 21710 | } | |
660 | |||
661 | ///Destructor of class PFullMenu | ||
662 | 44176 | PFullMenu::~PFullMenu(){ | |
663 | |||
664 | } | ||
665 | |||
666 | ///Operator = of class PFullMenu | ||
667 | /** @param other : PFullMenu we want ot copy | ||
668 | * @return copied class PFullMenu | ||
669 | */ | ||
670 | 11 | PFullMenu & PFullMenu::operator = (const PFullMenu & other){ | |
671 | 11 | copyPFullMenu(other); | |
672 | 11 | return *this; | |
673 | } | ||
674 | |||
675 | ///Sets the isExpanded of the PFullMenu | ||
676 | /** @param isExpanded : isExpanded of the PFullMenu | ||
677 | */ | ||
678 | 10181 | void PFullMenu::setIsExpanded(bool isExpanded){ | |
679 | 10181 | p_isExpanded = isExpanded; | |
680 | 10181 | } | |
681 | |||
682 | ///Sets the isFirstExpanded of the PFullMenu | ||
683 | /** @param isFirstExpanded : isFirstExpanded of the PFullMenu | ||
684 | */ | ||
685 | 10181 | void PFullMenu::setIsFirstExpanded(bool isFirstExpanded){ | |
686 | 10181 | p_isFirstExpanded = isFirstExpanded; | |
687 | 10181 | } | |
688 | |||
689 | ///Sets the isSeparator of the PFullMenu | ||
690 | /** @param isSeparator : isSeparator of the PFullMenu | ||
691 | */ | ||
692 | 2 | void PFullMenu::setIsSeparator(bool isSeparator){ | |
693 | 2 | p_isSeparator = isSeparator; | |
694 | 2 | } | |
695 | |||
696 | ///Sets the link of the PFullMenu | ||
697 | /** @param link : link of the PFullMenu | ||
698 | */ | ||
699 | 251 | void PFullMenu::setLink(const PString & link){ | |
700 | 251 | p_link = link; | |
701 | 251 | } | |
702 | |||
703 | ///Sets the text of the PFullMenu | ||
704 | /** @param text : text of the PFullMenu | ||
705 | */ | ||
706 | 251 | void PFullMenu::setText(const PString & text){ | |
707 | 251 | p_text = text; | |
708 | 251 | } | |
709 | |||
710 | ///Sets the vecSubMenu of the PFullMenu | ||
711 | /** @param vecSubMenu : vecSubMenu of the PFullMenu | ||
712 | */ | ||
713 | ✗ | void PFullMenu::setVecSubMenu(const std::vector<PFullMenu> & vecSubMenu){ | |
714 | ✗ | p_vecSubMenu = vecSubMenu; | |
715 | } | ||
716 | |||
717 | ///Sets the mainPageLink of the PFullMenu | ||
718 | /** @param mainPageLink : mainPageLink of the PFullMenu | ||
719 | */ | ||
720 | 11 | void PFullMenu::setMainPageLink(const PString & mainPageLink){ | |
721 | 11 | p_mainPageLink = mainPageLink; | |
722 | 11 | } | |
723 | |||
724 | ///Gets the isExpanded of the PFullMenu | ||
725 | /** @return isExpanded of the PFullMenu | ||
726 | */ | ||
727 | 19844 | bool PFullMenu::getIsExpanded() const{ | |
728 | 19844 | return p_isExpanded; | |
729 | } | ||
730 | |||
731 | ///Gets the isExpanded of the PFullMenu | ||
732 | /** @return isExpanded of the PFullMenu | ||
733 | */ | ||
734 | 9932 | bool & PFullMenu::getIsExpanded(){ | |
735 | 9932 | return p_isExpanded; | |
736 | } | ||
737 | |||
738 | ///Gets the isFirstExpanded of the PFullMenu | ||
739 | /** @return isFirstExpanded of the PFullMenu | ||
740 | */ | ||
741 | 718 | bool PFullMenu::getIsFirstExpanded() const{ | |
742 | 718 | return p_isFirstExpanded; | |
743 | } | ||
744 | |||
745 | ///Gets the isFirstExpanded of the PFullMenu | ||
746 | /** @return isFirstExpanded of the PFullMenu | ||
747 | */ | ||
748 | ✗ | bool & PFullMenu::getIsFirstExpanded(){ | |
749 | ✗ | return p_isFirstExpanded; | |
750 | } | ||
751 | |||
752 | ///Gets the isSeparator of the PFullMenu | ||
753 | /** @return isSeparator of the PFullMenu | ||
754 | */ | ||
755 | 19858 | bool PFullMenu::getIsSeparator() const{ | |
756 | 19858 | return p_isSeparator; | |
757 | } | ||
758 | |||
759 | ///Gets the isSeparator of the PFullMenu | ||
760 | /** @return isSeparator of the PFullMenu | ||
761 | */ | ||
762 | ✗ | bool & PFullMenu::getIsSeparator(){ | |
763 | ✗ | return p_isSeparator; | |
764 | } | ||
765 | |||
766 | ///Gets the link of the PFullMenu | ||
767 | /** @return link of the PFullMenu | ||
768 | */ | ||
769 | 30039 | const PString & PFullMenu::getLink() const{ | |
770 | 30039 | return p_link; | |
771 | } | ||
772 | |||
773 | ///Gets the link of the PFullMenu | ||
774 | /** @return link of the PFullMenu | ||
775 | */ | ||
776 | ✗ | PString & PFullMenu::getLink(){ | |
777 | ✗ | return p_link; | |
778 | } | ||
779 | |||
780 | ///Gets the text of the PFullMenu | ||
781 | /** @return text of the PFullMenu | ||
782 | */ | ||
783 | 19858 | const PString & PFullMenu::getText() const{ | |
784 | 19858 | return p_text; | |
785 | } | ||
786 | |||
787 | ///Gets the text of the PFullMenu | ||
788 | /** @return text of the PFullMenu | ||
789 | */ | ||
790 | ✗ | PString & PFullMenu::getText(){ | |
791 | ✗ | return p_text; | |
792 | } | ||
793 | |||
794 | ///Gets the vecSubMenu of the PFullMenu | ||
795 | /** @return vecSubMenu of the PFullMenu | ||
796 | */ | ||
797 | 19844 | const std::vector<PFullMenu> & PFullMenu::getVecSubMenu() const{ | |
798 | 19844 | return p_vecSubMenu; | |
799 | } | ||
800 | |||
801 | ///Gets the vecSubMenu of the PFullMenu | ||
802 | /** @return vecSubMenu of the PFullMenu | ||
803 | */ | ||
804 | 10670 | std::vector<PFullMenu> & PFullMenu::getVecSubMenu(){ | |
805 | 10670 | return p_vecSubMenu; | |
806 | } | ||
807 | |||
808 | ///Gets the mainPageLink of the PFullMenu | ||
809 | /** @return mainPageLink of the PFullMenu | ||
810 | */ | ||
811 | 249 | const PString & PFullMenu::getMainPageLink() const{ | |
812 | 249 | return p_mainPageLink; | |
813 | } | ||
814 | |||
815 | ///Gets the mainPageLink of the PFullMenu | ||
816 | /** @return mainPageLink of the PFullMenu | ||
817 | */ | ||
818 | ✗ | PString & PFullMenu::getMainPageLink(){ | |
819 | ✗ | return p_mainPageLink; | |
820 | } | ||
821 | |||
822 | ///Copy Function of class PFullMenu | ||
823 | /** @param other : PFullMenu we want ot copy | ||
824 | */ | ||
825 | 21721 | void PFullMenu::copyPFullMenu(const PFullMenu & other){ | |
826 | 21721 | p_isExpanded = other.p_isExpanded; | |
827 | 21721 | p_isFirstExpanded = other.p_isFirstExpanded; | |
828 | 21721 | p_isSeparator = other.p_isSeparator; | |
829 | 21721 | p_link = other.p_link; | |
830 | 21721 | p_text = other.p_text; | |
831 | 21721 | p_vecSubMenu = other.p_vecSubMenu; | |
832 | 21721 | p_mainPageLink = other.p_mainPageLink; | |
833 | 21721 | } | |
834 | |||
835 | ///Initialisation Function of class PFullMenu | ||
836 | 378 | void PFullMenu::initialisationPFullMenu(){ | |
837 | 378 | p_isExpanded = false; | |
838 | 378 | p_isFirstExpanded = false; | |
839 | 378 | p_isSeparator = false; | |
840 | 378 | p_link = ""; | |
841 | 378 | p_text = ""; | |
842 | 378 | p_mainPageLink = ""; | |
843 | 378 | } | |
844 | |||
845 | ///Constructor of class PLatexFunc | ||
846 | ✗ | PLatexFunc::PLatexFunc(){ | |
847 | ✗ | initialisationPLatexFunc(); | |
848 | } | ||
849 | |||
850 | ///Copy Constructor of class PLatexFunc | ||
851 | /** @param other : PLatexFunc we want ot copy | ||
852 | */ | ||
853 | ✗ | PLatexFunc::PLatexFunc(const PLatexFunc & other){ | |
854 | ✗ | copyPLatexFunc(other); | |
855 | } | ||
856 | |||
857 | ///Destructor of class PLatexFunc | ||
858 | ✗ | PLatexFunc::~PLatexFunc(){ | |
859 | |||
860 | } | ||
861 | |||
862 | ///Operator = of class PLatexFunc | ||
863 | /** @param other : PLatexFunc we want ot copy | ||
864 | * @return copied class PLatexFunc | ||
865 | */ | ||
866 | ✗ | PLatexFunc & PLatexFunc::operator = (const PLatexFunc & other){ | |
867 | ✗ | copyPLatexFunc(other); | |
868 | ✗ | return *this; | |
869 | } | ||
870 | |||
871 | ///Sets the name of the PLatexFunc | ||
872 | /** @param name : name of the PLatexFunc | ||
873 | */ | ||
874 | ✗ | void PLatexFunc::setName(const PString & name){ | |
875 | ✗ | p_name = name; | |
876 | } | ||
877 | |||
878 | ///Sets the vecParam of the PLatexFunc | ||
879 | /** @param vecParam : vecParam of the PLatexFunc | ||
880 | */ | ||
881 | ✗ | void PLatexFunc::setVecParam(const std::vector<PString> & vecParam){ | |
882 | ✗ | p_vecParam = vecParam; | |
883 | } | ||
884 | |||
885 | ///Sets the content of the PLatexFunc | ||
886 | /** @param content : content of the PLatexFunc | ||
887 | */ | ||
888 | ✗ | void PLatexFunc::setContent(const PLatexObj & content){ | |
889 | ✗ | p_content = content; | |
890 | } | ||
891 | |||
892 | ///Gets the name of the PLatexFunc | ||
893 | /** @return name of the PLatexFunc | ||
894 | */ | ||
895 | ✗ | const PString & PLatexFunc::getName() const{ | |
896 | ✗ | return p_name; | |
897 | } | ||
898 | |||
899 | ///Gets the name of the PLatexFunc | ||
900 | /** @return name of the PLatexFunc | ||
901 | */ | ||
902 | ✗ | PString & PLatexFunc::getName(){ | |
903 | ✗ | return p_name; | |
904 | } | ||
905 | |||
906 | ///Gets the vecParam of the PLatexFunc | ||
907 | /** @return vecParam of the PLatexFunc | ||
908 | */ | ||
909 | ✗ | const std::vector<PString> & PLatexFunc::getVecParam() const{ | |
910 | ✗ | return p_vecParam; | |
911 | } | ||
912 | |||
913 | ///Gets the vecParam of the PLatexFunc | ||
914 | /** @return vecParam of the PLatexFunc | ||
915 | */ | ||
916 | ✗ | std::vector<PString> & PLatexFunc::getVecParam(){ | |
917 | ✗ | return p_vecParam; | |
918 | } | ||
919 | |||
920 | ///Gets the content of the PLatexFunc | ||
921 | /** @return content of the PLatexFunc | ||
922 | */ | ||
923 | ✗ | const PLatexObj & PLatexFunc::getContent() const{ | |
924 | ✗ | return p_content; | |
925 | } | ||
926 | |||
927 | ///Gets the content of the PLatexFunc | ||
928 | /** @return content of the PLatexFunc | ||
929 | */ | ||
930 | ✗ | PLatexObj & PLatexFunc::getContent(){ | |
931 | ✗ | return p_content; | |
932 | } | ||
933 | |||
934 | ///Copy Function of class PLatexFunc | ||
935 | /** @param other : PLatexFunc we want ot copy | ||
936 | */ | ||
937 | ✗ | void PLatexFunc::copyPLatexFunc(const PLatexFunc & other){ | |
938 | ✗ | p_name = other.p_name; | |
939 | ✗ | p_vecParam = other.p_vecParam; | |
940 | ✗ | p_content = other.p_content; | |
941 | } | ||
942 | |||
943 | ///Initialisation Function of class PLatexFunc | ||
944 | ✗ | void PLatexFunc::initialisationPLatexFunc(){ | |
945 | ✗ | p_name = ""; | |
946 | } | ||
947 | |||
948 | ///Constructor of class PLatexEnv | ||
949 | ✗ | PLatexEnv::PLatexEnv(){ | |
950 | ✗ | initialisationPLatexEnv(); | |
951 | } | ||
952 | |||
953 | ///Copy Constructor of class PLatexEnv | ||
954 | /** @param other : PLatexEnv we want ot copy | ||
955 | */ | ||
956 | ✗ | PLatexEnv::PLatexEnv(const PLatexEnv & other){ | |
957 | ✗ | copyPLatexEnv(other); | |
958 | } | ||
959 | |||
960 | ///Destructor of class PLatexEnv | ||
961 | ✗ | PLatexEnv::~PLatexEnv(){ | |
962 | |||
963 | } | ||
964 | |||
965 | ///Operator = of class PLatexEnv | ||
966 | /** @param other : PLatexEnv we want ot copy | ||
967 | * @return copied class PLatexEnv | ||
968 | */ | ||
969 | ✗ | PLatexEnv & PLatexEnv::operator = (const PLatexEnv & other){ | |
970 | ✗ | copyPLatexEnv(other); | |
971 | ✗ | return *this; | |
972 | } | ||
973 | |||
974 | ///Sets the name of the PLatexEnv | ||
975 | /** @param name : name of the PLatexEnv | ||
976 | */ | ||
977 | ✗ | void PLatexEnv::setName(const PString & name){ | |
978 | ✗ | p_name = name; | |
979 | } | ||
980 | |||
981 | ///Sets the begin of the PLatexEnv | ||
982 | /** @param begin : begin of the PLatexEnv | ||
983 | */ | ||
984 | ✗ | void PLatexEnv::setBegin(const PLatexObj & begin){ | |
985 | ✗ | p_begin = begin; | |
986 | } | ||
987 | |||
988 | ///Sets the end of the PLatexEnv | ||
989 | /** @param end : end of the PLatexEnv | ||
990 | */ | ||
991 | ✗ | void PLatexEnv::setEnd(const PLatexObj & end){ | |
992 | ✗ | p_end = end; | |
993 | } | ||
994 | |||
995 | ///Gets the name of the PLatexEnv | ||
996 | /** @return name of the PLatexEnv | ||
997 | */ | ||
998 | ✗ | const PString & PLatexEnv::getName() const{ | |
999 | ✗ | return p_name; | |
1000 | } | ||
1001 | |||
1002 | ///Gets the name of the PLatexEnv | ||
1003 | /** @return name of the PLatexEnv | ||
1004 | */ | ||
1005 | ✗ | PString & PLatexEnv::getName(){ | |
1006 | ✗ | return p_name; | |
1007 | } | ||
1008 | |||
1009 | ///Gets the begin of the PLatexEnv | ||
1010 | /** @return begin of the PLatexEnv | ||
1011 | */ | ||
1012 | ✗ | const PLatexObj & PLatexEnv::getBegin() const{ | |
1013 | ✗ | return p_begin; | |
1014 | } | ||
1015 | |||
1016 | ///Gets the begin of the PLatexEnv | ||
1017 | /** @return begin of the PLatexEnv | ||
1018 | */ | ||
1019 | ✗ | PLatexObj & PLatexEnv::getBegin(){ | |
1020 | ✗ | return p_begin; | |
1021 | } | ||
1022 | |||
1023 | ///Gets the end of the PLatexEnv | ||
1024 | /** @return end of the PLatexEnv | ||
1025 | */ | ||
1026 | ✗ | const PLatexObj & PLatexEnv::getEnd() const{ | |
1027 | ✗ | return p_end; | |
1028 | } | ||
1029 | |||
1030 | ///Gets the end of the PLatexEnv | ||
1031 | /** @return end of the PLatexEnv | ||
1032 | */ | ||
1033 | ✗ | PLatexObj & PLatexEnv::getEnd(){ | |
1034 | ✗ | return p_end; | |
1035 | } | ||
1036 | |||
1037 | ///Copy Function of class PLatexEnv | ||
1038 | /** @param other : PLatexEnv we want ot copy | ||
1039 | */ | ||
1040 | ✗ | void PLatexEnv::copyPLatexEnv(const PLatexEnv & other){ | |
1041 | ✗ | p_name = other.p_name; | |
1042 | ✗ | p_begin = other.p_begin; | |
1043 | ✗ | p_end = other.p_end; | |
1044 | } | ||
1045 | |||
1046 | ///Initialisation Function of class PLatexEnv | ||
1047 | ✗ | void PLatexEnv::initialisationPLatexEnv(){ | |
1048 | ✗ | p_name = ""; | |
1049 | } | ||
1050 | |||
1051 | ///Constructor of class PEnvironement | ||
1052 |
2/2✓ Branch 2 taken 94342 times.
✓ Branch 5 taken 94342 times.
|
94342 | PEnvironement::PEnvironement(){ |
1053 |
1/1✓ Branch 1 taken 94342 times.
|
94342 | initialisationPEnvironement(); |
1054 | 94342 | } | |
1055 | |||
1056 | ///Copy Constructor of class PEnvironement | ||
1057 | /** @param other : PEnvironement we want ot copy | ||
1058 | */ | ||
1059 |
2/2✓ Branch 2 taken 258 times.
✓ Branch 5 taken 258 times.
|
258 | PEnvironement::PEnvironement(const PEnvironement & other){ |
1060 |
1/1✓ Branch 1 taken 258 times.
|
258 | copyPEnvironement(other); |
1061 | 258 | } | |
1062 | |||
1063 | ///Destructor of class PEnvironement | ||
1064 | 189200 | PEnvironement::~PEnvironement(){ | |
1065 | |||
1066 | } | ||
1067 | |||
1068 | ///Operator = of class PEnvironement | ||
1069 | /** @param other : PEnvironement we want ot copy | ||
1070 | * @return copied class PEnvironement | ||
1071 | */ | ||
1072 | 47171 | PEnvironement & PEnvironement::operator = (const PEnvironement & other){ | |
1073 | 47171 | copyPEnvironement(other); | |
1074 | 47171 | return *this; | |
1075 | } | ||
1076 | |||
1077 | ///Sets the name of the PEnvironement | ||
1078 | /** @param name : name of the PEnvironement | ||
1079 | */ | ||
1080 | 47171 | void PEnvironement::setName(const PString & name){ | |
1081 | 47171 | p_name = name; | |
1082 | 47171 | } | |
1083 | |||
1084 | ///Sets the css of the PEnvironement | ||
1085 | /** @param css : css of the PEnvironement | ||
1086 | */ | ||
1087 | 47171 | void PEnvironement::setCss(const PString & css){ | |
1088 | 47171 | p_css = css; | |
1089 | 47171 | } | |
1090 | |||
1091 | ///Sets the balise of the PEnvironement | ||
1092 | /** @param balise : balise of the PEnvironement | ||
1093 | */ | ||
1094 | 47171 | void PEnvironement::setBalise(const PString & balise){ | |
1095 | 47171 | p_balise = balise; | |
1096 | 47171 | } | |
1097 | |||
1098 | ///Sets the isAllowComment of the PEnvironement | ||
1099 | /** @param isAllowComment : isAllowComment of the PEnvironement | ||
1100 | */ | ||
1101 | 14261 | void PEnvironement::setIsAllowComment(bool isAllowComment){ | |
1102 | 14261 | p_isAllowComment = isAllowComment; | |
1103 | 14261 | } | |
1104 | |||
1105 | ///Sets the isAlloxMath of the PEnvironement | ||
1106 | /** @param isAlloxMath : isAlloxMath of the PEnvironement | ||
1107 | */ | ||
1108 | 14261 | void PEnvironement::setIsAlloxMath(bool isAlloxMath){ | |
1109 | 14261 | p_isAlloxMath = isAlloxMath; | |
1110 | 14261 | } | |
1111 | |||
1112 | ///Gets the name of the PEnvironement | ||
1113 | /** @return name of the PEnvironement | ||
1114 | */ | ||
1115 | ✗ | const PString & PEnvironement::getName() const{ | |
1116 | ✗ | return p_name; | |
1117 | } | ||
1118 | |||
1119 | ///Gets the name of the PEnvironement | ||
1120 | /** @return name of the PEnvironement | ||
1121 | */ | ||
1122 | 22360 | PString & PEnvironement::getName(){ | |
1123 | 22360 | return p_name; | |
1124 | } | ||
1125 | |||
1126 | ///Gets the css of the PEnvironement | ||
1127 | /** @return css of the PEnvironement | ||
1128 | */ | ||
1129 | ✗ | const PString & PEnvironement::getCss() const{ | |
1130 | ✗ | return p_css; | |
1131 | } | ||
1132 | |||
1133 | ///Gets the css of the PEnvironement | ||
1134 | /** @return css of the PEnvironement | ||
1135 | */ | ||
1136 | 22360 | PString & PEnvironement::getCss(){ | |
1137 | 22360 | return p_css; | |
1138 | } | ||
1139 | |||
1140 | ///Gets the balise of the PEnvironement | ||
1141 | /** @return balise of the PEnvironement | ||
1142 | */ | ||
1143 | ✗ | const PString & PEnvironement::getBalise() const{ | |
1144 | ✗ | return p_balise; | |
1145 | } | ||
1146 | |||
1147 | ///Gets the balise of the PEnvironement | ||
1148 | /** @return balise of the PEnvironement | ||
1149 | */ | ||
1150 | 947 | PString & PEnvironement::getBalise(){ | |
1151 | 947 | return p_balise; | |
1152 | } | ||
1153 | |||
1154 | ///Gets the isAllowComment of the PEnvironement | ||
1155 | /** @return isAllowComment of the PEnvironement | ||
1156 | */ | ||
1157 | ✗ | bool PEnvironement::getIsAllowComment() const{ | |
1158 | ✗ | return p_isAllowComment; | |
1159 | } | ||
1160 | |||
1161 | ///Gets the isAllowComment of the PEnvironement | ||
1162 | /** @return isAllowComment of the PEnvironement | ||
1163 | */ | ||
1164 | 316 | bool & PEnvironement::getIsAllowComment(){ | |
1165 | 316 | return p_isAllowComment; | |
1166 | } | ||
1167 | |||
1168 | ///Gets the isAlloxMath of the PEnvironement | ||
1169 | /** @return isAlloxMath of the PEnvironement | ||
1170 | */ | ||
1171 | ✗ | bool PEnvironement::getIsAlloxMath() const{ | |
1172 | ✗ | return p_isAlloxMath; | |
1173 | } | ||
1174 | |||
1175 | ///Gets the isAlloxMath of the PEnvironement | ||
1176 | /** @return isAlloxMath of the PEnvironement | ||
1177 | */ | ||
1178 | 316 | bool & PEnvironement::getIsAlloxMath(){ | |
1179 | 316 | return p_isAlloxMath; | |
1180 | } | ||
1181 | |||
1182 | ///Copy Function of class PEnvironement | ||
1183 | /** @param other : PEnvironement we want ot copy | ||
1184 | */ | ||
1185 | 47429 | void PEnvironement::copyPEnvironement(const PEnvironement & other){ | |
1186 | 47429 | p_name = other.p_name; | |
1187 | 47429 | p_css = other.p_css; | |
1188 | 47429 | p_balise = other.p_balise; | |
1189 | 47429 | p_isAllowComment = other.p_isAllowComment; | |
1190 | 47429 | p_isAlloxMath = other.p_isAlloxMath; | |
1191 | 47429 | } | |
1192 | |||
1193 | ///Initialisation Function of class PEnvironement | ||
1194 | 94342 | void PEnvironement::initialisationPEnvironement(){ | |
1195 | 94342 | p_name = ""; | |
1196 | 94342 | p_css = ""; | |
1197 | 94342 | p_balise = ""; | |
1198 | 94342 | p_isAllowComment = false; | |
1199 | 94342 | p_isAlloxMath = false; | |
1200 | 94342 | } | |
1201 | |||
1202 | ///Constructor of class PContext | ||
1203 |
6/6✓ Branch 2 taken 321421 times.
✓ Branch 5 taken 321421 times.
✓ Branch 8 taken 321421 times.
✓ Branch 11 taken 321421 times.
✓ Branch 14 taken 321421 times.
✓ Branch 19 taken 321421 times.
|
321421 | PContext::PContext(){ |
1204 |
1/1✓ Branch 1 taken 321421 times.
|
321421 | initialisationPContext(); |
1205 | 321421 | } | |
1206 | |||
1207 | ///Copy Constructor of class PContext | ||
1208 | /** @param other : PContext we want ot copy | ||
1209 | */ | ||
1210 |
6/6✓ Branch 2 taken 1400793 times.
✓ Branch 5 taken 1400793 times.
✓ Branch 8 taken 1400793 times.
✓ Branch 11 taken 1400793 times.
✓ Branch 14 taken 1400793 times.
✓ Branch 19 taken 1400793 times.
|
1400793 | PContext::PContext(const PContext & other){ |
1211 |
1/1✓ Branch 1 taken 1400793 times.
|
1400793 | copyPContext(other); |
1212 | 1400793 | } | |
1213 | |||
1214 | ///Destructor of class PContext | ||
1215 | 3444428 | PContext::~PContext(){ | |
1216 | |||
1217 | } | ||
1218 | |||
1219 | ///Operator = of class PContext | ||
1220 | /** @param other : PContext we want ot copy | ||
1221 | * @return copied class PContext | ||
1222 | */ | ||
1223 | 879 | PContext & PContext::operator = (const PContext & other){ | |
1224 | 879 | copyPContext(other); | |
1225 | 879 | return *this; | |
1226 | } | ||
1227 | |||
1228 | ///Sets the name of the PContext | ||
1229 | /** @param name : name of the PContext | ||
1230 | */ | ||
1231 | 321421 | void PContext::setName(const PString & name){ | |
1232 | 321421 | p_name = name; | |
1233 | 321421 | } | |
1234 | |||
1235 | ///Sets the begin of the PContext | ||
1236 | /** @param begin : begin of the PContext | ||
1237 | */ | ||
1238 | 144804 | void PContext::setBegin(const PString & begin){ | |
1239 | 144804 | p_begin = begin; | |
1240 | 144804 | } | |
1241 | |||
1242 | ///Sets the end of the PContext | ||
1243 | /** @param end : end of the PContext | ||
1244 | */ | ||
1245 | 144804 | void PContext::setEnd(const PString & end){ | |
1246 | 144804 | p_end = end; | |
1247 | 144804 | } | |
1248 | |||
1249 | ///Sets the notBeforeBegin of the PContext | ||
1250 | /** @param notBeforeBegin : notBeforeBegin of the PContext | ||
1251 | */ | ||
1252 | 1097 | void PContext::setNotBeforeBegin(const PString & notBeforeBegin){ | |
1253 | 1097 | p_notBeforeBegin = notBeforeBegin; | |
1254 | 1097 | } | |
1255 | |||
1256 | ///Sets the notAfterBegin of the PContext | ||
1257 | /** @param notAfterBegin : notAfterBegin of the PContext | ||
1258 | */ | ||
1259 | ✗ | void PContext::setNotAfterBegin(const PString & notAfterBegin){ | |
1260 | ✗ | p_notAfterBegin = notAfterBegin; | |
1261 | } | ||
1262 | |||
1263 | ///Sets the notBeforeEnd of the PContext | ||
1264 | /** @param notBeforeEnd : notBeforeEnd of the PContext | ||
1265 | */ | ||
1266 | 17552 | void PContext::setNotBeforeEnd(const PString & notBeforeEnd){ | |
1267 | 17552 | p_notBeforeEnd = notBeforeEnd; | |
1268 | 17552 | } | |
1269 | |||
1270 | ///Sets the vecKeyword of the PContext | ||
1271 | /** @param vecKeyword : vecKeyword of the PContext | ||
1272 | */ | ||
1273 | ✗ | void PContext::setVecKeyword(const std::vector<PString> & vecKeyword){ | |
1274 | ✗ | p_vecKeyword = vecKeyword; | |
1275 | } | ||
1276 | |||
1277 | ///Sets the vecDelimiter of the PContext | ||
1278 | /** @param vecDelimiter : vecDelimiter of the PContext | ||
1279 | */ | ||
1280 | ✗ | void PContext::setVecDelimiter(const std::vector<PString> & vecDelimiter){ | |
1281 | ✗ | p_vecDelimiter = vecDelimiter; | |
1282 | } | ||
1283 | |||
1284 | ///Sets the seq of the PContext | ||
1285 | /** @param seq : seq of the PContext | ||
1286 | */ | ||
1287 | 55947 | void PContext::setSeq(const PParseSeq & seq){ | |
1288 | 55947 | p_seq = seq; | |
1289 | 55947 | } | |
1290 | |||
1291 | ///Gets the name of the PContext | ||
1292 | /** @return name of the PContext | ||
1293 | */ | ||
1294 | 2893 | const PString & PContext::getName() const{ | |
1295 | 2893 | return p_name; | |
1296 | } | ||
1297 | |||
1298 | ///Gets the name of the PContext | ||
1299 | /** @return name of the PContext | ||
1300 | */ | ||
1301 | ✗ | PString & PContext::getName(){ | |
1302 | ✗ | return p_name; | |
1303 | } | ||
1304 | |||
1305 | ///Gets the begin of the PContext | ||
1306 | /** @return begin of the PContext | ||
1307 | */ | ||
1308 | 488018 | const PString & PContext::getBegin() const{ | |
1309 | 488018 | return p_begin; | |
1310 | } | ||
1311 | |||
1312 | ///Gets the begin of the PContext | ||
1313 | /** @return begin of the PContext | ||
1314 | */ | ||
1315 | ✗ | PString & PContext::getBegin(){ | |
1316 | ✗ | return p_begin; | |
1317 | } | ||
1318 | |||
1319 | ///Gets the end of the PContext | ||
1320 | /** @return end of the PContext | ||
1321 | */ | ||
1322 | 488018 | const PString & PContext::getEnd() const{ | |
1323 | 488018 | return p_end; | |
1324 | } | ||
1325 | |||
1326 | ///Gets the end of the PContext | ||
1327 | /** @return end of the PContext | ||
1328 | */ | ||
1329 | ✗ | PString & PContext::getEnd(){ | |
1330 | ✗ | return p_end; | |
1331 | } | ||
1332 | |||
1333 | ///Gets the notBeforeBegin of the PContext | ||
1334 | /** @return notBeforeBegin of the PContext | ||
1335 | */ | ||
1336 | 488018 | const PString & PContext::getNotBeforeBegin() const{ | |
1337 | 488018 | return p_notBeforeBegin; | |
1338 | } | ||
1339 | |||
1340 | ///Gets the notBeforeBegin of the PContext | ||
1341 | /** @return notBeforeBegin of the PContext | ||
1342 | */ | ||
1343 | ✗ | PString & PContext::getNotBeforeBegin(){ | |
1344 | ✗ | return p_notBeforeBegin; | |
1345 | } | ||
1346 | |||
1347 | ///Gets the notAfterBegin of the PContext | ||
1348 | /** @return notAfterBegin of the PContext | ||
1349 | */ | ||
1350 | 488018 | const PString & PContext::getNotAfterBegin() const{ | |
1351 | 488018 | return p_notAfterBegin; | |
1352 | } | ||
1353 | |||
1354 | ///Gets the notAfterBegin of the PContext | ||
1355 | /** @return notAfterBegin of the PContext | ||
1356 | */ | ||
1357 | ✗ | PString & PContext::getNotAfterBegin(){ | |
1358 | ✗ | return p_notAfterBegin; | |
1359 | } | ||
1360 | |||
1361 | ///Gets the notBeforeEnd of the PContext | ||
1362 | /** @return notBeforeEnd of the PContext | ||
1363 | */ | ||
1364 | 488018 | const PString & PContext::getNotBeforeEnd() const{ | |
1365 | 488018 | return p_notBeforeEnd; | |
1366 | } | ||
1367 | |||
1368 | ///Gets the notBeforeEnd of the PContext | ||
1369 | /** @return notBeforeEnd of the PContext | ||
1370 | */ | ||
1371 | ✗ | PString & PContext::getNotBeforeEnd(){ | |
1372 | ✗ | return p_notBeforeEnd; | |
1373 | } | ||
1374 | |||
1375 | ///Gets the vecKeyword of the PContext | ||
1376 | /** @return vecKeyword of the PContext | ||
1377 | */ | ||
1378 | 488018 | const std::vector<PString> & PContext::getVecKeyword() const{ | |
1379 | 488018 | return p_vecKeyword; | |
1380 | } | ||
1381 | |||
1382 | ///Gets the vecKeyword of the PContext | ||
1383 | /** @return vecKeyword of the PContext | ||
1384 | */ | ||
1385 | 1976794 | std::vector<PString> & PContext::getVecKeyword(){ | |
1386 | 1976794 | return p_vecKeyword; | |
1387 | } | ||
1388 | |||
1389 | ///Gets the vecDelimiter of the PContext | ||
1390 | /** @return vecDelimiter of the PContext | ||
1391 | */ | ||
1392 | 488018 | const std::vector<PString> & PContext::getVecDelimiter() const{ | |
1393 | 488018 | return p_vecDelimiter; | |
1394 | } | ||
1395 | |||
1396 | ///Gets the vecDelimiter of the PContext | ||
1397 | /** @return vecDelimiter of the PContext | ||
1398 | */ | ||
1399 | 17552 | std::vector<PString> & PContext::getVecDelimiter(){ | |
1400 | 17552 | return p_vecDelimiter; | |
1401 | } | ||
1402 | |||
1403 | ///Gets the seq of the PContext | ||
1404 | /** @return seq of the PContext | ||
1405 | */ | ||
1406 | 510904 | const PParseSeq & PContext::getSeq() const{ | |
1407 | 510904 | return p_seq; | |
1408 | } | ||
1409 | |||
1410 | ///Gets the seq of the PContext | ||
1411 | /** @return seq of the PContext | ||
1412 | */ | ||
1413 | ✗ | PParseSeq & PContext::getSeq(){ | |
1414 | ✗ | return p_seq; | |
1415 | } | ||
1416 | |||
1417 | ///Copy Function of class PContext | ||
1418 | /** @param other : PContext we want ot copy | ||
1419 | */ | ||
1420 | 1401672 | void PContext::copyPContext(const PContext & other){ | |
1421 | 1401672 | p_name = other.p_name; | |
1422 | 1401672 | p_begin = other.p_begin; | |
1423 | 1401672 | p_end = other.p_end; | |
1424 | 1401672 | p_notBeforeBegin = other.p_notBeforeBegin; | |
1425 | 1401672 | p_notAfterBegin = other.p_notAfterBegin; | |
1426 | 1401672 | p_notBeforeEnd = other.p_notBeforeEnd; | |
1427 | 1401672 | p_vecKeyword = other.p_vecKeyword; | |
1428 | 1401672 | p_vecDelimiter = other.p_vecDelimiter; | |
1429 | 1401672 | p_seq = other.p_seq; | |
1430 | 1401672 | } | |
1431 | |||
1432 | ///Initialisation Function of class PContext | ||
1433 | 321421 | void PContext::initialisationPContext(){ | |
1434 | 321421 | p_name = ""; | |
1435 | 321421 | p_begin = ""; | |
1436 | 321421 | p_end = ""; | |
1437 | 321421 | p_notBeforeBegin = ""; | |
1438 | 321421 | p_notAfterBegin = ""; | |
1439 | 321421 | p_notBeforeEnd = ""; | |
1440 | 321421 | } | |
1441 | |||
1442 | ///Constructor of class PParserEnv | ||
1443 |
1/1✓ Branch 2 taken 28522 times.
|
28522 | PParserEnv::PParserEnv(){ |
1444 |
1/1✓ Branch 1 taken 28522 times.
|
28522 | initialisationPParserEnv(); |
1445 | 28522 | } | |
1446 | |||
1447 | ///Copy Constructor of class PParserEnv | ||
1448 | /** @param other : PParserEnv we want ot copy | ||
1449 | */ | ||
1450 |
1/1✓ Branch 2 taken 62914 times.
|
62914 | PParserEnv::PParserEnv(const PParserEnv & other){ |
1451 |
1/1✓ Branch 1 taken 62914 times.
|
62914 | copyPParserEnv(other); |
1452 | 62914 | } | |
1453 | |||
1454 | ///Destructor of class PParserEnv | ||
1455 | 182872 | PParserEnv::~PParserEnv(){ | |
1456 | |||
1457 | } | ||
1458 | |||
1459 | ///Operator = of class PParserEnv | ||
1460 | /** @param other : PParserEnv we want ot copy | ||
1461 | * @return copied class PParserEnv | ||
1462 | */ | ||
1463 | 78 | PParserEnv & PParserEnv::operator = (const PParserEnv & other){ | |
1464 | 78 | copyPParserEnv(other); | |
1465 | 78 | return *this; | |
1466 | } | ||
1467 | |||
1468 | ///Sets the name of the PParserEnv | ||
1469 | /** @param name : name of the PParserEnv | ||
1470 | */ | ||
1471 | 28522 | void PParserEnv::setName(const PString & name){ | |
1472 | 28522 | p_name = name; | |
1473 | 28522 | } | |
1474 | |||
1475 | ///Sets the plainText of the PParserEnv | ||
1476 | /** @param plainText : plainText of the PParserEnv | ||
1477 | */ | ||
1478 | 28522 | void PParserEnv::setPlainText(const PString & plainText){ | |
1479 | 28522 | p_plainText = plainText; | |
1480 | 28522 | } | |
1481 | |||
1482 | ///Sets the vecContext of the PParserEnv | ||
1483 | /** @param vecContext : vecContext of the PParserEnv | ||
1484 | */ | ||
1485 | ✗ | void PParserEnv::setVecContext(const std::vector<PContext> & vecContext){ | |
1486 | ✗ | p_vecContext = vecContext; | |
1487 | } | ||
1488 | |||
1489 | ///Gets the name of the PParserEnv | ||
1490 | /** @return name of the PParserEnv | ||
1491 | */ | ||
1492 | 4773 | const PString & PParserEnv::getName() const{ | |
1493 | 4773 | return p_name; | |
1494 | } | ||
1495 | |||
1496 | ///Gets the name of the PParserEnv | ||
1497 | /** @return name of the PParserEnv | ||
1498 | */ | ||
1499 | ✗ | PString & PParserEnv::getName(){ | |
1500 | ✗ | return p_name; | |
1501 | } | ||
1502 | |||
1503 | ///Gets the plainText of the PParserEnv | ||
1504 | /** @return plainText of the PParserEnv | ||
1505 | */ | ||
1506 | 24455 | const PString & PParserEnv::getPlainText() const{ | |
1507 | 24455 | return p_plainText; | |
1508 | } | ||
1509 | |||
1510 | ///Gets the plainText of the PParserEnv | ||
1511 | /** @return plainText of the PParserEnv | ||
1512 | */ | ||
1513 | ✗ | PString & PParserEnv::getPlainText(){ | |
1514 | ✗ | return p_plainText; | |
1515 | } | ||
1516 | |||
1517 | ///Gets the vecContext of the PParserEnv | ||
1518 | /** @return vecContext of the PParserEnv | ||
1519 | */ | ||
1520 | 27348 | const std::vector<PContext> & PParserEnv::getVecContext() const{ | |
1521 | 27348 | return p_vecContext; | |
1522 | } | ||
1523 | |||
1524 | ///Gets the vecContext of the PParserEnv | ||
1525 | /** @return vecContext of the PParserEnv | ||
1526 | */ | ||
1527 | 321421 | std::vector<PContext> & PParserEnv::getVecContext(){ | |
1528 | 321421 | return p_vecContext; | |
1529 | } | ||
1530 | |||
1531 | ///Copy Function of class PParserEnv | ||
1532 | /** @param other : PParserEnv we want ot copy | ||
1533 | */ | ||
1534 | 62992 | void PParserEnv::copyPParserEnv(const PParserEnv & other){ | |
1535 | 62992 | p_name = other.p_name; | |
1536 | 62992 | p_plainText = other.p_plainText; | |
1537 | 62992 | p_vecContext = other.p_vecContext; | |
1538 | 62992 | } | |
1539 | |||
1540 | ///Initialisation Function of class PParserEnv | ||
1541 | 28522 | void PParserEnv::initialisationPParserEnv(){ | |
1542 | 28522 | p_name = ""; | |
1543 | 28522 | p_plainText = ""; | |
1544 | 28522 | } | |
1545 | |||
1546 | ///Constructor of class PVecParserEnv | ||
1547 | 1100 | PVecParserEnv::PVecParserEnv(){ | |
1548 |
1/1✓ Branch 1 taken 1100 times.
|
1100 | initialisationPVecParserEnv(); |
1549 | 1100 | } | |
1550 | |||
1551 | ///Copy Constructor of class PVecParserEnv | ||
1552 | /** @param other : PVecParserEnv we want ot copy | ||
1553 | */ | ||
1554 | ✗ | PVecParserEnv::PVecParserEnv(const PVecParserEnv & other){ | |
1555 | ✗ | copyPVecParserEnv(other); | |
1556 | } | ||
1557 | |||
1558 | ///Destructor of class PVecParserEnv | ||
1559 | 2200 | PVecParserEnv::~PVecParserEnv(){ | |
1560 | |||
1561 | } | ||
1562 | |||
1563 | ///Operator = of class PVecParserEnv | ||
1564 | /** @param other : PVecParserEnv we want ot copy | ||
1565 | * @return copied class PVecParserEnv | ||
1566 | */ | ||
1567 | 6 | PVecParserEnv & PVecParserEnv::operator = (const PVecParserEnv & other){ | |
1568 | 6 | copyPVecParserEnv(other); | |
1569 | 6 | return *this; | |
1570 | } | ||
1571 | |||
1572 | ///Sets the vecEnv of the PVecParserEnv | ||
1573 | /** @param vecEnv : vecEnv of the PVecParserEnv | ||
1574 | */ | ||
1575 | ✗ | void PVecParserEnv::setVecEnv(const std::vector<PParserEnv> & vecEnv){ | |
1576 | ✗ | p_vecEnv = vecEnv; | |
1577 | } | ||
1578 | |||
1579 | ///Gets the vecEnv of the PVecParserEnv | ||
1580 | /** @return vecEnv of the PVecParserEnv | ||
1581 | */ | ||
1582 | 307 | const std::vector<PParserEnv> & PVecParserEnv::getVecEnv() const{ | |
1583 | 307 | return p_vecEnv; | |
1584 | } | ||
1585 | |||
1586 | ///Gets the vecEnv of the PVecParserEnv | ||
1587 | /** @return vecEnv of the PVecParserEnv | ||
1588 | */ | ||
1589 | 28522 | std::vector<PParserEnv> & PVecParserEnv::getVecEnv(){ | |
1590 | 28522 | return p_vecEnv; | |
1591 | } | ||
1592 | |||
1593 | ///Copy Function of class PVecParserEnv | ||
1594 | /** @param other : PVecParserEnv we want ot copy | ||
1595 | */ | ||
1596 | 6 | void PVecParserEnv::copyPVecParserEnv(const PVecParserEnv & other){ | |
1597 | 6 | p_vecEnv = other.p_vecEnv; | |
1598 | 6 | } | |
1599 | |||
1600 | ///Initialisation Function of class PVecParserEnv | ||
1601 | 1100 | void PVecParserEnv::initialisationPVecParserEnv(){ | |
1602 | 1100 | } | |
1603 | |||
1604 | ///Constructor of class PBiblioEntry | ||
1605 |
37/37✓ Branch 2 taken 1530 times.
✓ Branch 5 taken 1530 times.
✓ Branch 8 taken 1530 times.
✓ Branch 11 taken 1530 times.
✓ Branch 14 taken 1530 times.
✓ Branch 17 taken 1530 times.
✓ Branch 20 taken 1530 times.
✓ Branch 23 taken 1530 times.
✓ Branch 26 taken 1530 times.
✓ Branch 29 taken 1530 times.
✓ Branch 32 taken 1530 times.
✓ Branch 35 taken 1530 times.
✓ Branch 38 taken 1530 times.
✓ Branch 41 taken 1530 times.
✓ Branch 44 taken 1530 times.
✓ Branch 47 taken 1530 times.
✓ Branch 50 taken 1530 times.
✓ Branch 53 taken 1530 times.
✓ Branch 56 taken 1530 times.
✓ Branch 59 taken 1530 times.
✓ Branch 62 taken 1530 times.
✓ Branch 65 taken 1530 times.
✓ Branch 68 taken 1530 times.
✓ Branch 71 taken 1530 times.
✓ Branch 74 taken 1530 times.
✓ Branch 77 taken 1530 times.
✓ Branch 80 taken 1530 times.
✓ Branch 83 taken 1530 times.
✓ Branch 86 taken 1530 times.
✓ Branch 89 taken 1530 times.
✓ Branch 92 taken 1530 times.
✓ Branch 95 taken 1530 times.
✓ Branch 98 taken 1530 times.
✓ Branch 101 taken 1530 times.
✓ Branch 104 taken 1530 times.
✓ Branch 107 taken 1530 times.
✓ Branch 110 taken 1530 times.
|
1530 | PBiblioEntry::PBiblioEntry(){ |
1606 |
1/1✓ Branch 1 taken 1530 times.
|
1530 | initialisationPBiblioEntry(); |
1607 | 1530 | } | |
1608 | |||
1609 | ///Copy Constructor of class PBiblioEntry | ||
1610 | /** @param other : PBiblioEntry we want ot copy | ||
1611 | */ | ||
1612 | ✗ | PBiblioEntry::PBiblioEntry(const PBiblioEntry & other){ | |
1613 | ✗ | copyPBiblioEntry(other); | |
1614 | } | ||
1615 | |||
1616 | ///Destructor of class PBiblioEntry | ||
1617 | 3060 | PBiblioEntry::~PBiblioEntry(){ | |
1618 | |||
1619 | } | ||
1620 | |||
1621 | ///Operator = of class PBiblioEntry | ||
1622 | /** @param other : PBiblioEntry we want ot copy | ||
1623 | * @return copied class PBiblioEntry | ||
1624 | */ | ||
1625 | 765 | PBiblioEntry & PBiblioEntry::operator = (const PBiblioEntry & other){ | |
1626 | 765 | copyPBiblioEntry(other); | |
1627 | 765 | return *this; | |
1628 | } | ||
1629 | |||
1630 | ///Sets the id of the PBiblioEntry | ||
1631 | /** @param id : id of the PBiblioEntry | ||
1632 | */ | ||
1633 | 765 | void PBiblioEntry::setId(size_t id){ | |
1634 | 765 | p_id = id; | |
1635 | 765 | } | |
1636 | |||
1637 | ///Sets the type of the PBiblioEntry | ||
1638 | /** @param type : type of the PBiblioEntry | ||
1639 | */ | ||
1640 | 765 | void PBiblioEntry::setType(const PBiblioEntryType::PBiblioEntryType & type){ | |
1641 | 765 | p_type = type; | |
1642 | 765 | } | |
1643 | |||
1644 | ///Sets the label of the PBiblioEntry | ||
1645 | /** @param label : label of the PBiblioEntry | ||
1646 | */ | ||
1647 | 765 | void PBiblioEntry::setLabel(const PString & label){ | |
1648 | 765 | p_label = label; | |
1649 | 765 | } | |
1650 | |||
1651 | ///Sets the author of the PBiblioEntry | ||
1652 | /** @param author : author of the PBiblioEntry | ||
1653 | */ | ||
1654 | 765 | void PBiblioEntry::setAuthor(const PString & author){ | |
1655 | 765 | p_author = author; | |
1656 | 765 | } | |
1657 | |||
1658 | ///Sets the title of the PBiblioEntry | ||
1659 | /** @param title : title of the PBiblioEntry | ||
1660 | */ | ||
1661 | 765 | void PBiblioEntry::setTitle(const PString & title){ | |
1662 | 765 | p_title = title; | |
1663 | 765 | } | |
1664 | |||
1665 | ///Sets the journal of the PBiblioEntry | ||
1666 | /** @param journal : journal of the PBiblioEntry | ||
1667 | */ | ||
1668 | 765 | void PBiblioEntry::setJournal(const PString & journal){ | |
1669 | 765 | p_journal = journal; | |
1670 | 765 | } | |
1671 | |||
1672 | ///Sets the issueDate of the PBiblioEntry | ||
1673 | /** @param issueDate : issueDate of the PBiblioEntry | ||
1674 | */ | ||
1675 | ✗ | void PBiblioEntry::setIssueDate(const PString & issueDate){ | |
1676 | ✗ | p_issueDate = issueDate; | |
1677 | } | ||
1678 | |||
1679 | ///Sets the volume of the PBiblioEntry | ||
1680 | /** @param volume : volume of the PBiblioEntry | ||
1681 | */ | ||
1682 | ✗ | void PBiblioEntry::setVolume(const PString & volume){ | |
1683 | ✗ | p_volume = volume; | |
1684 | } | ||
1685 | |||
1686 | ///Sets the number of the PBiblioEntry | ||
1687 | /** @param number : number of the PBiblioEntry | ||
1688 | */ | ||
1689 | ✗ | void PBiblioEntry::setNumber(const PString & number){ | |
1690 | ✗ | p_number = number; | |
1691 | } | ||
1692 | |||
1693 | ///Sets the month of the PBiblioEntry | ||
1694 | /** @param month : month of the PBiblioEntry | ||
1695 | */ | ||
1696 | ✗ | void PBiblioEntry::setMonth(const PString & month){ | |
1697 | ✗ | p_month = month; | |
1698 | } | ||
1699 | |||
1700 | ///Sets the year of the PBiblioEntry | ||
1701 | /** @param year : year of the PBiblioEntry | ||
1702 | */ | ||
1703 | 765 | void PBiblioEntry::setYear(const PString & year){ | |
1704 | 765 | p_year = year; | |
1705 | 765 | } | |
1706 | |||
1707 | ///Sets the issn of the PBiblioEntry | ||
1708 | /** @param issn : issn of the PBiblioEntry | ||
1709 | */ | ||
1710 | ✗ | void PBiblioEntry::setIssn(const PString & issn){ | |
1711 | ✗ | p_issn = issn; | |
1712 | } | ||
1713 | |||
1714 | ///Sets the pages of the PBiblioEntry | ||
1715 | /** @param pages : pages of the PBiblioEntry | ||
1716 | */ | ||
1717 | ✗ | void PBiblioEntry::setPages(const PString & pages){ | |
1718 | ✗ | p_pages = pages; | |
1719 | } | ||
1720 | |||
1721 | ///Sets the url of the PBiblioEntry | ||
1722 | /** @param url : url of the PBiblioEntry | ||
1723 | */ | ||
1724 | 765 | void PBiblioEntry::setUrl(const PString & url){ | |
1725 | 765 | p_url = url; | |
1726 | 765 | } | |
1727 | |||
1728 | ///Sets the doi of the PBiblioEntry | ||
1729 | /** @param doi : doi of the PBiblioEntry | ||
1730 | */ | ||
1731 | ✗ | void PBiblioEntry::setDoi(const PString & doi){ | |
1732 | ✗ | p_doi = doi; | |
1733 | } | ||
1734 | |||
1735 | ///Sets the acmid of the PBiblioEntry | ||
1736 | /** @param acmid : acmid of the PBiblioEntry | ||
1737 | */ | ||
1738 | ✗ | void PBiblioEntry::setAcmid(const PString & acmid){ | |
1739 | ✗ | p_acmid = acmid; | |
1740 | } | ||
1741 | |||
1742 | ///Sets the publisher of the PBiblioEntry | ||
1743 | /** @param publisher : publisher of the PBiblioEntry | ||
1744 | */ | ||
1745 | ✗ | void PBiblioEntry::setPublisher(const PString & publisher){ | |
1746 | ✗ | p_publisher = publisher; | |
1747 | } | ||
1748 | |||
1749 | ///Sets the address of the PBiblioEntry | ||
1750 | /** @param address : address of the PBiblioEntry | ||
1751 | */ | ||
1752 | ✗ | void PBiblioEntry::setAddress(const PString & address){ | |
1753 | ✗ | p_address = address; | |
1754 | } | ||
1755 | |||
1756 | ///Sets the note of the PBiblioEntry | ||
1757 | /** @param note : note of the PBiblioEntry | ||
1758 | */ | ||
1759 | ✗ | void PBiblioEntry::setNote(const PString & note){ | |
1760 | ✗ | p_note = note; | |
1761 | } | ||
1762 | |||
1763 | ///Sets the eprint of the PBiblioEntry | ||
1764 | /** @param eprint : eprint of the PBiblioEntry | ||
1765 | */ | ||
1766 | ✗ | void PBiblioEntry::setEprint(const PString & eprint){ | |
1767 | ✗ | p_eprint = eprint; | |
1768 | } | ||
1769 | |||
1770 | ///Sets the abstract of the PBiblioEntry | ||
1771 | /** @param abstract : abstract of the PBiblioEntry | ||
1772 | */ | ||
1773 | ✗ | void PBiblioEntry::setAbstract(const PString & abstract){ | |
1774 | ✗ | p_abstract = abstract; | |
1775 | } | ||
1776 | |||
1777 | ///Sets the bookTitle of the PBiblioEntry | ||
1778 | /** @param bookTitle : bookTitle of the PBiblioEntry | ||
1779 | */ | ||
1780 | ✗ | void PBiblioEntry::setBookTitle(const PString & bookTitle){ | |
1781 | ✗ | p_bookTitle = bookTitle; | |
1782 | } | ||
1783 | |||
1784 | ///Sets the keywords of the PBiblioEntry | ||
1785 | /** @param keywords : keywords of the PBiblioEntry | ||
1786 | */ | ||
1787 | ✗ | void PBiblioEntry::setKeywords(const PString & keywords){ | |
1788 | ✗ | p_keywords = keywords; | |
1789 | } | ||
1790 | |||
1791 | ///Sets the location of the PBiblioEntry | ||
1792 | /** @param location : location of the PBiblioEntry | ||
1793 | */ | ||
1794 | ✗ | void PBiblioEntry::setLocation(const PString & location){ | |
1795 | ✗ | p_location = location; | |
1796 | } | ||
1797 | |||
1798 | ///Sets the numpages of the PBiblioEntry | ||
1799 | /** @param numpages : numpages of the PBiblioEntry | ||
1800 | */ | ||
1801 | ✗ | void PBiblioEntry::setNumpages(const PString & numpages){ | |
1802 | ✗ | p_numpages = numpages; | |
1803 | } | ||
1804 | |||
1805 | ///Sets the articleNo of the PBiblioEntry | ||
1806 | /** @param articleNo : articleNo of the PBiblioEntry | ||
1807 | */ | ||
1808 | ✗ | void PBiblioEntry::setArticleNo(const PString & articleNo){ | |
1809 | ✗ | p_articleNo = articleNo; | |
1810 | } | ||
1811 | |||
1812 | ///Sets the archivePrefix of the PBiblioEntry | ||
1813 | /** @param archivePrefix : archivePrefix of the PBiblioEntry | ||
1814 | */ | ||
1815 | ✗ | void PBiblioEntry::setArchivePrefix(const PString & archivePrefix){ | |
1816 | ✗ | p_archivePrefix = archivePrefix; | |
1817 | } | ||
1818 | |||
1819 | ///Sets the tableofcontents of the PBiblioEntry | ||
1820 | /** @param tableofcontents : tableofcontents of the PBiblioEntry | ||
1821 | */ | ||
1822 | ✗ | void PBiblioEntry::setTableofcontents(const PString & tableofcontents){ | |
1823 | ✗ | p_tableofcontents = tableofcontents; | |
1824 | } | ||
1825 | |||
1826 | ///Sets the subject of the PBiblioEntry | ||
1827 | /** @param subject : subject of the PBiblioEntry | ||
1828 | */ | ||
1829 | ✗ | void PBiblioEntry::setSubject(const PString & subject){ | |
1830 | ✗ | p_subject = subject; | |
1831 | } | ||
1832 | |||
1833 | ///Sets the acknowledgement of the PBiblioEntry | ||
1834 | /** @param acknowledgement : acknowledgement of the PBiblioEntry | ||
1835 | */ | ||
1836 | ✗ | void PBiblioEntry::setAcknowledgement(const PString & acknowledgement){ | |
1837 | ✗ | p_acknowledgement = acknowledgement; | |
1838 | } | ||
1839 | |||
1840 | ///Sets the xxnote of the PBiblioEntry | ||
1841 | /** @param xxnote : xxnote of the PBiblioEntry | ||
1842 | */ | ||
1843 | ✗ | void PBiblioEntry::setXxnote(const PString & xxnote){ | |
1844 | ✗ | p_xxnote = xxnote; | |
1845 | } | ||
1846 | |||
1847 | ///Sets the bibsource of the PBiblioEntry | ||
1848 | /** @param bibsource : bibsource of the PBiblioEntry | ||
1849 | */ | ||
1850 | ✗ | void PBiblioEntry::setBibsource(const PString & bibsource){ | |
1851 | ✗ | p_bibsource = bibsource; | |
1852 | } | ||
1853 | |||
1854 | ///Sets the series of the PBiblioEntry | ||
1855 | /** @param series : series of the PBiblioEntry | ||
1856 | */ | ||
1857 | ✗ | void PBiblioEntry::setSeries(const PString & series){ | |
1858 | ✗ | p_series = series; | |
1859 | } | ||
1860 | |||
1861 | ///Sets the isbn of the PBiblioEntry | ||
1862 | /** @param isbn : isbn of the PBiblioEntry | ||
1863 | */ | ||
1864 | ✗ | void PBiblioEntry::setIsbn(const PString & isbn){ | |
1865 | ✗ | p_isbn = isbn; | |
1866 | } | ||
1867 | |||
1868 | ///Sets the isbn13 of the PBiblioEntry | ||
1869 | /** @param isbn13 : isbn13 of the PBiblioEntry | ||
1870 | */ | ||
1871 | ✗ | void PBiblioEntry::setIsbn13(const PString & isbn13){ | |
1872 | ✗ | p_isbn13 = isbn13; | |
1873 | } | ||
1874 | |||
1875 | ///Sets the issnL of the PBiblioEntry | ||
1876 | /** @param issnL : issnL of the PBiblioEntry | ||
1877 | */ | ||
1878 | ✗ | void PBiblioEntry::setIssnL(const PString & issnL){ | |
1879 | ✗ | p_issnL = issnL; | |
1880 | } | ||
1881 | |||
1882 | ///Sets the lccn of the PBiblioEntry | ||
1883 | /** @param lccn : lccn of the PBiblioEntry | ||
1884 | */ | ||
1885 | ✗ | void PBiblioEntry::setLccn(const PString & lccn){ | |
1886 | ✗ | p_lccn = lccn; | |
1887 | } | ||
1888 | |||
1889 | ///Sets the bibdate of the PBiblioEntry | ||
1890 | /** @param bibdate : bibdate of the PBiblioEntry | ||
1891 | */ | ||
1892 | ✗ | void PBiblioEntry::setBibdate(const PString & bibdate){ | |
1893 | ✗ | p_bibdate = bibdate; | |
1894 | } | ||
1895 | |||
1896 | ///Sets the remark of the PBiblioEntry | ||
1897 | /** @param remark : remark of the PBiblioEntry | ||
1898 | */ | ||
1899 | ✗ | void PBiblioEntry::setRemark(const PString & remark){ | |
1900 | ✗ | p_remark = remark; | |
1901 | } | ||
1902 | |||
1903 | ///Sets the collaboration of the PBiblioEntry | ||
1904 | /** @param collaboration : collaboration of the PBiblioEntry | ||
1905 | */ | ||
1906 | ✗ | void PBiblioEntry::setCollaboration(const PString & collaboration){ | |
1907 | ✗ | p_collaboration = collaboration; | |
1908 | } | ||
1909 | |||
1910 | ///Gets the id of the PBiblioEntry | ||
1911 | /** @return id of the PBiblioEntry | ||
1912 | */ | ||
1913 | 2058 | size_t PBiblioEntry::getId() const{ | |
1914 | 2058 | return p_id; | |
1915 | } | ||
1916 | |||
1917 | ///Gets the id of the PBiblioEntry | ||
1918 | /** @return id of the PBiblioEntry | ||
1919 | */ | ||
1920 | ✗ | size_t & PBiblioEntry::getId(){ | |
1921 | ✗ | return p_id; | |
1922 | } | ||
1923 | |||
1924 | ///Gets the type of the PBiblioEntry | ||
1925 | /** @return type of the PBiblioEntry | ||
1926 | */ | ||
1927 | 1020 | const PBiblioEntryType::PBiblioEntryType & PBiblioEntry::getType() const{ | |
1928 | 1020 | return p_type; | |
1929 | } | ||
1930 | |||
1931 | ///Gets the type of the PBiblioEntry | ||
1932 | /** @return type of the PBiblioEntry | ||
1933 | */ | ||
1934 | ✗ | PBiblioEntryType::PBiblioEntryType & PBiblioEntry::getType(){ | |
1935 | ✗ | return p_type; | |
1936 | } | ||
1937 | |||
1938 | ///Gets the label of the PBiblioEntry | ||
1939 | /** @return label of the PBiblioEntry | ||
1940 | */ | ||
1941 | ✗ | const PString & PBiblioEntry::getLabel() const{ | |
1942 | ✗ | return p_label; | |
1943 | } | ||
1944 | |||
1945 | ///Gets the label of the PBiblioEntry | ||
1946 | /** @return label of the PBiblioEntry | ||
1947 | */ | ||
1948 | 765 | PString & PBiblioEntry::getLabel(){ | |
1949 | 765 | return p_label; | |
1950 | } | ||
1951 | |||
1952 | ///Gets the author of the PBiblioEntry | ||
1953 | /** @return author of the PBiblioEntry | ||
1954 | */ | ||
1955 | 1029 | const PString & PBiblioEntry::getAuthor() const{ | |
1956 | 1029 | return p_author; | |
1957 | } | ||
1958 | |||
1959 | ///Gets the author of the PBiblioEntry | ||
1960 | /** @return author of the PBiblioEntry | ||
1961 | */ | ||
1962 | ✗ | PString & PBiblioEntry::getAuthor(){ | |
1963 | ✗ | return p_author; | |
1964 | } | ||
1965 | |||
1966 | ///Gets the title of the PBiblioEntry | ||
1967 | /** @return title of the PBiblioEntry | ||
1968 | */ | ||
1969 | 1539 | const PString & PBiblioEntry::getTitle() const{ | |
1970 | 1539 | return p_title; | |
1971 | } | ||
1972 | |||
1973 | ///Gets the title of the PBiblioEntry | ||
1974 | /** @return title of the PBiblioEntry | ||
1975 | */ | ||
1976 | ✗ | PString & PBiblioEntry::getTitle(){ | |
1977 | ✗ | return p_title; | |
1978 | } | ||
1979 | |||
1980 | ///Gets the journal of the PBiblioEntry | ||
1981 | /** @return journal of the PBiblioEntry | ||
1982 | */ | ||
1983 | 1020 | const PString & PBiblioEntry::getJournal() const{ | |
1984 | 1020 | return p_journal; | |
1985 | } | ||
1986 | |||
1987 | ///Gets the journal of the PBiblioEntry | ||
1988 | /** @return journal of the PBiblioEntry | ||
1989 | */ | ||
1990 | ✗ | PString & PBiblioEntry::getJournal(){ | |
1991 | ✗ | return p_journal; | |
1992 | } | ||
1993 | |||
1994 | ///Gets the issueDate of the PBiblioEntry | ||
1995 | /** @return issueDate of the PBiblioEntry | ||
1996 | */ | ||
1997 | ✗ | const PString & PBiblioEntry::getIssueDate() const{ | |
1998 | ✗ | return p_issueDate; | |
1999 | } | ||
2000 | |||
2001 | ///Gets the issueDate of the PBiblioEntry | ||
2002 | /** @return issueDate of the PBiblioEntry | ||
2003 | */ | ||
2004 | ✗ | PString & PBiblioEntry::getIssueDate(){ | |
2005 | ✗ | return p_issueDate; | |
2006 | } | ||
2007 | |||
2008 | ///Gets the volume of the PBiblioEntry | ||
2009 | /** @return volume of the PBiblioEntry | ||
2010 | */ | ||
2011 | 1020 | const PString & PBiblioEntry::getVolume() const{ | |
2012 | 1020 | return p_volume; | |
2013 | } | ||
2014 | |||
2015 | ///Gets the volume of the PBiblioEntry | ||
2016 | /** @return volume of the PBiblioEntry | ||
2017 | */ | ||
2018 | ✗ | PString & PBiblioEntry::getVolume(){ | |
2019 | ✗ | return p_volume; | |
2020 | } | ||
2021 | |||
2022 | ///Gets the number of the PBiblioEntry | ||
2023 | /** @return number of the PBiblioEntry | ||
2024 | */ | ||
2025 | ✗ | const PString & PBiblioEntry::getNumber() const{ | |
2026 | ✗ | return p_number; | |
2027 | } | ||
2028 | |||
2029 | ///Gets the number of the PBiblioEntry | ||
2030 | /** @return number of the PBiblioEntry | ||
2031 | */ | ||
2032 | ✗ | PString & PBiblioEntry::getNumber(){ | |
2033 | ✗ | return p_number; | |
2034 | } | ||
2035 | |||
2036 | ///Gets the month of the PBiblioEntry | ||
2037 | /** @return month of the PBiblioEntry | ||
2038 | */ | ||
2039 | ✗ | const PString & PBiblioEntry::getMonth() const{ | |
2040 | ✗ | return p_month; | |
2041 | } | ||
2042 | |||
2043 | ///Gets the month of the PBiblioEntry | ||
2044 | /** @return month of the PBiblioEntry | ||
2045 | */ | ||
2046 | ✗ | PString & PBiblioEntry::getMonth(){ | |
2047 | ✗ | return p_month; | |
2048 | } | ||
2049 | |||
2050 | ///Gets the year of the PBiblioEntry | ||
2051 | /** @return year of the PBiblioEntry | ||
2052 | */ | ||
2053 | 1029 | const PString & PBiblioEntry::getYear() const{ | |
2054 | 1029 | return p_year; | |
2055 | } | ||
2056 | |||
2057 | ///Gets the year of the PBiblioEntry | ||
2058 | /** @return year of the PBiblioEntry | ||
2059 | */ | ||
2060 | ✗ | PString & PBiblioEntry::getYear(){ | |
2061 | ✗ | return p_year; | |
2062 | } | ||
2063 | |||
2064 | ///Gets the issn of the PBiblioEntry | ||
2065 | /** @return issn of the PBiblioEntry | ||
2066 | */ | ||
2067 | ✗ | const PString & PBiblioEntry::getIssn() const{ | |
2068 | ✗ | return p_issn; | |
2069 | } | ||
2070 | |||
2071 | ///Gets the issn of the PBiblioEntry | ||
2072 | /** @return issn of the PBiblioEntry | ||
2073 | */ | ||
2074 | ✗ | PString & PBiblioEntry::getIssn(){ | |
2075 | ✗ | return p_issn; | |
2076 | } | ||
2077 | |||
2078 | ///Gets the pages of the PBiblioEntry | ||
2079 | /** @return pages of the PBiblioEntry | ||
2080 | */ | ||
2081 | 1020 | const PString & PBiblioEntry::getPages() const{ | |
2082 | 1020 | return p_pages; | |
2083 | } | ||
2084 | |||
2085 | ///Gets the pages of the PBiblioEntry | ||
2086 | /** @return pages of the PBiblioEntry | ||
2087 | */ | ||
2088 | ✗ | PString & PBiblioEntry::getPages(){ | |
2089 | ✗ | return p_pages; | |
2090 | } | ||
2091 | |||
2092 | ///Gets the url of the PBiblioEntry | ||
2093 | /** @return url of the PBiblioEntry | ||
2094 | */ | ||
2095 | 1020 | const PString & PBiblioEntry::getUrl() const{ | |
2096 | 1020 | return p_url; | |
2097 | } | ||
2098 | |||
2099 | ///Gets the url of the PBiblioEntry | ||
2100 | /** @return url of the PBiblioEntry | ||
2101 | */ | ||
2102 | ✗ | PString & PBiblioEntry::getUrl(){ | |
2103 | ✗ | return p_url; | |
2104 | } | ||
2105 | |||
2106 | ///Gets the doi of the PBiblioEntry | ||
2107 | /** @return doi of the PBiblioEntry | ||
2108 | */ | ||
2109 | ✗ | const PString & PBiblioEntry::getDoi() const{ | |
2110 | ✗ | return p_doi; | |
2111 | } | ||
2112 | |||
2113 | ///Gets the doi of the PBiblioEntry | ||
2114 | /** @return doi of the PBiblioEntry | ||
2115 | */ | ||
2116 | ✗ | PString & PBiblioEntry::getDoi(){ | |
2117 | ✗ | return p_doi; | |
2118 | } | ||
2119 | |||
2120 | ///Gets the acmid of the PBiblioEntry | ||
2121 | /** @return acmid of the PBiblioEntry | ||
2122 | */ | ||
2123 | ✗ | const PString & PBiblioEntry::getAcmid() const{ | |
2124 | ✗ | return p_acmid; | |
2125 | } | ||
2126 | |||
2127 | ///Gets the acmid of the PBiblioEntry | ||
2128 | /** @return acmid of the PBiblioEntry | ||
2129 | */ | ||
2130 | ✗ | PString & PBiblioEntry::getAcmid(){ | |
2131 | ✗ | return p_acmid; | |
2132 | } | ||
2133 | |||
2134 | ///Gets the publisher of the PBiblioEntry | ||
2135 | /** @return publisher of the PBiblioEntry | ||
2136 | */ | ||
2137 | ✗ | const PString & PBiblioEntry::getPublisher() const{ | |
2138 | ✗ | return p_publisher; | |
2139 | } | ||
2140 | |||
2141 | ///Gets the publisher of the PBiblioEntry | ||
2142 | /** @return publisher of the PBiblioEntry | ||
2143 | */ | ||
2144 | ✗ | PString & PBiblioEntry::getPublisher(){ | |
2145 | ✗ | return p_publisher; | |
2146 | } | ||
2147 | |||
2148 | ///Gets the address of the PBiblioEntry | ||
2149 | /** @return address of the PBiblioEntry | ||
2150 | */ | ||
2151 | ✗ | const PString & PBiblioEntry::getAddress() const{ | |
2152 | ✗ | return p_address; | |
2153 | } | ||
2154 | |||
2155 | ///Gets the address of the PBiblioEntry | ||
2156 | /** @return address of the PBiblioEntry | ||
2157 | */ | ||
2158 | ✗ | PString & PBiblioEntry::getAddress(){ | |
2159 | ✗ | return p_address; | |
2160 | } | ||
2161 | |||
2162 | ///Gets the note of the PBiblioEntry | ||
2163 | /** @return note of the PBiblioEntry | ||
2164 | */ | ||
2165 | ✗ | const PString & PBiblioEntry::getNote() const{ | |
2166 | ✗ | return p_note; | |
2167 | } | ||
2168 | |||
2169 | ///Gets the note of the PBiblioEntry | ||
2170 | /** @return note of the PBiblioEntry | ||
2171 | */ | ||
2172 | ✗ | PString & PBiblioEntry::getNote(){ | |
2173 | ✗ | return p_note; | |
2174 | } | ||
2175 | |||
2176 | ///Gets the eprint of the PBiblioEntry | ||
2177 | /** @return eprint of the PBiblioEntry | ||
2178 | */ | ||
2179 | ✗ | const PString & PBiblioEntry::getEprint() const{ | |
2180 | ✗ | return p_eprint; | |
2181 | } | ||
2182 | |||
2183 | ///Gets the eprint of the PBiblioEntry | ||
2184 | /** @return eprint of the PBiblioEntry | ||
2185 | */ | ||
2186 | ✗ | PString & PBiblioEntry::getEprint(){ | |
2187 | ✗ | return p_eprint; | |
2188 | } | ||
2189 | |||
2190 | ///Gets the abstract of the PBiblioEntry | ||
2191 | /** @return abstract of the PBiblioEntry | ||
2192 | */ | ||
2193 | 510 | const PString & PBiblioEntry::getAbstract() const{ | |
2194 | 510 | return p_abstract; | |
2195 | } | ||
2196 | |||
2197 | ///Gets the abstract of the PBiblioEntry | ||
2198 | /** @return abstract of the PBiblioEntry | ||
2199 | */ | ||
2200 | ✗ | PString & PBiblioEntry::getAbstract(){ | |
2201 | ✗ | return p_abstract; | |
2202 | } | ||
2203 | |||
2204 | ///Gets the bookTitle of the PBiblioEntry | ||
2205 | /** @return bookTitle of the PBiblioEntry | ||
2206 | */ | ||
2207 | ✗ | const PString & PBiblioEntry::getBookTitle() const{ | |
2208 | ✗ | return p_bookTitle; | |
2209 | } | ||
2210 | |||
2211 | ///Gets the bookTitle of the PBiblioEntry | ||
2212 | /** @return bookTitle of the PBiblioEntry | ||
2213 | */ | ||
2214 | ✗ | PString & PBiblioEntry::getBookTitle(){ | |
2215 | ✗ | return p_bookTitle; | |
2216 | } | ||
2217 | |||
2218 | ///Gets the keywords of the PBiblioEntry | ||
2219 | /** @return keywords of the PBiblioEntry | ||
2220 | */ | ||
2221 | ✗ | const PString & PBiblioEntry::getKeywords() const{ | |
2222 | ✗ | return p_keywords; | |
2223 | } | ||
2224 | |||
2225 | ///Gets the keywords of the PBiblioEntry | ||
2226 | /** @return keywords of the PBiblioEntry | ||
2227 | */ | ||
2228 | ✗ | PString & PBiblioEntry::getKeywords(){ | |
2229 | ✗ | return p_keywords; | |
2230 | } | ||
2231 | |||
2232 | ///Gets the location of the PBiblioEntry | ||
2233 | /** @return location of the PBiblioEntry | ||
2234 | */ | ||
2235 | ✗ | const PString & PBiblioEntry::getLocation() const{ | |
2236 | ✗ | return p_location; | |
2237 | } | ||
2238 | |||
2239 | ///Gets the location of the PBiblioEntry | ||
2240 | /** @return location of the PBiblioEntry | ||
2241 | */ | ||
2242 | ✗ | PString & PBiblioEntry::getLocation(){ | |
2243 | ✗ | return p_location; | |
2244 | } | ||
2245 | |||
2246 | ///Gets the numpages of the PBiblioEntry | ||
2247 | /** @return numpages of the PBiblioEntry | ||
2248 | */ | ||
2249 | ✗ | const PString & PBiblioEntry::getNumpages() const{ | |
2250 | ✗ | return p_numpages; | |
2251 | } | ||
2252 | |||
2253 | ///Gets the numpages of the PBiblioEntry | ||
2254 | /** @return numpages of the PBiblioEntry | ||
2255 | */ | ||
2256 | ✗ | PString & PBiblioEntry::getNumpages(){ | |
2257 | ✗ | return p_numpages; | |
2258 | } | ||
2259 | |||
2260 | ///Gets the articleNo of the PBiblioEntry | ||
2261 | /** @return articleNo of the PBiblioEntry | ||
2262 | */ | ||
2263 | ✗ | const PString & PBiblioEntry::getArticleNo() const{ | |
2264 | ✗ | return p_articleNo; | |
2265 | } | ||
2266 | |||
2267 | ///Gets the articleNo of the PBiblioEntry | ||
2268 | /** @return articleNo of the PBiblioEntry | ||
2269 | */ | ||
2270 | ✗ | PString & PBiblioEntry::getArticleNo(){ | |
2271 | ✗ | return p_articleNo; | |
2272 | } | ||
2273 | |||
2274 | ///Gets the archivePrefix of the PBiblioEntry | ||
2275 | /** @return archivePrefix of the PBiblioEntry | ||
2276 | */ | ||
2277 | ✗ | const PString & PBiblioEntry::getArchivePrefix() const{ | |
2278 | ✗ | return p_archivePrefix; | |
2279 | } | ||
2280 | |||
2281 | ///Gets the archivePrefix of the PBiblioEntry | ||
2282 | /** @return archivePrefix of the PBiblioEntry | ||
2283 | */ | ||
2284 | ✗ | PString & PBiblioEntry::getArchivePrefix(){ | |
2285 | ✗ | return p_archivePrefix; | |
2286 | } | ||
2287 | |||
2288 | ///Gets the tableofcontents of the PBiblioEntry | ||
2289 | /** @return tableofcontents of the PBiblioEntry | ||
2290 | */ | ||
2291 | ✗ | const PString & PBiblioEntry::getTableofcontents() const{ | |
2292 | ✗ | return p_tableofcontents; | |
2293 | } | ||
2294 | |||
2295 | ///Gets the tableofcontents of the PBiblioEntry | ||
2296 | /** @return tableofcontents of the PBiblioEntry | ||
2297 | */ | ||
2298 | ✗ | PString & PBiblioEntry::getTableofcontents(){ | |
2299 | ✗ | return p_tableofcontents; | |
2300 | } | ||
2301 | |||
2302 | ///Gets the subject of the PBiblioEntry | ||
2303 | /** @return subject of the PBiblioEntry | ||
2304 | */ | ||
2305 | ✗ | const PString & PBiblioEntry::getSubject() const{ | |
2306 | ✗ | return p_subject; | |
2307 | } | ||
2308 | |||
2309 | ///Gets the subject of the PBiblioEntry | ||
2310 | /** @return subject of the PBiblioEntry | ||
2311 | */ | ||
2312 | ✗ | PString & PBiblioEntry::getSubject(){ | |
2313 | ✗ | return p_subject; | |
2314 | } | ||
2315 | |||
2316 | ///Gets the acknowledgement of the PBiblioEntry | ||
2317 | /** @return acknowledgement of the PBiblioEntry | ||
2318 | */ | ||
2319 | ✗ | const PString & PBiblioEntry::getAcknowledgement() const{ | |
2320 | ✗ | return p_acknowledgement; | |
2321 | } | ||
2322 | |||
2323 | ///Gets the acknowledgement of the PBiblioEntry | ||
2324 | /** @return acknowledgement of the PBiblioEntry | ||
2325 | */ | ||
2326 | ✗ | PString & PBiblioEntry::getAcknowledgement(){ | |
2327 | ✗ | return p_acknowledgement; | |
2328 | } | ||
2329 | |||
2330 | ///Gets the xxnote of the PBiblioEntry | ||
2331 | /** @return xxnote of the PBiblioEntry | ||
2332 | */ | ||
2333 | ✗ | const PString & PBiblioEntry::getXxnote() const{ | |
2334 | ✗ | return p_xxnote; | |
2335 | } | ||
2336 | |||
2337 | ///Gets the xxnote of the PBiblioEntry | ||
2338 | /** @return xxnote of the PBiblioEntry | ||
2339 | */ | ||
2340 | ✗ | PString & PBiblioEntry::getXxnote(){ | |
2341 | ✗ | return p_xxnote; | |
2342 | } | ||
2343 | |||
2344 | ///Gets the bibsource of the PBiblioEntry | ||
2345 | /** @return bibsource of the PBiblioEntry | ||
2346 | */ | ||
2347 | ✗ | const PString & PBiblioEntry::getBibsource() const{ | |
2348 | ✗ | return p_bibsource; | |
2349 | } | ||
2350 | |||
2351 | ///Gets the bibsource of the PBiblioEntry | ||
2352 | /** @return bibsource of the PBiblioEntry | ||
2353 | */ | ||
2354 | ✗ | PString & PBiblioEntry::getBibsource(){ | |
2355 | ✗ | return p_bibsource; | |
2356 | } | ||
2357 | |||
2358 | ///Gets the series of the PBiblioEntry | ||
2359 | /** @return series of the PBiblioEntry | ||
2360 | */ | ||
2361 | ✗ | const PString & PBiblioEntry::getSeries() const{ | |
2362 | ✗ | return p_series; | |
2363 | } | ||
2364 | |||
2365 | ///Gets the series of the PBiblioEntry | ||
2366 | /** @return series of the PBiblioEntry | ||
2367 | */ | ||
2368 | ✗ | PString & PBiblioEntry::getSeries(){ | |
2369 | ✗ | return p_series; | |
2370 | } | ||
2371 | |||
2372 | ///Gets the isbn of the PBiblioEntry | ||
2373 | /** @return isbn of the PBiblioEntry | ||
2374 | */ | ||
2375 | ✗ | const PString & PBiblioEntry::getIsbn() const{ | |
2376 | ✗ | return p_isbn; | |
2377 | } | ||
2378 | |||
2379 | ///Gets the isbn of the PBiblioEntry | ||
2380 | /** @return isbn of the PBiblioEntry | ||
2381 | */ | ||
2382 | ✗ | PString & PBiblioEntry::getIsbn(){ | |
2383 | ✗ | return p_isbn; | |
2384 | } | ||
2385 | |||
2386 | ///Gets the isbn13 of the PBiblioEntry | ||
2387 | /** @return isbn13 of the PBiblioEntry | ||
2388 | */ | ||
2389 | ✗ | const PString & PBiblioEntry::getIsbn13() const{ | |
2390 | ✗ | return p_isbn13; | |
2391 | } | ||
2392 | |||
2393 | ///Gets the isbn13 of the PBiblioEntry | ||
2394 | /** @return isbn13 of the PBiblioEntry | ||
2395 | */ | ||
2396 | ✗ | PString & PBiblioEntry::getIsbn13(){ | |
2397 | ✗ | return p_isbn13; | |
2398 | } | ||
2399 | |||
2400 | ///Gets the issnL of the PBiblioEntry | ||
2401 | /** @return issnL of the PBiblioEntry | ||
2402 | */ | ||
2403 | ✗ | const PString & PBiblioEntry::getIssnL() const{ | |
2404 | ✗ | return p_issnL; | |
2405 | } | ||
2406 | |||
2407 | ///Gets the issnL of the PBiblioEntry | ||
2408 | /** @return issnL of the PBiblioEntry | ||
2409 | */ | ||
2410 | ✗ | PString & PBiblioEntry::getIssnL(){ | |
2411 | ✗ | return p_issnL; | |
2412 | } | ||
2413 | |||
2414 | ///Gets the lccn of the PBiblioEntry | ||
2415 | /** @return lccn of the PBiblioEntry | ||
2416 | */ | ||
2417 | ✗ | const PString & PBiblioEntry::getLccn() const{ | |
2418 | ✗ | return p_lccn; | |
2419 | } | ||
2420 | |||
2421 | ///Gets the lccn of the PBiblioEntry | ||
2422 | /** @return lccn of the PBiblioEntry | ||
2423 | */ | ||
2424 | ✗ | PString & PBiblioEntry::getLccn(){ | |
2425 | ✗ | return p_lccn; | |
2426 | } | ||
2427 | |||
2428 | ///Gets the bibdate of the PBiblioEntry | ||
2429 | /** @return bibdate of the PBiblioEntry | ||
2430 | */ | ||
2431 | ✗ | const PString & PBiblioEntry::getBibdate() const{ | |
2432 | ✗ | return p_bibdate; | |
2433 | } | ||
2434 | |||
2435 | ///Gets the bibdate of the PBiblioEntry | ||
2436 | /** @return bibdate of the PBiblioEntry | ||
2437 | */ | ||
2438 | ✗ | PString & PBiblioEntry::getBibdate(){ | |
2439 | ✗ | return p_bibdate; | |
2440 | } | ||
2441 | |||
2442 | ///Gets the remark of the PBiblioEntry | ||
2443 | /** @return remark of the PBiblioEntry | ||
2444 | */ | ||
2445 | ✗ | const PString & PBiblioEntry::getRemark() const{ | |
2446 | ✗ | return p_remark; | |
2447 | } | ||
2448 | |||
2449 | ///Gets the remark of the PBiblioEntry | ||
2450 | /** @return remark of the PBiblioEntry | ||
2451 | */ | ||
2452 | ✗ | PString & PBiblioEntry::getRemark(){ | |
2453 | ✗ | return p_remark; | |
2454 | } | ||
2455 | |||
2456 | ///Gets the collaboration of the PBiblioEntry | ||
2457 | /** @return collaboration of the PBiblioEntry | ||
2458 | */ | ||
2459 | ✗ | const PString & PBiblioEntry::getCollaboration() const{ | |
2460 | ✗ | return p_collaboration; | |
2461 | } | ||
2462 | |||
2463 | ///Gets the collaboration of the PBiblioEntry | ||
2464 | /** @return collaboration of the PBiblioEntry | ||
2465 | */ | ||
2466 | ✗ | PString & PBiblioEntry::getCollaboration(){ | |
2467 | ✗ | return p_collaboration; | |
2468 | } | ||
2469 | |||
2470 | ///Copy Function of class PBiblioEntry | ||
2471 | /** @param other : PBiblioEntry we want ot copy | ||
2472 | */ | ||
2473 | 765 | void PBiblioEntry::copyPBiblioEntry(const PBiblioEntry & other){ | |
2474 | 765 | p_id = other.p_id; | |
2475 | 765 | p_type = other.p_type; | |
2476 | 765 | p_label = other.p_label; | |
2477 | 765 | p_author = other.p_author; | |
2478 | 765 | p_title = other.p_title; | |
2479 | 765 | p_journal = other.p_journal; | |
2480 | 765 | p_issueDate = other.p_issueDate; | |
2481 | 765 | p_volume = other.p_volume; | |
2482 | 765 | p_number = other.p_number; | |
2483 | 765 | p_month = other.p_month; | |
2484 | 765 | p_year = other.p_year; | |
2485 | 765 | p_issn = other.p_issn; | |
2486 | 765 | p_pages = other.p_pages; | |
2487 | 765 | p_url = other.p_url; | |
2488 | 765 | p_doi = other.p_doi; | |
2489 | 765 | p_acmid = other.p_acmid; | |
2490 | 765 | p_publisher = other.p_publisher; | |
2491 | 765 | p_address = other.p_address; | |
2492 | 765 | p_note = other.p_note; | |
2493 | 765 | p_eprint = other.p_eprint; | |
2494 | 765 | p_abstract = other.p_abstract; | |
2495 | 765 | p_bookTitle = other.p_bookTitle; | |
2496 | 765 | p_keywords = other.p_keywords; | |
2497 | 765 | p_location = other.p_location; | |
2498 | 765 | p_numpages = other.p_numpages; | |
2499 | 765 | p_articleNo = other.p_articleNo; | |
2500 | 765 | p_archivePrefix = other.p_archivePrefix; | |
2501 | 765 | p_tableofcontents = other.p_tableofcontents; | |
2502 | 765 | p_subject = other.p_subject; | |
2503 | 765 | p_acknowledgement = other.p_acknowledgement; | |
2504 | 765 | p_xxnote = other.p_xxnote; | |
2505 | 765 | p_bibsource = other.p_bibsource; | |
2506 | 765 | p_series = other.p_series; | |
2507 | 765 | p_isbn = other.p_isbn; | |
2508 | 765 | p_isbn13 = other.p_isbn13; | |
2509 | 765 | p_issnL = other.p_issnL; | |
2510 | 765 | p_lccn = other.p_lccn; | |
2511 | 765 | p_bibdate = other.p_bibdate; | |
2512 | 765 | p_remark = other.p_remark; | |
2513 | 765 | p_collaboration = other.p_collaboration; | |
2514 | 765 | } | |
2515 | |||
2516 | ///Initialisation Function of class PBiblioEntry | ||
2517 | 1530 | void PBiblioEntry::initialisationPBiblioEntry(){ | |
2518 | 1530 | p_id = 0lu; | |
2519 | 1530 | p_label = ""; | |
2520 | 1530 | p_author = ""; | |
2521 | 1530 | p_title = ""; | |
2522 | 1530 | p_journal = ""; | |
2523 | 1530 | p_issueDate = ""; | |
2524 | 1530 | p_volume = ""; | |
2525 | 1530 | p_number = ""; | |
2526 | 1530 | p_month = ""; | |
2527 | 1530 | p_year = ""; | |
2528 | 1530 | p_issn = ""; | |
2529 | 1530 | p_pages = ""; | |
2530 | 1530 | p_url = ""; | |
2531 | 1530 | p_doi = ""; | |
2532 | 1530 | p_acmid = ""; | |
2533 | 1530 | p_publisher = ""; | |
2534 | 1530 | p_address = ""; | |
2535 | 1530 | p_note = ""; | |
2536 | 1530 | p_eprint = ""; | |
2537 | 1530 | p_abstract = ""; | |
2538 | 1530 | p_bookTitle = ""; | |
2539 | 1530 | p_keywords = ""; | |
2540 | 1530 | p_location = ""; | |
2541 | 1530 | p_numpages = ""; | |
2542 | 1530 | p_articleNo = ""; | |
2543 | 1530 | p_archivePrefix = ""; | |
2544 | 1530 | p_tableofcontents = ""; | |
2545 | 1530 | p_subject = ""; | |
2546 | 1530 | p_acknowledgement = ""; | |
2547 | 1530 | p_xxnote = ""; | |
2548 | 1530 | p_bibsource = ""; | |
2549 | 1530 | p_series = ""; | |
2550 | 1530 | p_isbn = ""; | |
2551 | 1530 | p_isbn13 = ""; | |
2552 | 1530 | p_issnL = ""; | |
2553 | 1530 | p_lccn = ""; | |
2554 | 1530 | p_bibdate = ""; | |
2555 | 1530 | p_remark = ""; | |
2556 | 1530 | p_collaboration = ""; | |
2557 | 1530 | } | |
2558 | |||
2559 |