class ImgNode: public Node

This class represents an img-node

Inheritance:

ImgNode - Node


Public Methods

[more] ImgNode(xmlNodePtr node, int latex_scale = 1)
The constructor initializes the img-node
[more] ~ImgNode()
Destructor
[more]void writeHTML(int parameter = 0) const
This method writes the HTML-environment for 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]ImageSize size_
The size of the image
[more]char* filename_html_
The filename of the image for the HTML-output
[more]char* filename_latex_
The filename of the image for the LaTeX-output
[more]int latex_scale_
1, if the image in the LaTeX-output should be automatically scaled to the proper size, else 0


Inherited from Node:

Public Methods

oint getLength() const

Protected Fields

o child_nodes_


Documentation

This class represents an img-node.
o ImgNode(xmlNodePtr node, int latex_scale = 1)
The constructor initializes the img-node.

Parameters:
node - The XML-node, which represents the img-node.
latex_scale - 1, if the image in the LaTeX-output should be automatically scaled to the proper size, else 0.

o ~ImgNode()
Destructor.

ovoid writeHTML(int parameter = 0) const
This method writes the HTML-environment for the node to the global output filestream Output_. 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.

oImageSize size_
The size of the image.

ochar* filename_html_
The filename of the image for the HTML-output.

ochar* filename_latex_
The filename of the image for the LaTeX-output.

oint latex_scale_
1, if the image in the LaTeX-output should be automatically scaled to the proper size, else 0.


This class has no child classes.

Alphabetic index Hierarchy of classes



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