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 |
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.
The documentation for this class was generated from the following file: