html::block Class Reference
[Html Document preparation]

#include <compound.hh>

Inheritance diagram for html::block:

html::compound html::object

List of all members.

Public Member Functions

 block (const std::string &tag)
virtual ~block (void)
virtual blockclone (void) const
const char * getTag (void) const


Detailed Description

The block class implements named compounds. The block name is used as an HTML tag when the block is written to the document file. brief Named compound HTML objects.
Author:
J.Zweizig
Version:
1.1; Modified May 4, 2001

Constructor & Destructor Documentation

html::block::block ( const std::string &  tag  )  [inline]

Construct a block. brief Constructor

Parameters:
tag Name of the block.

virtual html::block::~block ( void   )  [inline, virtual]

Destroy a block. brief Destructor.


Member Function Documentation

virtual block* html::block::clone ( void   )  const [inline, virtual]

Create an exact duplicate of the current block. This method pre-empts the HTML object clone virtual method. brief Clone a block.

Returns:
Pointer to the newly created copy of the block.

Reimplemented from html::compound.

const char* html::block::getTag ( void   )  const [inline, virtual]

Get the tag name of this block. brief get the tag.

Returns:
Constant pointer to a static string containing the block name.

Reimplemented from html::compound.


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