model_server/xref/src/xrefSymbol.h.cxx
//=============================================
// xrefSymbol::is_override_for: returns true if this is a virtual or pure
// virtual function and either its name matches the unqualified name or
// both names are destructors.
//=============================================
:is_override_for: returns true if this is a virtual or pure
virtual function and either its name matches the unqualified name or
both names are destructors.
: is_override_for : returns true if this is a virtual or pure virtual function and either its name matches the unqualified name or both names are destructors .
bool xrefSymbol::is_override_for(char const *unqual_name, XrefTable* Xr) {
   Initialize(xrefSymbol::is_override_for);
   if (kind == DD_FUNC_DECL && (get_attribute(VIRT_ATT, 1) ||
				get_attribute(PVIR_ATT, 1))) {
      char const *my_unqual_name = get_unqual_name(Xr);
      if ((*unqual_name == '~' && *my_unqual_name == '~') ||
	  strcmp(unqual_name, my_unqual_name) == 0) {
	 return true;
      }
   }
   return false;
}
bool xrefSymbol :: is_override_for ( char const * unqual_name , XrefTable * Xr ) { Initialize ( xrefSymbol :: is_override_for ) ; if ( kind == DD_FUNC_DECL && ( get_attribute ( VIRT_ATT , 1 ) || get_attribute ( PVIR_ATT , 1 ) ) ) { char const * my_unqual_name = get_unqual_name ( Xr ) ; if ( ( * unqual_name == ' ' && * my_unqual_name == ' ' ) || strcmp ( unqual_name , my_unqual_name ) == 0 ) { return true ; } } return false ; }
xrefSymbol::is_override_for: returns true if this is a virtual or pure
virtual function and either its name matches the unqualified name or
both names are destructors.
xrefSymbol :: is_override_for : returns true if this is a virtual or pure virtual function and either its name matches the unqualified name or both names are destructors .