libelemental 1.2.0
Public Member Functions | Static Protected Member Functions
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:
nameThe name of the entry.
valueA localized string representation of the value of the entry.
tipQualifying 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:
categoryThe name of the category.

Implemented in Elemental::EntriesStream.


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