inline bool
 AsciiXmlParser::recordToNextMarkup()
 /* this appends characters from textStream to fullElementContentAsFound up
  * to the next XML markup opening character, then the characters up to the
  * next markup closing character are stored in markupString.
  */
 {
   return ( recordTo( fullElementContentAsFound,
                      markupOpener )
            &&
            closeMarkup() );
 }
Example #2
0
bool DQSharedQuery::get(DQAbstractModel* model){
    Q_ASSERT (data->metaInfo);
    Q_ASSERT (data->metaInfo == model->metaInfo() );

    data->limit = 1;
    bool res = false;

    if ( exec() ) {
        if (next()){
            res = recordTo(model);
        }
    }

    return res;
}