2755 CondInterface::CondInterface(const char* equal, const char* equal_format, |
2755 CondInterface::CondInterface(const char* equal, const char* equal_format, |
2756 const char* not_equal, const char* not_equal_format, |
2756 const char* not_equal, const char* not_equal_format, |
2757 const char* less, const char* less_format, |
2757 const char* less, const char* less_format, |
2758 const char* greater_equal, const char* greater_equal_format, |
2758 const char* greater_equal, const char* greater_equal_format, |
2759 const char* less_equal, const char* less_equal_format, |
2759 const char* less_equal, const char* less_equal_format, |
2760 const char* greater, const char* greater_format) |
2760 const char* greater, const char* greater_format, |
|
2761 const char* overflow, const char* overflow_format, |
|
2762 const char* no_overflow, const char* no_overflow_format) |
2761 : Interface("COND_INTER"), |
2763 : Interface("COND_INTER"), |
2762 _equal(equal), _equal_format(equal_format), |
2764 _equal(equal), _equal_format(equal_format), |
2763 _not_equal(not_equal), _not_equal_format(not_equal_format), |
2765 _not_equal(not_equal), _not_equal_format(not_equal_format), |
2764 _less(less), _less_format(less_format), |
2766 _less(less), _less_format(less_format), |
2765 _greater_equal(greater_equal), _greater_equal_format(greater_equal_format), |
2767 _greater_equal(greater_equal), _greater_equal_format(greater_equal_format), |
2766 _less_equal(less_equal), _less_equal_format(less_equal_format), |
2768 _less_equal(less_equal), _less_equal_format(less_equal_format), |
2767 _greater(greater), _greater_format(greater_format) { |
2769 _greater(greater), _greater_format(greater_format), |
|
2770 _overflow(overflow), _overflow_format(overflow_format), |
|
2771 _no_overflow(no_overflow), _no_overflow_format(no_overflow_format) { |
2768 } |
2772 } |
2769 CondInterface::~CondInterface() { |
2773 CondInterface::~CondInterface() { |
2770 // not owner of any character arrays |
2774 // not owner of any character arrays |
2771 } |
2775 } |
2772 |
2776 |
2775 } |
2779 } |
2776 |
2780 |
2777 // Write info to output files |
2781 // Write info to output files |
2778 void CondInterface::output(FILE *fp) { |
2782 void CondInterface::output(FILE *fp) { |
2779 Interface::output(fp); |
2783 Interface::output(fp); |
2780 if ( _equal != NULL ) fprintf(fp," equal == %s\n", _equal); |
2784 if ( _equal != NULL ) fprintf(fp," equal == %s\n", _equal); |
2781 if ( _not_equal != NULL ) fprintf(fp," not_equal == %s\n", _not_equal); |
2785 if ( _not_equal != NULL ) fprintf(fp," not_equal == %s\n", _not_equal); |
2782 if ( _less != NULL ) fprintf(fp," less == %s\n", _less); |
2786 if ( _less != NULL ) fprintf(fp," less == %s\n", _less); |
2783 if ( _greater_equal != NULL ) fprintf(fp," greater_equal == %s\n", _greater_equal); |
2787 if ( _greater_equal != NULL ) fprintf(fp," greater_equal == %s\n", _greater_equal); |
2784 if ( _less_equal != NULL ) fprintf(fp," less_equal == %s\n", _less_equal); |
2788 if ( _less_equal != NULL ) fprintf(fp," less_equal == %s\n", _less_equal); |
2785 if ( _greater != NULL ) fprintf(fp," greater == %s\n", _greater); |
2789 if ( _greater != NULL ) fprintf(fp," greater == %s\n", _greater); |
|
2790 if ( _overflow != NULL ) fprintf(fp," overflow == %s\n", _overflow); |
|
2791 if ( _no_overflow != NULL ) fprintf(fp," no_overflow == %s\n", _no_overflow); |
2786 // fprintf(fp,"\n"); |
2792 // fprintf(fp,"\n"); |
2787 } |
2793 } |
2788 |
2794 |
2789 //------------------------------ConstructRule---------------------------------- |
2795 //------------------------------ConstructRule---------------------------------- |
2790 ConstructRule::ConstructRule(char *cnstr) |
2796 ConstructRule::ConstructRule(char *cnstr) |