sevreporter/src/reportItem.cxx
//
// default method of sending node description to stream
//
default method of sending node description to stream
default method of sending node description to stream
int reportItem::parseDesc(char const *desc, reportStream *rs)
{
  int retval = -1;
  descParser *dp = 0;
  if ( rs ) 
    {
      if ( dp = getParser() )
	{
	  current_stream = rs;
	  retval = dp->parse(this, desc);
	  current_stream = 0;
	}
    }
  return retval;
}
int reportItem :: parseDesc ( char const * desc , reportStream * rs ) { int retval = -1 ; descParser * dp = 0 ; if ( rs ) { if ( dp = getParser ( ) ) { current_stream = rs ; retval = dp -> parse ( this , desc ) ; current_stream = 0 ; } } return retval ; }
default method of sending node description to stream
default method of sending node description to stream
// we don't check desc, because the parser will know what to do with a nonexistant description // get the description parser // parse the description (will make appropritate callbacks)