29 #ifndef Pt_Xml_Comment_h
30 #define Pt_Xml_Comment_h
32 #include <Pt/Xml/Api.h>
33 #include <Pt/Xml/Node.h>
34 #include <Pt/String.h>
57 {
return _content.
empty(); }
80 inline static const Node::Type nodeId()
81 {
return Node::Comment; }
93 return nodeCast<Comment>(node);
102 return nodeCast<Comment>(node);
111 return nodeCast<Comment>(node);
120 return nodeCast<Comment>(node);
127 #endif // Pt_Xml_Comment_h
Core module.
Definition: Allocator.h:33
void clear()
Clears the string.
Definition: Api-String.h:368
bool empty() const
Returns true if empty.
Definition: Api-String.h:245
XML document node.
Definition: Node.h:51
Unicode capable basic_string.
Definition: Api-String.h:44