35 #ifndef LSST_PEX_POLICY_PAF_TOKENIZER_H
36 #define LSST_PEX_POLICY_PAF_TOKENIZER_H
44 #include <boost/regex.hpp>
84 virtual int parse(std::istream& is);
88 std::ios::iostate
_nextLine(std::istream& is, std::string&
line);
94 int _addValue(
const std::string& propname, std::string& value,
95 Policy& policy, std::istream& is);
129 #endif // LSST_PEX_POLICY_PAF_PAFPARSER_H
an abstract class for parsing serialized Policy data and loading it into a Policy object...
static const boost::regex URN_VALUE
definition of the PolicyParser class
static const boost::regex OPEN_SRCH
static const boost::regex ATRUE_VALUE
static const boost::regex CLOSE_SRCH
static const boost::regex QQSTRING_VALUE
a container for holding hierarchical configuration data in memory.
std::ios::iostate _nextLine(std::istream &is, std::string &line)
static const boost::regex QSTRING_END
PAFParser(Policy &policy)
int _addValue(const std::string &propname, std::string &value, Policy &policy, std::istream &is)
static const boost::regex PARAM_SRCH
static const boost::regex QSTRING_START
void _pushBackLine(const std::string &line)
static const boost::regex BARE_STRING
static const boost::regex BARE_STRING_LINE
static const boost::regex EMPTY_LINE
static const boost::regex QSTRING_EMPTYSTART
static const boost::regex FILE_VALUE
static const boost::regex COMMENT_LINE
static const boost::regex QQSTRING_EMPTYSTART
static const boost::regex DOUBLE_VALUE
a parser for reading PAF-formatted data into a Policy object
static const boost::regex SPACE_SRCH
int _parseIntoPolicy(std::istream &is, Policy &policy)
static const boost::regex QSTRING_VALUE
static const boost::regex NAME_MTCH
static const boost::regex QQSTRING_START
static const boost::regex QQSTRING_END
static const boost::regex AFALSE_VALUE
std::list< std::string > _buffer
static const boost::regex INT_VALUE
virtual int parse(std::istream &is)