def __generate_wrapper_class(self):
routines = self._read_routine_metadata()<EOL>self._write_class_header()<EOL>if routines:<EOL><INDENT>for routine_name in sorted(routines):<EOL><INDENT>if routines[routine_name]['<STR_LIT>'] != '<STR_LIT>':<EOL><INDENT>self._write_routine_function(routines[routine_name])<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>self._io.error('<STR_LIT>')<EOL><DEDENT>self._write_class_trailer()<EOL>Util.write_two_phases(self._wrapper_filename, self._code, self._io)<EOL>
Generates the wrapper class.