32 #ifndef LSST_PEX_POLICY_PARSER_H 33 #define LSST_PEX_POLICY_PARSER_H 105 #endif // LSST_PEX_POLICY_PARSER_H an abstract class for parsing serialized Policy data and loading it into a Policy object...
a definition of the PolicyParserFactory class
a container for holding hierarchical configuration data in memory.
const Policy & getPolicy() const
return the policy object
PolicyParser(Policy &policy, bool strict=true)
Create a Parser attached to a policy object to be loaded.
bool isStrict()
return true if this parser will be strict in adhering to syntax rules.
virtual int parse(std::istream &is)=0
parse data from the input stream and load results into the attached Policy.
void setStrict(bool strict)
set whether this parser will be strict in adhering to syntax rules.
Citizen(const std::type_info &)
virtual ~PolicyParser()
destroy this factory
Policy & getPolicy()
return the policy object