libDwm-0.9.45
Dwm::IO Class Reference

This class is now just a wrapper for DescriptorIO, FileIO, StreamIO and IOUtils. More...

#include <DwmIO.hh>

Static Public Member Functions

template<typename T >
static std::istream & Read (std::istream &is, T &val)
 
template<typename T >
static std::ostream & Write (std::ostream &os, const T &val)
 
template<typename T >
static ssize_t Read (int fd, T &val)
 
template<typename T >
static ssize_t Write (int fd, const T &val)
 
template<typename T >
static size_t Read (FILE *f, T &val)
 
template<typename T >
static size_t Write (FILE *f, const T &val)
 
template<typename T >
static uint64_t StreamedLength (const T &val)
 

Detailed Description

This class is now just a wrapper for DescriptorIO, FileIO, StreamIO and IOUtils.

It is essentially deprecated due to the introduction of theses classes, but was refactored as a simple bucket of wrapper function templates to allow older code to compile and work without source code changes.


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