class label : public object

Mark a position.

Inheritance:


Public Methods

label(void)
Default constructor.
label(const std::string& name)
Data constructor.
~label(void)
Destructor.
object* clone(void) const
Clone the label object.
void write(writer& out) const
Write the label.
void setName(const std::string& txt)
Set the label text.

Inherited from object:

Public Methods

virtual dim_t getXSize(void) const
virtual dim_t getYSize(void) const

Documentation

The label class tags a position in an HTML document that links to allow references by links. The label is ignored if it is not assigned a value.
label(void)
Construct an empty label.

label(const std::string& name)
Construct a named label.
Parameters:
name - Label name.

~label(void)
Destroy the label object.

object* clone(void) const
Create an identical label object and return a pointer.
Returns:
Pointer to the label clone.

void write(writer& out) const
Write the label to the specified html writer.
Parameters:
out - HTML write to which the label is to be written.

void setName(const std::string& txt)
Set the label name to the specified text.
Parameters:
txt - New label name.


This class has no child classes.
Author:
J. G. Zweizig
Version:
1.0; Modified May 29, 2001

alphabetic index hierarchy of classes


generated by doc++