class attrib

Attribute API.

Inheritance:


Public Methods

attrib(void)
Default constructor.
attrib(const attrib& x)
Copy Constructor.
virtual ~attrib(void)
Destructor.
virtual attrib* clone(void) const
Clone an attribute.
virtual void setWrite(writer& w) const
set the writer with an attribute.
virtual bool isDefault(void) const
Test for default attribute.
virtual bool hasArg(void) const
Test for boolean attribute.
virtual void putAttr(writer& w) const
write the attrubute value to an html writer.

Documentation

Abstract attribute API.
attrib(void)
Null attribute constructor.

attrib(const attrib& x)
Attribute copy constructor.

virtual ~attrib(void)
Attribute destructor.

virtual attrib* clone(void) const
Make an exact copy of the current attribute.
Returns:
Pointer to the cloned attribute.

virtual void setWrite(writer& w) const
Set the writer according to the attribute specified.
Parameters:
w - HTML writer to be set.

virtual bool isDefault(void) const
Test whether the attribute is set to its default value.
Returns:
True if the attribute is the default value.

virtual bool hasArg(void) const
Test whether the attribute takes an argument.
Returns:
True if the attribute takes an argument.

virtual void putAttr(writer& w) const
Write the attribute value to be used inside a tag.
Parameters:
w - HTML writer to which the attribute value is written.


Direct child classes:
size
Author:
J. Zweizig
Version:
1.1; Modified May 4, 2001.

alphabetic index hierarchy of classes


generated by doc++