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