Exemplo n.º 1
0
/*
 * UserPreOoaInitializationCallout
 *
 * This function is invoked immediately prior to executing any xtUML
 * initialization functions.
 */
void
UserPreOoaInitializationCalloutf( c_t * argv0 )
{
  /* Insert implementation specific code here.  */
  static char * a[2] = { "UserPostOoaInitializationCalloutf", "a.xtuml" };
  Escher_xtUML_load( 2, a );
  read_marking_invocations();
  if ( strstr( argv0, "docgen" ) ) {
    ooaofooa_docgen();
  } else if ( strstr( argv0, "mcmc" ) ) {
    int i;
    ooaofooa_a0();
    for ( i = 0; i < ooaofooa_MAX_CLASS_NUMBERS; i++ ) {
      if ( 0 || (
           ( i != ooaofooa_TE_VAL_CLASS_NUMBER ) &&
           ! ( ( ooaofooa_V_VAL_CLASS_NUMBER <= i ) && ( i <= ooaofooa_V_SCV_CLASS_NUMBER ) ) &&
           ( i != ooaofooa_ACT_SMT_CLASS_NUMBER ) &&
           ( i != ooaofooa_TE_SMT_CLASS_NUMBER ) &&
           ( i != ooaofooa_V_VAR_CLASS_NUMBER ) &&
           ( i != ooaofooa_TE_VAR_CLASS_NUMBER ) ) )
      Escher_dump_instances( 0, i );
    }
  }
  SYS_USER_CO_PRINTF( "UserPreOoaInitializationCallout\n" )
}
Exemplo n.º 2
0
/*
 * UserPreOoaInitializationCallout
 *
 * This function is invoked immediately prior to executing any xtUML
 * initialization functions.
 */
void
UserPreOoaInitializationCalloutf( void )
{
  static char * a[2] = { "UserPreOoaInitializationCalloutf", "a.xtuml" };
  Escher_xtUML_load( 2, a );
}