lsst.pex.policy  13.0-2-g4b114ac
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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::ostream > 
StreamPtr
 

Public Member Functions

 PolicyStreamDestination (StreamPtr ostrm)
 create the destination More...
 
virtual ~PolicyStreamDestination ()
 release resource associated with the destination More...
 
virtual std::ostream & getOutputStream ()
 return a stream that can be used to write the data to. More...
 
- Public Member Functions inherited from lsst::pex::policy::PolicyDestination
 PolicyDestination ()
 create a destination More...
 
virtual ~PolicyDestination ()
 release resource associated with the destination More...
 

Protected Attributes

StreamPtr _ostrm
 

Additional Inherited Members

- Protected Member Functions inherited from lsst::pex::policy::PolicyDestination
 PolicyDestination (const PolicyDestination &that)
 create a copy of this destination More...
 

Detailed Description

a generic stream destination for policy data

Definition at line 49 of file PolicyStreamDestination.h.

Member Typedef Documentation

typedef std::shared_ptr<std::ostream> lsst::pex::policy::PolicyStreamDestination::StreamPtr

Definition at line 52 of file PolicyStreamDestination.h.

Constructor & Destructor Documentation

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

create the destination

Definition at line 35 of file PolicyStreamDestination.cc.

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

release resource associated with the destination

Definition at line 38 of file PolicyStreamDestination.cc.

Member Function Documentation

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

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

Definition at line 70 of file PolicyStreamDestination.h.


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