PhoenixLecture  2.0.0
Set of tools to make lectures
platexobj_print.cpp
Go to the documentation of this file.
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 
11 
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 
Describe a latex object.
Definition: PLatexObj.h:40
const std::vector< PLatexObj > & getVecContent() const
Gets the vecContent of the PLatexObj.
Definition: PLatexObj.cpp:410
const PString & getLabelName() const
Gets the labelName of the PLatexObj.
Definition: PLatexObj.cpp:354
const PLatexType::PLatexType & getType() const
Gets the type of the PLatexObj.
Definition: PLatexObj.cpp:298
void platexobj_print(const PLatexObj &obj)
Print all PLatexObj.
std::vector< PLatexObj > PVecLatexObj
Vector of obj.