html::genAttr Class Reference
[Html Document preparation]

#include <genAttr.hh>

Inheritance diagram for html::genAttr:

html::attrib

List of all members.

Public Member Functions

 genAttr (const std::string &value)
virtual ~genAttr (void)
virtual genAttrclone (void) const
virtual bool isDefault (void) const
virtual bool hasArg (void) const
virtual void putAttr (writer &w) const
virtual void setValue (const std::string &value)
bool operator== (const genAttr &x) const


Detailed Description

The Generic attribute class allows specification of attributes that may have a string value. brief Generic attribute class
Author:
John Zweizig
Version:
1.1; Last modified August 23, 2005

Constructor & Destructor Documentation

html::genAttr::genAttr ( const std::string &  value  ) 

Value constructor.

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

Destructor.


Member Function Documentation

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

Clone a generic attribute object. brief Clone a genAttr.

Implements html::attrib.

virtual bool html::genAttr::isDefault ( void   )  const [virtual]

Test whether the default value is specified. The default value of the generic attribute is assumed to be the null string. brief Test for default value.

Returns:
true if the return value is the default.

Reimplemented from html::attrib.

virtual bool html::genAttr::hasArg ( void   )  const [virtual]

Test whether this attribute has a value specified. This method is supplies the virtual metod of the attrib API and is always true. brief Test for attribute with a value.

Returns:
true for genAttr

Reimplemented from html::attrib.

virtual void html::genAttr::putAttr ( writer w  )  const [virtual]

Write the attribute value.

Reimplemented from html::attrib.

virtual void html::genAttr::setValue ( const std::string &  value  )  [virtual]

Set the attribute value.

bool html::genAttr::operator== ( const genAttr x  )  const

Compare the attribute with another generic attribute.


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