PhoenixLecture  2.0.0
Set of tools to make lectures
platexobj_print.cpp File Reference
#include "platexobj_print.h"
+ Include dependency graph for platexobj_print.cpp:

Go to the source code of this file.

Functions

void platexobj_print (const PLatexObj &obj)
 Print all PLatexObj. More...
 

Function Documentation

◆ platexobj_print()

void platexobj_print ( const PLatexObj obj)

Print all PLatexObj.

Parameters
obj: PLatexObj to be printed

Definition at line 13 of file platexobj_print.cpp.

13  {
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 }
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.

References PLatexObj::getLabelName(), PLatexObj::getType(), and PLatexObj::getVecContent().

+ Here is the call graph for this function: