class Node

This base-class provides a common interface for all nodes

Inheritance:

Node


Public Methods

[more] Node()
The constructor initializes the node
[more]virtual ~Node()
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_
[more]int getLength() const
This method returns the number of characters of the stored text

Protected Fields

[more] child_nodes_
An array of pointers to all child-nodes


Documentation

This base-class provides a common interface for all nodes. This interface contains methods to write the node to a HTML-, a LaTeX- or a XML-file.
o Node()
The constructor initializes the node.

ovirtual ~Node()
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. This method must be overloaded by all derivated classes.

Parameters:
parameter - An integer-parameter which may have a special meaning for each derivated class.

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

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

oint getLength() const
This method returns the number of characters of the stored text. Note, that some derivated Nodes don't store any text. In this case, this method is called recursively on the child-nodes.

Returns:
The length of the stored text.

o child_nodes_
An array of pointers to all child-nodes.


Direct child classes:
URLNode
SlideNode
SectionNode
Presentation
LaTeXNode
InlineNode
ImgNode
HeadingNode
HTMLNode
EnvironmentNode
DateNode
ContentNode
CommentNode
BRNode
AuthorNode

Alphabetic index Hierarchy of classes



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