class CommentNode: public Node

This class represents a node, which contains a comment

Inheritance:

CommentNode - Node


Public Methods

[more] CommentNode(xmlNodePtr node)
The constructor initializes the comment-node
[more] ~CommentNode()
Destructor
[more]void writeHTML(int parameter=0) const
This method writes the node to the global output filestream Output_
[more]void writeLaTeX() const
This method writes the node to the global output filestream Output_
[more]void writeXML() const
This method writes the node to the global output filestream Output_

Private Fields

[more]string text_
The text of the comment-node


Inherited from Node:

Public Methods

oint getLength() const

Protected Fields

o child_nodes_


Documentation

This class represents a node, which contains a comment.
o CommentNode(xmlNodePtr node)
The constructor initializes the comment-node.

Parameters:
node - The XML-node, which represents the comment-node.

o ~CommentNode()
Destructor.

ovoid writeHTML(int parameter=0) const
This method writes the node to the global output filestream Output_. The format of the output must be HTML. An integer-parameter has to be given because of the derivation, but it won't be used in this class.

Parameters:
parameter - A dummy-parameter

ovoid writeLaTeX() const
This method writes the node to the global output filestream Output_. The format of the output must be LaTeX.

ovoid writeXML() const
This method writes the node to the global output filestream Output_. The format of the output must be XML.

ostring text_
The text of the comment-node.


This class has no child classes.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.