32 #ifndef LSST_PEX_POLICY_POLICYWRITER_H
33 #define LSST_PEX_POLICY_POLICYWRITER_H
38 #define NULL_FILENAME "/dev/null"
78 virtual void write(
const Policy& policy,
bool doDecl=
false);
90 virtual void writeInt(
const std::string& name,
int value);
91 virtual void writeDouble(
const std::string& name,
double value);
93 const std::string& value);
107 virtual void writeBools(
const std::string& name,
109 virtual void writeInts(
const std::string& name,
117 virtual void writeFiles(
const std::string& name,
149 #endif // LSST_PEX_POLICY_POLICYWRITER_H
virtual void writePolicy(const std::string &name, const Policy &value)
std::vector< bool > BoolArray
table::Key< std::string > name
virtual void writeInt(const std::string &name, int value)
std::vector< std::string > StringArray
virtual void writePolicies(const std::string &name, const Policy::PolicyPtrArray &values)=0
a container for holding hierarchical configuration data in memory.
virtual void writeBool(const std::string &name, bool value)
virtual void write(const Policy &policy, bool doDecl=false)
std::vector< FilePtr > FilePtrArray
virtual void writeBools(const std::string &name, const Policy::BoolArray &values)=0
std::vector< Ptr > PolicyPtrArray
std::vector< int > IntArray
PolicyWriter(std::ostream *out=0)
virtual void writeDoubles(const std::string &name, const Policy::DoubleArray &values)=0
std::vector< double > DoubleArray
virtual void writeString(const std::string &name, const std::string &value)
virtual void writeFiles(const std::string &name, const Policy::FilePtrArray &values)=0
virtual void writeStrings(const std::string &name, const Policy::StringArray &values)=0
a representation of a file containing Policy parameter data.
virtual void writeInts(const std::string &name, const Policy::IntArray &values)=0
virtual void writeFile(const std::string &name, const PolicyFile &value)
virtual void writeDouble(const std::string &name, double value)