libDwm-0.9.45
Dwm::Writable Class Reference

This class defines an interface for classes that can write their contents to an ostream, file descriptor or FILE pointer. More...

#include <DwmWritable.hh>

Inheritance diagram for Dwm::Writable:
Collaboration diagram for Dwm::Writable:

Additional Inherited Members

- Public Member Functions inherited from Dwm::DescriptorWritable
virtual ~DescriptorWritable ()
 Destructor.
 
virtual ssize_t Write (int fd) const =0
 Write to a file descriptor.
 
- Public Member Functions inherited from Dwm::FileWritable
virtual ~FileWritable ()
 Destructor.
 
virtual size_t Write (FILE *f) const =0
 Write to a FILE pointer.
 
- Public Member Functions inherited from Dwm::StreamWritable
virtual ~StreamWritable ()
 Destructor.
 
virtual std::ostream & Write (std::ostream &os) const =0
 Write to an ostream. Return the ostream.
 

Detailed Description

This class defines an interface for classes that can write their contents to an ostream, file descriptor or FILE pointer.

Note that this class is deprecated as of libDwm-0.8.0, and is now just a grouping of DescriptorWritable, FileWritable and StreamWritable. The older version of this class also included a StreamedLength() pure virtual member. To get that interface, you now need to add StreamedLengthCapable to any derived class.


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