Elemental::EntriesStream Class Reference

#include <value.hh>

Inheritance diagram for Elemental::EntriesStream:

Inheritance graph
[legend]

List of all members.


Detailed Description

An adapter for the display of value entries on an output stream.

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.

Member Function Documentation

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

Displays a category header.

Parameters:
category The name of the category.

Implements Elemental::EntriesView.

virtual void Elemental::EntriesStream::entry ( const ustring &  name,
const ustring &  value,
const ustring &  tip = ustring() 
) throw () [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.

Implements Elemental::EntriesView.


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