MsgOStream Class Reference

#include <MsgOStream.h>

Inheritance diagram for MsgOStream:
MsgFileOStream MsgG4OStream MsgStandardOStream

List of all members.

Public Member Functions

 MsgOStream ()
virtual ~MsgOStream ()
virtual std::ostream & Os () const =0
virtual const char * GetName () const =0
int GetNreference () const
virtual void Close ()
void Flush ()
int AddReference ()
int SubtractReference ()

Private Attributes

int fNreference

Detailed Description

Definition at line 17 of file MsgOStream.h.


Constructor & Destructor Documentation

MsgOStream::MsgOStream (  )  [inline]

Definition at line 20 of file MsgOStream.h.

00020 : fNreference(0)       { }

virtual MsgOStream::~MsgOStream (  )  [inline, virtual]

Definition at line 21 of file MsgOStream.h.

00021 { }


Member Function Documentation

int MsgOStream::AddReference (  )  [inline]
virtual void MsgOStream::Close (  )  [inline, virtual]

Reimplemented in MsgFileOStream, MsgStandardOStream, and MsgG4OStream.

Definition at line 27 of file MsgOStream.h.

00027 { }

void MsgOStream::Flush (  )  [inline]

Definition at line 28 of file MsgOStream.h.

References Os().

Referenced by MsgOStreamServiceValidate::TestMsgFileOStream(), and MsgOStreamServiceValidate::TestMsgStandardOStream().

00028 { Os().flush(); }

virtual const char* MsgOStream::GetName (  )  const [pure virtual]
int MsgOStream::GetNreference (  )  const [inline]
virtual std::ostream& MsgOStream::Os (  )  const [pure virtual]
int MsgOStream::SubtractReference (  )  [inline]

Member Data Documentation

int MsgOStream::fNreference [private]

Definition at line 33 of file MsgOStream.h.

Referenced by AddReference(), GetNreference(), and SubtractReference().


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

Generated on 21 Oct 2017 for loon by  doxygen 1.6.1