31 #ifndef LSST_PEX_POLICY_PAF_WRITER_H 32 #define LSST_PEX_POLICY_PAF_WRITER_H 60 PAFWriter(std::ostream *out,
const std::string indent)
89 virtual void writeBools(
const std::string& name,
91 virtual void writeInts(
const std::string& name,
99 virtual void writeFiles(
const std::string& name,
114 #endif // end LSST_PEX_POLICY_PAF_WRITER_H std::vector< int > IntArray
std::vector< Ptr > PolicyPtrArray
virtual void writeInts(const std::string &name, const Policy::IntArray &values)
write an array of property values with a given name
the definition of the PolicyWriter class
virtual void writeDoubles(const std::string &name, const Policy::DoubleArray &values)
write an array of property values with a given name
An abstract interface for writing policy data to streams.
An abstract interface for writing policy data to streams.
std::string _indent
the indentation string
std::vector< std::string > StringArray
PAFWriter(const char *file)
create a writer attached to an output file
virtual void writePolicies(const std::string &name, const Policy::PolicyPtrArray &values)
write an array of property values with a given name
virtual ~PAFWriter()
delete this writer
std::vector< FilePtr > FilePtrArray
std::vector< double > DoubleArray
virtual void writeFiles(const std::string &name, const Policy::FilePtrArray &values)
write an array of property values with a given name
PAFWriter(std::ostream *out, const std::string indent)
create a writer attached to an output stream
PAFWriter(const std::string &file)
create a writer attached to an output file
std::vector< bool > BoolArray
virtual void writeBools(const std::string &name, const Policy::BoolArray &values)
write an array of property values with a given name
PAFWriter(std::ostream *out=0)
create a writer attached to an output stream
virtual void writeStrings(const std::string &name, const Policy::StringArray &values)
write an array of property values with a given name