class cell : public compound

Table cell class.

Inheritance:


Public Methods

cell(void)
Default constructor.
cell(const cell& x)
Copy constructor.
~cell(void)
Cell destructor
object* clone(void) const
Create an exact copy of the cell
const char* getTag(void) const
return the Cell tag ("td").
void setAlign(const std::string& a)
Set the alignment attribute.
void setSave(bool on)
set the save attribute.

Inherited from compound:

Public Methods

virtual void write(writer& out) const
object& addObject(const object& thing)
object& back(void)
const object& back(void) const
object& front(void)
const object& front(void) const
object& lineBreak(void)
void clear(void)
void remObject(const object* thing)
void addAttr(const std::string& name, const attrib& a)
void clearAttr(void)
void repAttr(const std::string& name, const attrib& a)
void remAttr(const std::string& name)

Inherited from object:

Public Methods

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

Documentation

The HTML cell class is a compound object used inside a table.
cell(void)
Construct an empty cell.

cell(const cell& x)
Construct a copy of an existing cell.

~cell(void)
Cell destructor

object* clone(void) const
Create an exact copy of the cell. This implements the virtual html::object function.
Returns:
Pointer to a new cell object,`.

const char* getTag(void) const
Return the html tag associated with a cell in an html table.

void setAlign(const std::string& a)
Set the alignment attribute for this cell.

void setSave(bool on)
Add the binary save attribute with the specified value.
Parameters:
on - Initial value for the save attribute.


This class has no child classes.
Author:
J, Zweizig
Version:
1.0; Modified January 25, 2001

alphabetic index hierarchy of classes


generated by doc++