dis_sql/src/sql_iff.cxx
//
// Output - Output the relationship entry with stored info.
//
// Note: does not clear info, in general clear() should
// be called immediately after output().
//
Output the relationship entry with stored info.
Note: does not clear info, in general clear() should
be called immediately after output().
Output the relationship entry with stored info . Note : does not clear info in general clear () should be called immediately after output () .
int iff_relation::output (void) {
   int ret_val = 0;
   if (sym_source && sym_target && label) {
      if ((sym_source->sym_replace == 0) && (sym_target->sym_replace == 0)) {
	 if (reverse_symbols_flag) {
	    ret_val = iff_symbol_relation (sym_target, sym_source,
					   label, attr_buffer);
	 } else {
	    ret_val = iff_symbol_relation (sym_source, sym_target,
					   label, attr_buffer);
	 }
      }
   }
   return (ret_val);
}
int iff_relation :: output ( void ) { int ret_val = 0 ; if ( sym_source && sym_target && label ) { if ( ( sym_source -> sym_replace == 0 ) && ( sym_target -> sym_replace == 0 ) ) { if ( reverse_symbols_flag ) { ret_val = iff_symbol_relation ( sym_target , sym_source , label , attr_buffer ) ; } else { ret_val = iff_symbol_relation ( sym_source , sym_target , label , attr_buffer ) ; } } } return ( ret_val ) ; }
Output - Output the relationship entry with stored info.
Output - Output the relationship entry with stored info .