Go to the documentation of this file.
48 if (factory.
get() == 0)
50 std::string(
"attempt to register null ") +
"PolicyParserFactory pointer");
52 _formats[factory->getFormatName()] = factory;
62 Lookup::const_iterator f;
63 for (f = _formats.
begin(); f != _formats.
end(); ++f) {
64 if (f->second->isRecognized(leaders))
return f->second->getFormatName();
77 Lookup::iterator found = me->_formats.
find(name);
std::shared_ptr< PolicyParserFactory > Ptr
static const std::string UNRECOGNIZED
an empty string representing an unrecognized format
definition of the PAFParserFactory class
an abstract factory class for creating PolicyParser instances.
#define LSST_EXCEPT(type,...)
a class for creating PAFParser objects