Noeud de type commentaire. More...
#include "xmldocument.h"
  
 Public Member Functions | |
| Comment (Element *parent, std::string const &name) | |
| Constructeur.  More... | |
| Type | type () const | 
| Accès au type du noeud.  More... | |
| Node * | deepCopy (Element *newparent) const | 
| Crée une copie (profonde) du noeud courant, et le rattache au parent passé en paramètre.  More... | |
  Public Member Functions inherited from cogitant::XmlDocument::Node | |
| Node (Element *parent, std::string const &name) | |
| Constructeur.  More... | |
| virtual | ~Node () | 
| Destructeur.  More... | |
| Element * | parent () const | 
| Accès au parent.  More... | |
| std::string const & | name () const | 
| Accès à l'intitulé.  More... | |
| std::string & | name () | 
| Accès à l'intitulé.  More... | |
| void | setName (std::string const &name) | 
| Modification de l'intitulé.  More... | |
| XmlDeclaration & | asXmlDeclaration () | 
| Conversion en noeud de type XMLDECLARATION.  More... | |
| DoctypeDeclaration & | asDoctypeDeclaration () | 
| Conversion en noeud de type DOCTYPEDECLARATION.  More... | |
| Element & | asElement () | 
| Conversion en noeud de type ELEMENT.  More... | |
| Text & | asText () | 
| Conversion en noeud de type TEXT.  More... | |
| Comment & | asComment () | 
| Conversion en noeud de type COMMENT.  More... | |
| XmlDeclaration const & | asXmlDeclaration () const | 
| Conversion en noeud de type XMLDECLARATION.  More... | |
| DoctypeDeclaration const & | asDoctypeDeclaration () const | 
| Conversion en noeud de type DOCTYPEDECLARATION.  More... | |
| Element const & | asElement () const | 
| Conversion en noeud de type ELEMENT.  More... | |
| Text const & | asText () const | 
| Conversion en noeud de type TEXT.  More... | |
| Comment const & | asComment () const | 
| Conversion en noeud de type COMMENT.  More... | |
Additional Inherited Members | |
  Public Types inherited from cogitant::XmlDocument::Node | |
| enum | Type {  XMLDECLARATION, DOCTYPEDECLARATION, ELEMENT, TEXT, COMMENT }  | 
| Les types de noeuds qui composent un document.  More... | |
  Protected Attributes inherited from cogitant::XmlDocument::Node | |
| Element * | m_parent | 
| Noeud parent (ou NULL si aucun).  | |
| std::string | m_name | 
| Intitulé du noeud.  | |
Noeud de type commentaire.
| cogitant::XmlDocument::Comment::Comment | ( | Element * | parent, | 
| std::string const & | name | ||
| ) | 
Constructeur.
Crée une copie (profonde) du noeud courant, et le rattache au parent passé en paramètre.
Implements cogitant::XmlDocument::Node.
      
  | 
  virtual | 
Accès au type du noeud.
Implements cogitant::XmlDocument::Node.