html::cell Class Reference
[Html Document preparation]

#include <table.hh>

Inheritance diagram for html::cell:

html::compound html::object

List of all members.

Public Member Functions

 cell (void)
virtual ~cell (void)
cellclone (void) const
const char * getTag (void) const
void setAlign (const std::string &a)
void setSave (bool on)


Detailed Description

The HTML cell class is a compound object used inside a table. brief Table cell class.
Author:
J, Zweizig
Version:
1.0; Modified January 25, 2001

Constructor & Destructor Documentation

html::cell::cell ( void   ) 

Construct an empty cell. brief Default constructor.

virtual html::cell::~cell ( void   )  [virtual]

Destroy a cell. brief Cell destructor


Member Function Documentation

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

Create an exact copy of the cell. This implements the virtual html::object function.

Returns:
Pointer to a new cell object.

Reimplemented from html::compound.

const char* html::cell::getTag ( void   )  const [inline, virtual]

Return the html tag associated with a cell in an html table. brief return the Cell tag ("td").

Returns:
Constant pointer to a string containing "td"

Reimplemented from html::compound.

void html::cell::setAlign ( const std::string &  a  ) 

Set the alignment attribute for this cell. brief Set the alignment attribute.

Parameters:
a Alignment attribute value.

void html::cell::setSave ( bool  on  ) 

Add the binary save attribute with the specified value. brief set the save attribute.

Parameters:
on Initial value for the save attribute.


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