| Quintiq file version 2.0 | 
| #parent: #root | 
| Method Generate | 
| { | 
|   TextBody: | 
|   [* | 
|     DomainModel::DomainStream()->( dm ) | 
|     { | 
|       void->( ) | 
|       { | 
|         this.GenerateIOBaseClass(); | 
|       } | 
|       ->|void->( ) | 
|       { | 
|         gp := this.TG_TestGenerator().TG_GlobalParameter(); | 
|         module := select( dm, QuillModules, qm, qm.Name() = gp.TestModuleName() ); | 
|         module.SelectForEdit(); | 
|          | 
|         if( this.GenerateAllowed() ) | 
|         { | 
|           description := ''; // TODO | 
|           accessibility := 'Public'; // TODO | 
|           basetype := 'IO_Base'; // TODO | 
|            | 
|           CG_CodeGenerator::CreateUpdateSubclass( gp.TestModuleName(), | 
|                                                   basetype, | 
|                                                   this.CreatedName(), | 
|                                                   description, | 
|                                                   accessibility ); | 
|            | 
|           this.GenerateWrapperInstanceMethod(); | 
|           this.GenerateIdentifierMethods(); | 
|            | 
|           this.IsCreated( true ); | 
|         } | 
|       } | 
|     } | 
|   *] | 
| } |