Oncaphillis::niftyLib

multiform_filter< CharT, TraitsT > Class Template Reference

Inheritance diagram for multiform_filter< CharT, TraitsT >:
Collaboration diagram for multiform_filter< CharT, TraitsT >:

template<class CharT, class TraitsT = std::char_traits<CharT>>
class multiform_filter< CharT, TraitsT >


Public Types

typedef super::char_type char_type
 We import the type of character from our superclass.
typedef super::traits_type traits_type
 Typedef of the traits_type gets inherited from the superclass which defaults to device<CharT,TraitsT> .
typedef super::device_ptr device_ptr
 Handy typedef for the device we're operating on.

Public Member Functions

 multiform_filter (device_ptr d, const std::string &s)
virtual ~multiform_filter ()
virtual std::streamsize read (char_type *b, std::streamsize n)

Member Typedef Documentation

template<class CharT, class TraitsT = std::char_traits<CharT>>
typedef super::char_type multiform_filter< CharT, TraitsT >::char_type

We import the type of character from our superclass.

This is the type of char we are supposed to transport as seen from the inside. Meaning if you look at the filter as a device this is the type the device is supposed to tranfer to/from the outside world.

Reimplemented from niftyLib::IO::filter< CharT, TraitsT >.

template<class CharT, class TraitsT = std::char_traits<CharT>>
typedef super::traits_type multiform_filter< CharT, TraitsT >::traits_type

Typedef of the traits_type gets inherited from the superclass which defaults to device<CharT,TraitsT> .

This is the type of character traits the filter is dealing with as see from the inside. Since we are supposed to function as a device we make it public here.

See also:
device

in_traits_type

ex_traits_type

Reimplemented from niftyLib::IO::filter< CharT, TraitsT >.

template<class CharT, class TraitsT = std::char_traits<CharT>>
typedef super::device_ptr multiform_filter< CharT, TraitsT >::device_ptr

Handy typedef for the device we're operating on.

Reimplemented from niftyLib::IO::filter< CharT, TraitsT >.


Constructor & Destructor Documentation

template<class CharT, class TraitsT = std::char_traits<CharT>>
multiform_filter< CharT, TraitsT >::multiform_filter ( device_ptr  d,
const std::string &  s 
) [inline]

template<class CharT, class TraitsT = std::char_traits<CharT>>
virtual multiform_filter< CharT, TraitsT >::~multiform_filter (  )  [inline, virtual]


Member Function Documentation

template<class CharT, class TraitsT = std::char_traits<CharT>>
virtual std::streamsize multiform_filter< CharT, TraitsT >::read ( char_type b,
std::streamsize  n 
) [inline, virtual]


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

Generated by  doxygen
© 2008; Dr. Sebastian Kloska ( Oncaphillis )
Powered by: [?]