21 #define VERSION_PXMLATTR 0lu
22 #define VERSION_PXML 0lu
64 void setVecAttr(
const std ::vector<PXmlAttr> & vecAttr);
65 void setVecChild(
const std ::vector<PXml> & vecChild);
74 const std ::vector<PXmlAttr> &
getVecAttr()
const;
const PString & getName() const
Get the variable p_name.
void setName(const PString &name)
Set the variable p_name, of type 'PString'.
const PString & getValue() const
Get the variable p_value.
virtual ~PXmlAttr()
Destructor of the class PXmlAttr.
PString p_value
Value of the attribute.
PXmlAttr & operator=(const PXmlAttr &other)
Equal operator of the class PXmlAttr.
void copyPXmlAttr(const PXmlAttr &other)
Copy function of the class PXmlAttr.
size_t p_flag
Flag of the PXmlAttr.
void initialisationPXmlAttr()
Initialisation function of the class PXmlAttr.
PXmlAttr()
Constructor of the class PXmlAttr.
void setValue(const PString &value)
Set the variable p_value, of type 'PString'.
PString p_name
Name of the attribute.
bool p_isText
Say if the balise contains text only.
bool getIsText() const
Get the variable p_isText.
void setVecChild(const std ::vector< PXml > &vecChild)
Set the variable p_vecChild, of type 'std ::vector<PXml>'.
void setVecAttr(const std ::vector< PXmlAttr > &vecAttr)
Set the variable p_vecAttr, of type 'std ::vector<PXmlAttr>'.
void setValue(const PString &value)
Set the variable p_value, of type 'PString'.
PString p_name
Name of the class.
const std ::vector< PXml > & getVecChild() const
Get the variable p_vecChild.
void setIsText(bool isText)
Set the variable p_isText, of type 'bool'.
void setIsCompact(bool isCompact)
Set the variable p_isCompact, of type 'bool'.
size_t p_flag
Flag of the PXml.
const PString & getValue() const
Get the variable p_value.
bool p_isCompact
Say if the balise is compact or not.
void copyPXml(const PXml &other)
Copy function of the class PXml.
std ::vector< PXmlAttr > p_vecAttr
Vector of attribute.
std ::vector< PXml > p_vecChild
Child of the current PXml.
PXml()
Constructor of the class PXml.
bool getIsCompact() const
Get the variable p_isCompact.
const std ::vector< PXmlAttr > & getVecAttr() const
Get the variable p_vecAttr.
virtual ~PXml()
Destructor of the class PXml.
PString p_value
Value between the chevron
void initialisationPXml()
Initialisation function of the class PXml.
PXml & operator=(const PXml &other)
Equal operator of the class PXml.
void setName(const PString &name)
Set the variable p_name, of type 'PString'.
const PString & getName() const
Get the variable p_name.