31 #ifndef LSST_PEX_POLICY_STRING_H 32 #define LSST_PEX_POLICY_STRING_H 35 #include <boost/regex.hpp> 134 #endif // LSST_PEX_POLICY_STRING_H definition of the PolicySource class
Interface for Persistable base class.
static const boost::regex CONTENTID
reg-exp for the start of a comment
void load(Policy &policy) const
load the data from this Policy source into a Policy object
a container for holding hierarchical configuration data in memory.
virtual void load(Policy &policy)
load the data from this Policy source into a Policy object
static const boost::regex COMMENT
reg-exp for an empty line
an abstract class representing a source of serialized Policy parameter data.
a representation of a string containing Policy parameter data
static const boost::regex SPACE_RE
A base class for image defects.
const std::string & getData() const
return the wrapped policy data as a string
PolicyString(const std::string &data, const SupportedFormats::Ptr &fmts=defaultFormats)
create a PolicyString that's wrapped around a given string.
virtual const std::string & getFormatName()
return the name of the format that the data is stored in.
std::string _data
the policy data
Base class for all persistable classes.
static SupportedFormats::Ptr defaultFormats
returns true if the given string containing a content identifier indicates that it contains dictionar...
const std::string & getFormatName() const
return the name of the format that the data is stored in.