def __init__(self, name, prefix = None, includestuff = None, finalstuff = None, initstuff = None): GeneratorGroup.__init__(self, prefix or name) self.name = name self.includestuff = includestuff self.initstuff = initstuff self.finalstuff = finalstuff
def __init__(self, name, prefix = None, includestuff = None, finalstuff = None, initstuff = None, variablestuff = None): GeneratorGroup.__init__(self, prefix or name) self.name = name self.includestuff = includestuff self.initstuff = initstuff self.finalstuff = finalstuff self.variablestuff = variablestuff self.typeobjects = []
def __init__(self, name, prefix, itselftype): """ObjectDefinition constructor. May be extended, but do not override. - name: the object's official name, e.g. 'SndChannel'. - prefix: the prefix used for the object's functions and data, e.g. 'SndCh'. - itselftype: the C type actually contained in the object, e.g. 'SndChannelPtr'. XXX For official Python data types, rules for the 'Py' prefix are a problem. """ GeneratorGroup.__init__(self, prefix or name) self.name = name self.itselftype = itselftype self.objecttype = name + 'Object' self.typename = name + '_Type' self.argref = "" # set to "*" if arg to <type>_New should be pointer self.static = "static " # set to "" to make <type>_New and <type>_Convert public self.basechain = "NULL" # set to &<basetype>_chain to chain methods
def __init__(self, name, prefix, itselftype): """ObjectDefinition constructor. May be extended, but do not override. - name: the object's official name, e.g. 'SndChannel'. - prefix: the prefix used for the object's functions and data, e.g. 'SndCh'. - itselftype: the C type actually contained in the object, e.g. 'SndChannelPtr'. XXX For official Python data types, rules for the 'Py' prefix are a problem. """ GeneratorGroup.__init__(self, prefix or name) self.name = name self.itselftype = itselftype self.objecttype = name + 'Object' self.typename = name + '_Type' self.argref = "" # set to "*" if arg to <type>_New should be pointer self.static = "static " # set to "" to make <type>_New and <type>_Convert public self.basechain = "NULL" # set to &<basetype>_chain to chain methods
def __init__(self, name, prefix, itselftype): """ObjectDefinition constructor. May be extended, but do not override. - name: the object's official name, e.g. 'SndChannel'. - prefix: the prefix used for the object's functions and data, e.g. 'SndCh'. - itselftype: the C type actually contained in the object, e.g. 'SndChannelPtr'. XXX For official Python data types, rules for the 'Py' prefix are a problem. """ GeneratorGroup.__init__(self, prefix or name) self.name = name self.itselftype = itselftype self.objecttype = name + 'Object' self.typename = name + '_Type' self.static = "static " # set to "" to make <type>_New and <type>_Convert public self.modulename = None if hasattr(self, "assertions"): self.assertions()
def __init__(self, name, prefix, itselftype): """ObjectDefinition constructor. May be extended, but do not override. - name: the object's official name, e.g. 'SndChannel'. - prefix: the prefix used for the object's functions and data, e.g. 'SndCh'. - itselftype: the C type actually contained in the object, e.g. 'SndChannelPtr'. XXX For official Python data types, rules for the 'Py' prefix are a problem. """ GeneratorGroup.__init__(self, prefix or name) self.name = name self.itselftype = itselftype self.objecttype = name + 'Object' self.typename = name + '_Type' self.static = "static " # set to "" to make <type>_New and <type>_Convert public self.modulename = None if hasattr(self, "assertions"): self.assertions()
from bgenOutput import *
from bgenOutput import *
from bgenOutput import *
from bgenOutput import *