model_server/subsystem/src/autosubsys.cxx
// relate is a startup method which calls the relate methods of all entities.
// This establishes the network of relations between entities based on their
// underlying xref entries.
relate is a startup method which calls the relate methods of all entities.
This establishes the network of relations between entities based on their
underlying xref entries.
relate is a startup method which calls the relate methods of all entities . This establishes the network of relations between entities based on their underlying xref entries .
bool allentity::relate() { 
  Initialize(allentity::relate);
  size_t num_entities = size();
  stat_msg.printf(TXT("Phase 2: find relationships for %d entities"), num_entities);
  num_processed = 0;
  last_percent = 0;
  for (size_t i = 0; i < num_entities; i++) {
	 if(isNewUI==TRUE) {
		 if(num_processed%100==0) {
	         if(SendClientNotification(stat_msg,num_entities,num_processed)==FALSE) {
		         return false;
			 }
		 }
	 } else  {
         if (cancelled()) {
	         return false;
		 }
	 }
     Entity* e = EntityPtr((*this)[i]);
     e->relate(); 
     num_processed++;
  }
  return true;
}
bool allentity :: relate ( ) { Initialize ( allentity :: relate ) ; size_t num_entities = size ( ) ; stat_msg . printf ( TXT ( " " ) , num_entities ) ; num_processed = 0 ; last_percent = 0 ; for ( size_t i = 0 ; i < num_entities ; i ++ ) { if ( isNewUI == TRUE ) { if ( num_processed % 100 == 0 ) { if ( SendClientNotification ( stat_msg , num_entities , num_processed ) == FALSE ) { return false ; } } } else { if ( cancelled ( ) ) { return false ; } } Entity * e = EntityPtr ( ( * this ) [ i ] ) ; e -> relate ( ) ; num_processed ++ ; } return true ; }
relate is a startup method which calls the relate methods of all entities.
relate is a startup method which calls the relate methods of all entities .
//>>     printf("%.5d: %s\n", i, e->get_name());fflush(stdout);