The Micro C++ Library
micxx::traits::Writer< CharType, OffType > Class Template Reference

A Writer class defines methods to read from a Stream. More...

#include <micxx/traits/Writer.hxx>

List of all members.

Public Types

typedef CharType char_type
typedef OffType off_type

Public Member Functions

virtual ~Writer ()
 The Writer destructor.
virtual void write (const void *buffer, off_type size)=0
 Write size Writer::char_type from the buffer to the stream.

Detailed Description

template<typename CharType, typename OffType = std::size_t>
class micxx::traits::Writer< CharType, OffType >

A Writer class defines methods to read from a Stream.

Author:
Norbert Klose
Date:
November, 2011

Member Typedef Documentation

template<typename CharType, typename OffType = std::size_t>
typedef CharType micxx::traits::Writer< CharType, OffType >::char_type

Reimplemented in micxx::File.

template<typename CharType, typename OffType = std::size_t>
typedef OffType micxx::traits::Writer< CharType, OffType >::off_type

Reimplemented in micxx::File.


Constructor & Destructor Documentation

template<typename CharType, typename OffType = std::size_t>
virtual micxx::traits::Writer< CharType, OffType >::~Writer ( ) [inline, virtual]

The Writer destructor.

{}

Member Function Documentation

template<typename CharType, typename OffType = std::size_t>
virtual void micxx::traits::Writer< CharType, OffType >::write ( const void *  buffer,
off_type  size 
) [pure virtual]

Write size Writer::char_type from the buffer to the stream.

Implemented in micxx::File.


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