34 #ifndef LSST_PEX_POLICY_SOURCE_H
35 #define LSST_PEX_POLICY_SOURCE_H
37 #include "lsst/daf/base/Citizen.h"
61 : lsst::daf::base::Citizen(typeid(this)),
_formats(fmts)
148 #endif // LSST_PEX_POLICY_SOURCE_H
a definition of the PolicyParserFactory class
a container for holding hierarchical configuration data in memory.
virtual void load(Policy &policy) const =0
load the data from this Policy source into a Policy object
SupportedFormats::Ptr _formats
virtual const std::string & getFormatName()=0
identifiers for the different supported formats
an abstract class representing a source of serialized Policy parameter data.
static SupportedFormats::Ptr defaultFormats
returns true if the given string containing a content identifier indicates that it contains dictionar...
virtual ~PolicySource()
destroy the source
PolicySource(SupportedFormats::Ptr fmts=defaultFormats)
create a Policy file that points a file with given path.