Elemental::EntriesView Class Reference

An interface for the display of value entries. More...

#include <value.hh>

Inheritance diagram for Elemental::EntriesView:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

An interface for the display of value entries.


Member Function Documentation

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.

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.


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

Generated on Mon Nov 23 13:43:36 2009 for libelemental by  doxygen 1.6.1