public void writeClass ( String strClassName , CodeType codeType ) { if ( ! this . readThisClass ( strClassName ) ) // Get the field this is based on return ; this . writeHeading ( strClassName , this . getPackage ( codeType ) , codeType ) ; // Write the first few lines of the files this . writeIncludes ( codeType ) ; if ( m_MethodNameList . size ( ) != 0 ) m_MethodNameList . removeAllElements ( ) ; this . writeClassInterface ( ) ; this . writeClassFields ( CodeType . THICK ) ; // Write the C++ fields for this class this . writeDefaultConstructor ( strClassName ) ; this . writeClassInit ( ) ; this . writeInit ( ) ; // Special case... zero all class fields! this . writeProgramDesc ( strClassName ) ; this . writeClassMethods ( CodeType . THICK ) ; // Write the remaining methods for this class this . writeEndCode ( true ) ; }
Create the Class for this field .