html::hline Class Reference
[Html Document preparation]

#include <hline.hh>

Inheritance diagram for html::hline:

html::object

List of all members.

Public Member Functions

 hline (void)
 hline (const std::string &wid)
 ~hline (void)
hlineclone (void) const
void write (writer &out) const
void setWidth (const std::string &w)
void setSize (const std::string &w)


Detailed Description

The HLINE class represents a Horizontal Line object. The hline object contains a width attribute which is set to 100% by default. brief Horizontal line object.
Author:
J. Zweizig
Version:
1.0; Modified May 29, 2001

Constructor & Destructor Documentation

html::hline::hline ( void   ) 

Construct an empty hline. brief Default constructor.

html::hline::hline ( const std::string &  wid  ) 

Construct a hline with the specified width. brief Data constructor.

Parameters:
wid Text describing the hline width.

html::hline::~hline ( void   ) 

Destroy the hline object. brief Destructor.


Member Function Documentation

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

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

Returns:
Pointer to the hline clone.

Implements html::object.

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

Write the horizontal line to the specified html writer. brief Write the hline.

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

Reimplemented from html::object.

void html::hline::setWidth ( const std::string &  w  ) 

Set the width (horizontal dimension) of the line to the specified value. brief Set the hline width.

Parameters:
w New hline width.

void html::hline::setSize ( const std::string &  w  ) 

Set the thickness of the horizontal line to the specified value. brief Set the hline thickness.

Parameters:
w New hline size.


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