lsst.pex.policy  13.0-1-g47a359c+4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
lsst::pex::policy::PolicyStringDestination Class Reference

a generic stream destination for policy data More...

#include <PolicyStringDestination.h>

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

Public Member Functions

 PolicyStringDestination ()
 create the destination More...
 
 PolicyStringDestination (const std::string &str)
 create the destination, initialized with the given string More...
 
virtual ~PolicyStringDestination ()
 release resource associated with the destination More...
 
std::string getData ()
 return the data written so far as a string More...
 
- Public Member Functions inherited from lsst::pex::policy::PolicyStreamDestination
 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...
 

Additional Inherited Members

- Public Types inherited from lsst::pex::policy::PolicyStreamDestination
typedef std::shared_ptr
< std::ostream > 
StreamPtr
 
- Protected Member Functions inherited from lsst::pex::policy::PolicyDestination
 PolicyDestination (const PolicyDestination &that)
 create a copy of this destination More...
 
- Protected Attributes inherited from lsst::pex::policy::PolicyStreamDestination
StreamPtr _ostrm
 

Detailed Description

a generic stream destination for policy data

Definition at line 49 of file PolicyStringDestination.h.

Constructor & Destructor Documentation

lsst::pex::policy::PolicyStringDestination::PolicyStringDestination ( )

create the destination

Definition at line 35 of file PolicyStringDestination.cc.

lsst::pex::policy::PolicyStringDestination::PolicyStringDestination ( const std::string &  str)

create the destination, initialized with the given string

Parameters
strinitial contents for the output string

Definition at line 43 of file PolicyStringDestination.cc.

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

release resource associated with the destination

Definition at line 51 of file PolicyStringDestination.cc.

Member Function Documentation

std::string lsst::pex::policy::PolicyStringDestination::getData ( )
inline

return the data written so far as a string

Definition at line 71 of file PolicyStringDestination.h.


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