#include <size.hh>

Public Member Functions | |
| size (int Size=0) | |
| Constructor. | |
| ~size (void) | |
| Destructor. | |
| size * | clone (void) const |
| Create an identical attribute object. | |
| bool | isDefault (void) const |
| Test if default. | |
| void | putAttr (writer &w) const |
| Write the size attribute. | |
| void | setDefault (void) |
| Set default value. | |
| void | setRelative (int delta) |
| Set a relative size. | |
| void | setSize (int Size) |
| Set absolute size value. | |
| bool | operator== (const size &x) const |
| Test if sizes are the same. | |
| html::size::size | ( | int | Size = 0 |
) |
| html::size::~size | ( | void | ) |
Destructor.
Destroy a Size attribute
| size* html::size::clone | ( | void | ) | const [virtual] |
Create an identical attribute object.
Clone the asize attribute.
Implements html::attrib.
| bool html::size::isDefault | ( | void | ) | const [virtual] |
Test if default.
Test whether the attribute has the default value.
Reimplemented from html::attrib.
| void html::size::putAttr | ( | writer & | w | ) | const [virtual] |
Write the size attribute.
Print the suze attribute to the specified writer.
| w | Write to which the attribute is written. |
Reimplemented from html::attrib.
| void html::size::setDefault | ( | void | ) |
Set default value.
Restore the size attribute to its default value.
| void html::size::setRelative | ( | int | delta | ) |
| void html::size::setSize | ( | int | Size | ) |
| bool html::size::operator== | ( | const size & | x | ) | const [inline] |
Test if sizes are the same.
Test if the size attribute is equal to the specified value.
| x | Size attribute to be compared. |
1.5.4