Example #1
0
PWIZ_API_DECL void ReaderList::read(const string& filename, const string& head, IdentDataPtr& result, const Config& config) const
{
    if (!result.get())
        throw ReaderFail("No result object assigned for " + filename);
    
    read(filename, read_file_header(filename, 512), *result, config); 
}
Example #2
0
 virtual void read(const std::string& filename, const std::string& head, IdentDataPtr& result, const Config& config) const
 {
     if (!result.get())
         throw ReaderFail("[Reader_protXML::read] NULL valued IdentDataPtr passed in.");
     return read(filename, head, *result, config);
 }