CMS 3D CMS Logo

DecoratedSB< PRE, POST > Class Template Reference

#include <Utilities/General/interface/DecoratedSB.h>

Inheritance diagram for DecoratedSB< PRE, POST >:

BaseDecoratedSB

List of all members.

Public Types

typedef std::stringbuf super

Public Member Functions

 DecoratedSB (std::streambuf *isb, const PRE &ipre, const POST &ipost)

Private Member Functions

virtual void post (std::ostream &co)
virtual void pre (std::ostream &co)

Private Attributes

POST post_
PRE pre_


Detailed Description

template<typename PRE, typename POST>
class DecoratedSB< PRE, POST >

Definition at line 31 of file DecoratedSB.h.


Member Typedef Documentation

template<typename PRE, typename POST>
typedef std::stringbuf DecoratedSB< PRE, POST >::super

Reimplemented from BaseDecoratedSB.

Definition at line 33 of file DecoratedSB.h.


Constructor & Destructor Documentation

template<typename PRE, typename POST>
DecoratedSB< PRE, POST >::DecoratedSB ( std::streambuf *  isb,
const PRE &  ipre,
const POST &  ipost 
) [inline]

Definition at line 35 of file DecoratedSB.h.

00035                                                                         : 
00036     BaseDecoratedSB(isb), pre_(ipre), post_(ipost){}


Member Function Documentation

template<typename PRE, typename POST>
virtual void DecoratedSB< PRE, POST >::post ( std::ostream &  co  )  [inline, private, virtual]

Implements BaseDecoratedSB.

Definition at line 41 of file DecoratedSB.h.

References DecoratedSB< PRE, POST >::post_.

00041 { co<<post_;}

template<typename PRE, typename POST>
virtual void DecoratedSB< PRE, POST >::pre ( std::ostream &  co  )  [inline, private, virtual]

Implements BaseDecoratedSB.

Definition at line 40 of file DecoratedSB.h.

References DecoratedSB< PRE, POST >::pre_.

00040 { co<<pre_;}


Member Data Documentation

template<typename PRE, typename POST>
POST DecoratedSB< PRE, POST >::post_ [private]

Definition at line 43 of file DecoratedSB.h.

Referenced by DecoratedSB< PRE, POST >::post().

template<typename PRE, typename POST>
PRE DecoratedSB< PRE, POST >::pre_ [private]

Definition at line 42 of file DecoratedSB.h.

Referenced by DecoratedSB< PRE, POST >::pre().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:22 2009 for CMSSW by  doxygen 1.5.4