31 #ifndef LSST_PEX_POLICY_STRING_H
32 #define LSST_PEX_POLICY_STRING_H
34 #include <boost/shared_ptr.hpp>
35 #include <boost/regex.hpp>
134 #endif // LSST_PEX_POLICY_STRING_H
static const boost::regex SPACE_RE
definition of the PolicySource class
table::Key< std::string > name
static const boost::regex CONTENTID
reg-exp for the start of a comment
static SupportedFormats::Ptr defaultFormats
a container for holding hierarchical configuration data in memory.
const std::string & cacheName(const std::string &name)
PolicyParserFactory::Ptr _pfact
const std::string & getData() const
an abstract class representing a source of serialized Policy parameter data. This might be a file or ...
a representation of a string containing Policy parameter data
virtual const std::string & getFormatName()
static const boost::regex COMMENT
reg-exp for an empty line
Interface for Persistable base class.
void load(Policy &policy) const
const std::string & getFormatName() const
Base class for all persistable classes.
boost::shared_ptr< PolicyParserFactory > Ptr
virtual void load(Policy &policy)
PolicyString(const std::string &data, const SupportedFormats::Ptr &fmts=defaultFormats)