lsst.pex.policy  19.0.0-2-g3b2f90d
Public Types | Public Member Functions | Protected Attributes | List of all members
lsst::pex::policy::PolicyStreamDestination Class Reference

a generic stream destination for policy data More...

#include <PolicyStreamDestination.h>

Inheritance diagram for lsst::pex::policy::PolicyStreamDestination:
lsst::pex::policy::PolicyDestination lsst::pex::policy::PolicyStringDestination

Public Types

typedef std::shared_ptr< std::ostreamStreamPtr
 

Public Member Functions

 PolicyStreamDestination (StreamPtr ostrm)
 create the destination More...
 
virtual ~PolicyStreamDestination ()
 release resource associated with the destination More...
 
virtual std::ostreamgetOutputStream ()
 return a stream that can be used to write the data to. More...
 

Protected Attributes

StreamPtr _ostrm
 

Detailed Description

a generic stream destination for policy data

Definition at line 49 of file PolicyStreamDestination.h.

Member Typedef Documentation

◆ StreamPtr

Definition at line 51 of file PolicyStreamDestination.h.

Constructor & Destructor Documentation

◆ PolicyStreamDestination()

lsst::pex::policy::PolicyStreamDestination::PolicyStreamDestination ( PolicyStreamDestination::StreamPtr  ostrm)

create the destination

Definition at line 35 of file PolicyStreamDestination.cc.

◆ ~PolicyStreamDestination()

lsst::pex::policy::PolicyStreamDestination::~PolicyStreamDestination ( )
virtual

release resource associated with the destination

Definition at line 38 of file PolicyStreamDestination.cc.

Member Function Documentation

◆ getOutputStream()

std::ostream & lsst::pex::policy::PolicyStreamDestination::getOutputStream ( )
virtual

return a stream that can be used to write the data to.

Implements lsst::pex::policy::PolicyDestination.

Definition at line 40 of file PolicyStreamDestination.cc.

Member Data Documentation

◆ _ostrm

StreamPtr lsst::pex::policy::PolicyStreamDestination::_ostrm
protected

Definition at line 69 of file PolicyStreamDestination.h.


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