a parser for reading PAF-formatted data into a Policy object
More...
#include <PAFParser.h>
a parser for reading PAF-formatted data into a Policy object
Definition at line 54 of file PAFParser.h.
lsst::pex::policy::paf::PAFParser::PAFParser |
( |
Policy & |
policy | ) |
|
create a parser to load a Policy
- Parameters
-
policy | the Policy object to load the parsed data into |
lsst::pex::policy::paf::PAFParser::PAFParser |
( |
Policy & |
policy, |
|
|
bool |
strict |
|
) |
| |
create a parser to load a Policy
- Parameters
-
policy | the Policy object to load the parsed data into |
strict | if true, be strict in reporting errors in file contents and syntax. If false, errors will be ignored if possible; often, such errors will result in some data not getting loaded. The default (set by PolicyParser) is true. |
virtual lsst::pex::policy::paf::PAFParser::~PAFParser |
( |
| ) |
|
|
virtual |
int lsst::pex::policy::paf::PAFParser::_addValue |
( |
const std::string & |
propname, |
|
|
std::string & |
value, |
|
|
Policy & |
policy, |
|
|
std::istream & |
is |
|
) |
| |
|
private |
std::ios::iostate lsst::pex::policy::paf::PAFParser::_nextLine |
( |
std::istream & |
is, |
|
|
std::string & |
line |
|
) |
| |
|
private |
int lsst::pex::policy::paf::PAFParser::_parseIntoPolicy |
( |
std::istream & |
is, |
|
|
Policy & |
policy |
|
) |
| |
|
private |
void lsst::pex::policy::paf::PAFParser::_pushBackLine |
( |
const std::string & |
line | ) |
|
|
private |
virtual int lsst::pex::policy::paf::PAFParser::parse |
( |
std::istream & |
is | ) |
|
|
virtual |
parse the data found on the given stream
- Parameters
-
is | the stream to read PAF-encoded data from |
- Returns
- int the number of parameters values loaded. This does not include sub-Policy objects.
Implements lsst::pex::policy::PolicyParser.
std::list<std::string> lsst::pex::policy::paf::PAFParser::_buffer |
|
private |
int lsst::pex::policy::paf::PAFParser::_depth |
|
private |
int lsst::pex::policy::paf::PAFParser::_lineno |
|
private |
const boost::regex lsst::pex::policy::paf::PAFParser::AFALSE_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::ATRUE_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::BARE_STRING |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::BARE_STRING_LINE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::CLOSE_SRCH |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::COMMENT_LINE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::DOUBLE_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::EMPTY_LINE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::FILE_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::INT_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::NAME_MTCH |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::OPEN_SRCH |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::PARAM_SRCH |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QQSTRING_EMPTYSTART |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QQSTRING_END |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QQSTRING_START |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QQSTRING_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QSTRING_EMPTYSTART |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QSTRING_END |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QSTRING_START |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::QSTRING_VALUE |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::SPACE_SRCH |
|
staticprivate |
const boost::regex lsst::pex::policy::paf::PAFParser::URN_VALUE |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/lsstsw/stack/Linux64/pex_policy/11.0+1/include/lsst/pex/policy/paf/PAFParser.h