libelemental 1.2.0
|
An interface for the display of value entries. More...
#include <value.hh>
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. |
An interface for the display of value entries.
virtual void Elemental::EntriesView::entry | ( | const ustring & | name, |
const ustring & | value, | ||
const ustring & | tip = ustring() |
||
) | throw () [pure virtual] |
Displays a single value entry.
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.
category | The name of the category. |
Implemented in Elemental::EntriesStream.