This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'. Note that this is the definition of a comment in XML, and, in practice, HTML, although some HTML tools may implement the full SGML comment structure. |
Inherits from |
CharacterData |
Default Constructor |
Comment(GdomeComment* = 0) |
Creates a smart pointer for the Gdome element whose pointer is passed as an argument. The user should never pass a non-null pointer to this constructor. |
Copy and Cast Constructors |
Comment(const
Comment&)
Comment(const CharacterData&) Comment(const Node&) |
These constructors can be used to copy a smart pointer or to downcast it. If the downcasting is not possible, the resulting smart pointer will be null. |
Copy Operator |
Comment& operator=(const Comment&) |
Equality |
bool operator==(const
Comment&) const
bool operator!=(const Comment&) const |
Two smart pointers are equal if they point to the same Gdome object. |