#NEWLINE# def write_class( self , out , doc ) : #NEWLINE# #INDENT# if self . _list_classes_separately : #NEWLINE# #INDENT# self . write_header ( out , doc ) #NEWLINE# #UNINDENT# self . write_start_of ( out , 'Class Description' ) #NEWLINE# out ( ( '    ' + self . indexterm ( doc , 'start' ) ) ) #NEWLINE# if self . _list_classes_separately : #NEWLINE# #INDENT# seclevel = 0 #NEWLINE# out ( self . section ( ( '%s %s' % ( self . doc_kind ( doc ) , doc . canonical_name ) ) , seclevel ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# seclevel = 1 #NEWLINE# out ( self . section ( ( '%s %s' % ( self . doc_kind ( doc ) , doc . canonical_name [ ( - 1 ) ] ) ) , seclevel ) ) #NEWLINE# #UNINDENT# out ( ( '    \\label{%s}\n' % self . label ( doc ) ) ) #NEWLINE# if ( ( doc . bases not in ( UNKNOWN , None ) ) and ( len ( doc . bases ) > 0 ) ) : #NEWLINE# #INDENT# out ( self . base_tree ( doc ) ) #NEWLINE# #UNINDENT# if ( ( doc . subclasses not in ( UNKNOWN , None ) ) and ( len ( doc . subclasses ) > 0 ) ) : #NEWLINE# #INDENT# sc_items = [ plaintext_to_latex ( ( '%s' % sc . canonical_name ) ) for sc in doc . subclasses ] #NEWLINE# out ( self . _descrlist ( sc_items , 'Known Subclasses' , short = 1 ) ) #NEWLINE# #UNINDENT# if ( doc . descr not in ( None , UNKNOWN ) ) : #NEWLINE# #INDENT# out ( self . docstring_to_latex ( doc . descr ) ) #NEWLINE# #UNINDENT# self . write_standard_fields ( out , doc ) #NEWLINE# self . write_func_list ( out , 'Methods' , doc , 'method' , ( seclevel + 1 ) ) #NEWLINE# self . write_var_list ( out , 'Properties' , doc , 'property' , ( seclevel + 1 ) ) #NEWLINE# self . write_var_list ( out , 'Class Variables' , doc , 'classvariable' , ( seclevel + 1 ) ) #NEWLINE# self . write_var_list ( out , 'Instance Variables' , doc , 'instancevariable' , ( seclevel + 1 ) ) #NEWLINE# out ( ( '    ' + self . indexterm ( doc , 'end' ) ) )