//#define XERR
#include "mri.ih"

void MRI::extract(char const *keyword, VSD &dest)
{
    d_base.back() = keyword;

    auto lines = Parser::one(d_base);        // get one line
        
    LineInfo const *line = lines.get();

    if (line != 0)
        Parser::extract(*line, dest);
}
