1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 79 unchanged lines hidden (view full) --- 88 # This converts a list of python bools into 89 # a comma seperated list of C++ bools. 90 def microFlagsText(self, vals): 91 text = "" 92 for val in vals: 93 text += ", %s" % self.cppBool(val) 94 return text 95 |
96 def getGeneratorDef(self, micropc): 97 return self.generatorTemplate % \ 98 (self.className, micropc, \ 99 self.getAllocator(True, True, False, False)) 100 101 def getGenerator(self, micropc): 102 return self.generatorNameTemplate % (self.className, micropc) 103}}; |