lsst.pex.policy
20.0.0+e2c4944b2a
|
Go to the documentation of this file.
35 #ifndef LSST_PEX_POLICY_PAF_PAFPARSERFACTORY_H
36 #define LSST_PEX_POLICY_PAF_PAFPARSERFACTORY_H
39 #include <boost/regex.hpp>
78 bool strict=
true)
const;
111 boost::regex contentid;
116 #endif // LSST_PEX_POLICY_PAF_PAFPARSERFACTORY_H
static const boost::regex CONTENTID
a default pattern for the content identifier.
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.
virtual const std::string & getFormatName()
return the name for the format supported by the parser
virtual PolicyParser * createParser(Policy &policy, bool strict=true) const
create a new PolicyParser class and return a pointer to it.
an abstract factory class for creating PolicyParser instances.
static const boost::regex LEADER_PATTERN
a pattern for the leading data characters for this format
PAFParserFactory(const boost::regex &contIdPatt=CONTENTID)
create a new factory
virtual bool isRecognized(const std::string &leaders) const
analyze the given string assuming contains the leading characters from the data stream and return tru...
a class for creating PAFParser objects
static const std::string FORMAT_NAME
a name for the format