Elemental::EntriesView Class Reference

#include <value.hh>

Inheritance diagram for Elemental::EntriesView:

Inheritance graph
[legend]

List of all members.


Detailed Description

An interface for the display of value entries.

Public Member Functions

virtual void header (const ustring &category)=0 throw ()
 Displays a category header.
virtual void entry (const ustring &name, const ustring &value, const ustring &tip=ustring())=0 throw ()
 Displays a single value entry.

Static Protected Member Functions

static ustring::size_type get_max_name_length () throw ()
 Returns the greatest expected length of an entry name.

Member Function Documentation

virtual void Elemental::EntriesView::header ( const ustring &  category  )  throw () [pure virtual]

Displays a category header.

Parameters:
category The name of the category.

Implemented in Elemental::EntriesStream.

virtual void Elemental::EntriesView::entry ( const ustring &  name,
const ustring &  value,
const ustring &  tip = ustring() 
) throw () [pure virtual]

Displays a single value entry.

Parameters:
name The name of the entry.
value A localized string representation of the value of the entry.
tip Qualifying information, if any, to be displayed as a tip.

Implemented in Elemental::EntriesStream.

static ustring::size_type Elemental::EntriesView::get_max_name_length (  )  throw () [static, protected]

Returns the greatest expected length of an entry name.

This value is calculated from the lengths of translated property names.


The documentation for this class was generated from the following file:

Generated on Sun Jun 22 19:40:39 2008 for libelemental by  doxygen 1.5.6