parameters: (self, categoryList, enumerationList)
docstring: Generate source code for C addin.
docstring_summary: Generate source code for C addin.
docstring_tokens: Generate source code for C addin .
function: def generate(self, categoryList, enumerationList):
          """Generate source code for C addin."""
  
          self.categoryList_ = categoryList
          self.enumerationList_ = enumerationList
  
          log.Log.instance().logMessage(' begin generating C ...')
          summaryHeaders = ''
          for cat in self.categoryList_.categories(self.name_):
              self.generateHeaders(cat)
              self.generateFunctions(cat)
              summaryHeaders += '#include <Addins/C/%s.h>\n' % cat.name()
          buf = self.bufferHeader_.text() % {
              'prefix' : environment.config().prefix(),
              'headers' : summaryHeaders }
          fileName = self.rootPath_ + environment.config().prefix() + 'addin.h'
          outputfile.OutputFile(self, fileName, self.copyright_, buf, False)
          log.Log.instance().logMessage(' done generating C.')
function_tokens: def generate ( self , categoryList , enumerationList ) : self . categoryList_ = categoryList self . enumerationList_ = enumerationList log . Log . instance ( ) . logMessage ( ' begin generating C ...' ) summaryHeaders = '' for cat in self . categoryList_ . categories ( self . name_ ) : self . generateHeaders ( cat ) self . generateFunctions ( cat ) summaryHeaders += '#include <Addins/C/%s.h>\n' % cat . name ( ) buf = self . bufferHeader_ . text ( ) % { 'prefix' : environment . config ( ) . prefix ( ) , 'headers' : summaryHeaders } fileName = self . rootPath_ + environment . config ( ) . prefix ( ) + 'addin.h' outputfile . OutputFile ( self , fileName , self . copyright_ , buf , False ) log . Log . instance ( ) . logMessage ( ' done generating C.' )