deps/kb_meme/meme-5.0.1/src/dreme-sax.c
/*****************************************************************************
 * dreme > model > positives
 *
 *  name            the name of the positive input set
 *  count           the number of sequences in the positive input set
 *  file            the file containing the positive input set
 *  last_mod_date   the time the positive input set was last modified
 ****************************************************************************/
dreme > model > positives
name            the name of the positive input set
count           the number of sequences in the positive input set
file            the file containing the positive input set
last_mod_date   the time the positive input set was last modified
dreme > model > positives name the name of the positive input set count the number of sequences in the positive input set file the file containing the positive input set last_mod_date the time the positive input set was last modified
static void start_ele_positives(PS_T *ps, const xmlChar **attrs) {
  char *name, *file, *lastmod;
  long count;
  char* names[4] = {"count", "file", "last_mod_date", "name"};
  int (*parsers[4])(char*, void*) = {ld_long, ld_str, ld_str, ld_str};
  void *data[4] = {&count, &file, &lastmod, &name};
  bool required[4] = {true, true, true, true};
  bool done[4];
  parse_attributes(dreme_attr_parse_error, ps, "positives", attrs, 4, names, parsers, data, required, done);
  if (ps->callbacks->handle_positives && ps->state != PS_ERROR) {
    ps->callbacks->handle_positives(ps->user_data, name, count, file, lastmod);
  }
}
static void start_ele_positives ( PS_T * ps , const xmlChar * * attrs ) { char * name , * file , * lastmod ; long count ; char * names [ 4 ] = { " " , " " , " " , " " } ; int ( * parsers [ 4 ] ) ( char * , void * ) = { ld_long , ld_str , ld_str , ld_str } ; void * data [ 4 ] = { & count , & file , & lastmod , & name } ; bool required [ 4 ] = { true , true , true , true } ; bool done [ 4 ] ; parse_attributes ( dreme_attr_parse_error , ps , " " , attrs , 4 , names , parsers , data , required , done ) ; if ( ps -> callbacks -> handle_positives && ps -> state != PS_ERROR ) { ps -> callbacks -> handle_positives ( ps -> user_data , name , count , file , lastmod ) ; } }
dreme > model > positives
  name            the name of the positive input set
  count           the number of sequences in the positive input set
  file            the file containing the positive input set
  last_mod_date   the time the positive input set was last modified
dreme > model > positives name the name of the positive input set count the number of sequences in the positive input set file the file containing the positive input set last_mod_date the time the positive input set was last modified