Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::io::IInputStreamable< TChar, TTraits > Class Template Reference

Base input streamable class. More...

#include <input_streamable.hh>

Inheritance diagram for mpcl::io::IInputStreamable< TChar, TTraits >:

mpcl::io::IStreamable< TChar, TTraits > mpcl::text::html::TPatternPage List of all members.

Public Types

typedef TChar char_type
 Character type.

typedef TTraits traits_type
 Traits type.


Public Methods

virtual ~IInputStreamable (void)
 Destroys the instance.


Protected Methods

virtual void read (std::basic_istream< char_type, traits_type > &rtISTREAM)=0

Friends

std::basic_istream< TChar,
TTraits > & 
operator>> (std::basic_istream< TChar, TTraits > &rtSOURCE_ISTREAM, IInputStreamable< TChar, TTraits > &rtTARGET_INPUT_STREAMABLE)

Detailed Description

template<typename TChar = char, typename TTraits = std::char_traits<TChar>>
class mpcl::io::IInputStreamable< TChar, TTraits >

Base input streamable class.

Definition at line 56 of file input_streamable.hh.


Member Function Documentation

template<typename TChar = char, typename TTraits = std::char_traits<TChar>>
virtual void mpcl::io::IInputStreamable< TChar, TTraits >::read std::basic_istream< char_type, traits_type > &    rtISTREAM [protected, pure virtual]
 

Reads the instance from stream rtISTREAM.

Parameters:
rtISTREAM  Source input stream.

Referenced by mpcl::io::operator>>().


Friends And Related Function Documentation

template<typename TChar = char, typename TTraits = std::char_traits<TChar>>
std::basic_istream<TChar, TTraits>& operator>> std::basic_istream< TChar, TTraits > &    rtSOURCE_ISTREAM,
IInputStreamable< TChar, TTraits > &    rtTARGET_INPUT_STREAMABLE
[friend]
 

Reads the instance rtTARGET_INPUT_STREAMABLE from stream rtSOURCE_ISTREAM.

Definition at line 121 of file input_streamable.hh.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18