![]() |
|
PhoenixXml
1.0.0
Xml parser for Phoenix
|
Class used to parse xml. More...
#include <PXml.h>
Public Member Functions | |
| bool & | getIsCompact () |
| Get the variable p_isCompact. | |
| bool | getIsCompact () const |
| Get the variable p_isCompact. | |
| bool & | getIsText () |
| Get the variable p_isText. | |
| bool | getIsText () const |
| Get the variable p_isText. | |
| PString & | getName () |
| Get the variable p_name. | |
| const PString & | getName () const |
| Get the variable p_name. | |
| PString & | getValue () |
| Get the variable p_value. | |
| const PString & | getValue () const |
| Get the variable p_value. | |
| std ::vector< PXmlAttr > & | getVecAttr () |
| Get the variable p_vecAttr. | |
| const std ::vector< PXmlAttr > & | getVecAttr () const |
| Get the variable p_vecAttr. | |
| std ::vector< PXml > & | getVecChild () |
| Get the variable p_vecChild. | |
| const std ::vector< PXml > & | getVecChild () const |
| Get the variable p_vecChild. | |
| PXml & | operator= (const PXml &other) |
| Equal operator of the class PXml. | |
| PXml () | |
| Constructor of the class PXml. | |
| PXml (const PXml &other) | |
| Copy constructor of the class PXml. | |
| void | setIsCompact (bool isCompact) |
| Set the variable p_isCompact, of type 'bool'. | |
| void | setIsText (bool isText) |
| Set the variable p_isText, of type 'bool'. | |
| void | setName (const PString &name) |
| Set the variable p_name, of type 'PString'. | |
| void | setValue (const PString &value) |
| Set the variable p_value, of type 'PString'. | |
| void | setVecAttr (const std ::vector< PXmlAttr > &vecAttr) |
| Set the variable p_vecAttr, of type 'std ::vector<PXmlAttr>'. | |
| void | setVecChild (const std ::vector< PXml > &vecChild) |
| Set the variable p_vecChild, of type 'std ::vector<PXml>'. | |
| virtual | ~PXml () |
| Destructor of the class PXml. | |
Private Member Functions | |
| void | copyPXml (const PXml &other) |
| Copy function of the class PXml. | |
| void | initialisationPXml () |
| Initialisation function of the class PXml. | |
Private Attributes | |
| size_t | p_flag |
| Flag of the PXml. | |
| bool | p_isCompact |
| Say if the balise is compact or not. | |
| bool | p_isText |
| Say if the balise contains text only. | |
| PString | p_name |
| Name of the class. | |
| PString | p_value |
| Value between the chevron | |
| std ::vector< PXmlAttr > | p_vecAttr |
| Vector of attribute. | |
| std ::vector< PXml > | p_vecChild |
| Child of the current PXml. | |
| PXml::PXml | ( | ) |
Constructor of the class PXml.
Definition at line 123 of file PXml.cpp.
References initialisationPXml().
Referenced by copyPXml(), operator=(), and PXml().
Here is the call graph for this function:
Here is the caller graph for this function:| PXml::PXml | ( | const PXml & | other | ) |
Copy constructor of the class PXml.
| other | : other variable |
Definition at line 130 of file PXml.cpp.
References copyPXml(), initialisationPXml(), and PXml().
Here is the call graph for this function:
|
virtual |
|
private |
Copy function of the class PXml.
| other | : other variable |
Definition at line 295 of file PXml.cpp.
References p_isCompact, p_isText, p_name, p_value, p_vecAttr, p_vecChild, and PXml().
Referenced by operator=(), and PXml().
Here is the call graph for this function:
Here is the caller graph for this function:| bool & PXml::getIsCompact | ( | ) |
Get the variable p_isCompact.
Definition at line 215 of file PXml.cpp.
References p_isCompact.
| bool PXml::getIsCompact | ( | ) | const |
Get the variable p_isCompact.
Definition at line 208 of file PXml.cpp.
References p_isCompact.
Referenced by pxml_baliseStr(), and pxml_parserXmlContent().
Here is the caller graph for this function:| bool & PXml::getIsText | ( | ) |
| bool PXml::getIsText | ( | ) | const |
Get the variable p_isText.
Definition at line 236 of file PXml.cpp.
References p_isText.
Referenced by pxml_baliseStr().
Here is the caller graph for this function:| PString & PXml::getName | ( | ) |
| const PString & PXml::getName | ( | ) | const |
Get the variable p_name.
Definition at line 194 of file PXml.cpp.
References p_name.
Referenced by loadParserSeq(), pxml_baliseStr(), pxml_eraseVecChild(), and pxml_parserXmlContent().
Here is the caller graph for this function:| PString & PXml::getValue | ( | ) |
| const PString & PXml::getValue | ( | ) | const |
Get the variable p_value.
Definition at line 222 of file PXml.cpp.
References p_value.
Referenced by pxml_baliseStr(), pxml_eraseVecChild(), pxml_getFullContent(), and pxml_parserXmlContent().
Here is the caller graph for this function:| std::vector< PXmlAttr > & PXml::getVecAttr | ( | ) |
| const std::vector< PXmlAttr > & PXml::getVecAttr | ( | ) | const |
Get the variable p_vecAttr.
Definition at line 250 of file PXml.cpp.
References p_vecAttr.
Referenced by pxml_baliseStr(), pxml_eraseVecChild(), pxml_getAttrIfExist(), pxml_parserXmlAttribute(), and pxml_setAttr().
Here is the caller graph for this function:| std::vector< PXml > & PXml::getVecChild | ( | ) |
Get the variable p_vecChild.
Definition at line 271 of file PXml.cpp.
References p_vecChild.
| const std::vector< PXml > & PXml::getVecChild | ( | ) | const |
Get the variable p_vecChild.
Definition at line 264 of file PXml.cpp.
References p_vecChild.
Referenced by pxml_baliseStr(), pxml_eraseVecChild(), pxml_getChildIfExist(), pxml_getChildPtr(), pxml_getFullContent(), pxml_getVecChildIfExist(), and pxml_parserXmlContent().
Here is the caller graph for this function:
|
private |
Initialisation function of the class PXml.
Say if the balise is compact or not
Say if the balise contains text only
Definition at line 283 of file PXml.cpp.
References p_flag, p_isCompact, and p_isText.
Referenced by PXml(), and PXml().
Here is the caller graph for this function:| void PXml::setIsCompact | ( | bool | isCompact | ) |
Set the variable p_isCompact, of type 'bool'.
| isCompact | : Say if the balise is compact or not |
Definition at line 159 of file PXml.cpp.
References p_isCompact.
Referenced by pxml_isAttributeEnd().
Here is the caller graph for this function:| void PXml::setIsText | ( | bool | isText | ) |
Set the variable p_isText, of type 'bool'.
| isText | : Say if the balise contains text only |
Definition at line 173 of file PXml.cpp.
References p_isText.
Referenced by pxml_parserXmlContent().
Here is the caller graph for this function:| void PXml::setName | ( | const PString & | name | ) |
Set the variable p_name, of type 'PString'.
| name | : Name of the class |
Definition at line 152 of file PXml.cpp.
References p_name.
Referenced by pxml_eraseVecChild(), pxml_parserContent(), and pxml_parserXmlContent().
Here is the caller graph for this function:| void PXml::setValue | ( | const PString & | value | ) |
Set the variable p_value, of type 'PString'.
| value | : Value between the chevron |
Definition at line 166 of file PXml.cpp.
References p_value.
Referenced by pxml_eraseVecChild(), and pxml_parserXmlContent().
Here is the caller graph for this function:| void PXml::setVecAttr | ( | const std ::vector< PXmlAttr > & | vecAttr | ) |
Set the variable p_vecAttr, of type 'std ::vector<PXmlAttr>'.
| vecAttr | : Vector of attribute |
Definition at line 180 of file PXml.cpp.
References p_vecAttr.
Referenced by pxml_eraseVecChild().
Here is the caller graph for this function:| void PXml::setVecChild | ( | const std ::vector< PXml > & | vecChild | ) |
Set the variable p_vecChild, of type 'std ::vector<PXml>'.
| vecChild | : Child of the current PXml |
Definition at line 187 of file PXml.cpp.
References p_vecChild.
|
private |
|
private |
Say if the balise is compact or not.
Definition at line 86 of file PXml.h.
Referenced by copyPXml(), getIsCompact(), getIsCompact(), initialisationPXml(), and setIsCompact().
|
private |
Say if the balise contains text only.
Definition at line 90 of file PXml.h.
Referenced by copyPXml(), getIsText(), getIsText(), initialisationPXml(), and setIsText().
|
private |
|
private |
Value between the chevron
Definition at line 88 of file PXml.h.
Referenced by copyPXml(), getValue(), getValue(), and setValue().
|
private |
Vector of attribute.
Definition at line 92 of file PXml.h.
Referenced by copyPXml(), getVecAttr(), getVecAttr(), and setVecAttr().
|
private |
Child of the current PXml.
Definition at line 94 of file PXml.h.
Referenced by copyPXml(), getVecChild(), getVecChild(), and setVecChild().