class Element

This base-class provides a common interface for all elements

Inheritance:

Element


Public Methods

[more] Element(const char *text)
Creates a new element with the given text
[more]virtual ~Element()
Destructor
[more]void write(ofstream *output, int parameter=0)
This method writes the element to the given output filestream

Protected Fields

[more]ostrstream text_
The text of the element


Documentation

This base-class provides a common interface for all elements. It also provides an implementation for a raw-element, which is used by the environment RawEnvironment.
o Element(const char *text)
Creates a new element with the given text.
Parameters:
text - The text of the element

ovirtual ~Element()
Destructor

ovoid write(ofstream *output, int parameter=0)
This method writes the element to the given output filestream.
Parameters:
output - The output filestream
parameter - An integer-parameter which has a special meaning for each derivated element.

oostrstream text_
The text of the element


Direct child classes:
ItemizeElement
ImageElement

Alphabetic index Hierarchy of classes



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