PhoenixLecture  2.0.0
Set of tools to make lectures
updateLabelRef.h
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 #ifndef __UPDATELABELREF_H__
8 #define __UPDATELABELREF_H__
9 
10 #include <map>
11 #include "platexobj_utils.h"
12 
14 typedef std::map<PString, std::pair<PString, PString> > PMapLabel;
15 
16 void updateMapLabel(PMapLabel & mapLabel, const PLatexObj & obj);
17 void useMapLabel(PLatexObj & obj, const PMapLabel & mapLabel);
18 void useMapLabel(std::vector<PLatexObj> & vecObj, const PMapLabel & mapLabel);
19 
20 void updateLabelRef(PLatexObj & obj);
21 
22 #endif
Describe a latex object.
Definition: PLatexObj.h:40
std::map< PString, std::pair< PString, PString > > PMapLabel
Map of the label (name, link)
void updateMapLabel(PMapLabel &mapLabel, const PLatexObj &obj)
Update the map of label.
void updateLabelRef(PLatexObj &obj)
Update the label of the references.
void useMapLabel(PLatexObj &obj, const PMapLabel &mapLabel)
Update the map of label.