LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
34 #ifndef LSST_PEX_POLICY_SOURCE_H
35 #define LSST_PEX_POLICY_SOURCE_H
142 #endif // LSST_PEX_POLICY_SOURCE_H
a definition of the PolicyParserFactory class
PolicySource(SupportedFormats::Ptr fmts=defaultFormats)
create a Policy file that points a file with given path.
SupportedFormats::Ptr _formats
a container for holding hierarchical configuration data in memory.
virtual void load(Policy &policy)=0
virtual ~PolicySource()
destroy the source
virtual const std::string & getFormatName()=0
return the name of the format that the data is stored in.
an abstract class representing a source of serialized Policy parameter data.
A base class for image defects.
static SupportedFormats::Ptr defaultFormats
a default set of formats
virtual void load(Policy &policy) const =0
load the data from this Policy source into a Policy object