class ImageElement: public Element

This class represents one image in an <IMG>-environment

Inheritance:

ImageElement - Element


Public Methods

[more] ImageElement(const char *image_name)
Creates a new image
[more] ~ImageElement()
Destructor
[more]void write(ofstream *output, int parameter=0)
This method writes the image to the given output filestream

Private Fields

[more]ImageSize size_
The size of the image


Inherited from Element:

Protected Fields

oostrstream text_


Documentation

This class represents one image in an <IMG>-environment. It contains the filename of the image (derived from Element) and the dimensions.
o ImageElement(const char *image_name)
Creates a new image.
Parameters:
text - The filename of the image

o ~ImageElement()
Destructor

ovoid write(ofstream *output, int parameter=0)
This method writes the image to the given output filestream. An integer-parameter has to be given because of the derivation. But it has no meaning in this class.
Parameters:
output - The output filestream
parameter - A dummy-parameter

oImageSize size_
The size of the image


This class has no child classes.

Alphabetic index Hierarchy of classes



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