html::style Class Reference
[Html Document preparation]

#include <style.hh>

List of all members.

Public Member Functions

 style (void)
 Defult constructor.
 ~style (void)
 Destructor.
void addClass (const std::string &name, const StyleClass &c)
 Add a style class.
void write (writer &w) const
 Write out the style dictionary.
bool empty (void) const
 Test if empty.


Detailed Description

Class style contains a dictionary of text style attributes. brief Text style attribute.
Author:
J. Zweizig
Version:
1.1; Last modified March 3, 2008

Constructor & Destructor Documentation

html::style::style ( void   ) 

Defult constructor.

Construct an empty style dictionary.

html::style::~style ( void   ) 

Destructor.

Destroy a style dictionary.


Member Function Documentation

void html::style::addClass ( const std::string &  name,
const StyleClass c 
)

Add a style class.

Add a style class to the dictionary.

Parameters:
name Style class name.
c Named style class.

void html::style::write ( writer w  )  const

Write out the style dictionary.

Write the style dictionary to the document.

Parameters:
w Html writer.

bool html::style::empty ( void   )  const [inline]

Test if empty.

Test whether the style dictionary is empty.

Returns:
True if no styles are defined.


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