Design Patterns
structural::decorator::CompressingStream Class Reference

#include <compressing_stream.h>

Inheritance diagram for structural::decorator::CompressingStream:
Collaboration diagram for structural::decorator::CompressingStream:

Public Member Functions

 CompressingStream (StreamInterface *)
 
void PutInt (int) override
 
void PutString (const std::string &) override
 
int value () const
 
std::string & message ()
 
- Public Member Functions inherited from structural::decorator::StreamDecorator
 StreamDecorator (StreamInterface *)
 
void PutInt (int) override
 
void PutString (const std::string &) override
 
- Public Member Functions inherited from structural::decorator::StreamInterface
virtual ~StreamInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from structural::decorator::StreamDecorator
StreamInterfacecomponent_
 

Constructor & Destructor Documentation

structural::decorator::CompressingStream::CompressingStream ( StreamInterface stream)
explicit

Member Function Documentation

std::string & structural::decorator::CompressingStream::message ( )

Here is the caller graph for this function:

void structural::decorator::CompressingStream::PutInt ( int  value)
overridevirtual

Implements structural::decorator::StreamInterface.

Here is the call graph for this function:

void structural::decorator::CompressingStream::PutString ( const std::string &  text_string)
overridevirtual

Implements structural::decorator::StreamInterface.

Here is the call graph for this function:

int structural::decorator::CompressingStream::value ( ) const

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