libDwm-0.6.0
Dwm::Writable Class Referenceabstract

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:

Public Member Functions

virtual ~Writable ()
 Destructor.
 
virtual std::ostream & Write (std::ostream &os) const =0
 Write to an ostream. Return the ostream.
 
virtual ssize_t Write (int fd) const =0
 Write to a file descriptor. More...
 
virtual size_t Write (FILE *f) const =0
 Write to a FILE pointer. More...
 
virtual uint32_t StreamedLength () const =0
 Returns the number of bytes that should be written if one of the Write() members is called. More...
 

Detailed Description

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

Member Function Documentation

◆ StreamedLength()

◆ Write() [1/2]

◆ Write() [2/2]


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