html::label Class Reference
[Html Document preparation]

#include <label.hh>

Inheritance diagram for html::label:

html::object

List of all members.

Public Member Functions

 label (void)
 label (const std::string &name)
 ~label (void)
labelclone (void) const
void write (writer &out) const
void setName (const std::string &txt)


Detailed Description

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. brief Mark a position.
Author:
J. G. Zweizig
Version:
1.0; Modified May 29, 2001

Constructor & Destructor Documentation

html::label::label ( void   ) 

Construct an empty label. brief Default constructor.

html::label::label ( const std::string &  name  ) 

Construct a named label. brief Data constructor.

Parameters:
name Label name.

html::label::~label ( void   ) 

Destroy the label object. brief Destructor.


Member Function Documentation

label* html::label::clone ( void   )  const [virtual]

Create an identical label object and return a pointer. brief Clone the label object.

Returns:
Pointer to the label clone.

Implements html::object.

void html::label::write ( writer out  )  const [virtual]

Write the label to the specified html writer. brief Write the label.

Parameters:
out HTML write to which the label is to be written.

Reimplemented from html::object.

void html::label::setName ( const std::string &  txt  ) 

Set the label name to the specified text. brief Set the label text.

Parameters:
txt New label name.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:29 2009 for dmt by  doxygen 1.5.4