An adapter for the display of value entries on an output stream. More...
#include <value.hh>
Public Member Functions | |
EntriesStream (FILE *file) throw () | |
Constructs a new EntriesStream for an open FILE pointer. | |
EntriesStream (int fd) throw () | |
Constructs a new EntriesStream for an open file descriptor. | |
EntriesStream (std::streambuf &buf) throw () | |
Constructs a new EntriesStream for a stream buffer. | |
EntriesStream (std::ostream &os) throw () | |
Constructs a new EntriesStream for an output stream. | |
virtual void | header (const ustring &category) throw () |
Displays a category header. | |
virtual void | entry (const ustring &name, const ustring &value, const ustring &tip=ustring()) throw () |
Displays a single value entry. |
An adapter for the display of value entries on an output stream.
virtual void Elemental::EntriesStream::entry | ( | const ustring & | name, | |
const ustring & | value, | |||
const ustring & | tip = ustring() | |||
) | throw () [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. |
Implements Elemental::EntriesView.
virtual void Elemental::EntriesStream::header | ( | const ustring & | category | ) | throw () [virtual] |
Displays a category header.
category | The name of the category. |
Implements Elemental::EntriesView.