#include <compound.hh>

Public Member Functions | |
| compound (void) | |
| compound (const compound &x) | |
| virtual | ~compound (void) |
| virtual void | write (writer &out) const |
| virtual compound * | clone (void) const |
| virtual const char * | getTag (void) const |
| object & | addObject (const object &thing) |
| object * | addObject (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) |
| html::compound::compound | ( | void | ) |
Construct an empty compound. brief Null constructor.
| html::compound::compound | ( | const compound & | x | ) |
| virtual html::compound::~compound | ( | void | ) | [virtual] |
| virtual void html::compound::write | ( | writer & | out | ) | const [virtual] |
Set the compound scope attributes and Write out all the consituent objects. brief Write the compound.
Reimplemented from html::object.
Reimplemented in html::document.
| virtual compound* html::compound::clone | ( | void | ) | const [virtual] |
A new compound object is created from clones of all attributes and constituent objects found in the original. brief clone the compound object
Implements html::object.
Reimplemented in html::block, html::document, html::link, and html::cell.
| virtual const char* html::compound::getTag | ( | void | ) | const [virtual] |
Get the tag name to be used to describe this compound object. brief Get the compound tag name.
Reimplemented in html::block, html::document, html::link, and html::cell.
| html::object & html::compound::addObject | ( | const object & | thing | ) | [inline] |
| html::object * html::compound::addObject | ( | object * | thing | ) | [inline] |
| html::object & html::compound::back | ( | void | ) | [inline] |
| const html::object & html::compound::back | ( | void | ) | const [inline] |
| html::object & html::compound::front | ( | void | ) | [inline] |
| const html::object & html::compound::front | ( | void | ) | const [inline] |
| object& html::compound::lineBreak | ( | void | ) |
Add a line-break marker.
| void html::compound::clear | ( | void | ) |
Remove all objects from the constituent list. brief clear the compound.
| void html::compound::remObject | ( | const object * | thing | ) |
| void html::compound::addAttr | ( | const std::string & | name, | |
| const attrib & | a | |||
| ) | [inline] |
| void html::compound::clearAttr | ( | void | ) |
| void html::compound::repAttr | ( | const std::string & | name, | |
| const attrib & | a | |||
| ) | [inline] |
Replace the named attribute in the compound scope with a clone of the specified attribute. brief Replace an attribute.
| name | Name of attribute to be replaced. | |
| a | Replacement attribute. |
| void html::compound::remAttr | ( | const std::string & | name | ) | [inline] |
Remove the named attribute. brief remove the named attribute
| name | Attribute to be removed from the compound scope. |
1.5.4