Line |
Branch |
Exec |
Source |
1 |
|
|
/*************************************** |
2 |
|
|
Auteur : Pierre Aubert |
3 |
|
|
Mail : pierre.aubert@lapp.in2p3.fr |
4 |
|
|
Licence : CeCILL-C |
5 |
|
|
****************************************/ |
6 |
|
|
|
7 |
|
|
|
8 |
|
|
#include "platexobj_print.h" |
9 |
|
|
|
10 |
|
|
///Print all PLatexObj |
11 |
|
|
/** @param obj : PLatexObj to be printed |
12 |
|
|
*/ |
13 |
|
✗ |
void platexobj_print(const PLatexObj & obj){ |
14 |
|
✗ |
std::cout << "PLatexObj(type = "<<obj.getType()<<", labelName = '"<<obj.getLabelName()<<"')" << std::endl; |
15 |
|
✗ |
const PVecLatexObj & vecObj = obj.getVecContent(); |
16 |
|
✗ |
for(PVecLatexObj::const_iterator it(vecObj.begin()); it != vecObj.end(); ++it){ |
17 |
|
✗ |
platexobj_print(*it); |
18 |
|
|
} |
19 |
|
|
} |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|