def __init__(self, cppPackage, file_path, dependencies=None): dependencies = DependencyList( set([cppPackage.package.filename]) | set(dependencies or [])) CppScopeBase.__init__(self, file_path=file_path, dependencies=dependencies) self.cppPackage = cppPackage
def __init__(self, file_path, root, operaRoot, buildModule, modulePath, basePath, jumboComponent, messages, enums, dependencies=None): TemplatedGenerator.__init__(self) CppScopeBase.__init__(self, file_path=file_path, dependencies=dependencies) CppModuleBase.__init__(self, root, operaRoot, buildModule, modulePath, basePath) self.jumboComponent = jumboComponent self.messages = messages[:] self.messages.sort(key=lambda i: "%s:%s" % (getPackage(i).filename, ".".join(i.path())))
def __init__(self, file_path, build_module, services, dependencies=None): TemplatedGenerator.__init__(self) CppScopeBase.__init__(self, file_path=file_path, dependencies=dependencies) self.services = services self.buildModule = build_module
def __init__(self, file_path, root, operaRoot, buildModule, modulePath, basePath, jumboComponent, messages, enums, dependencies=None): TemplatedGenerator.__init__(self) CppScopeBase.__init__(self, file_path=file_path, dependencies=dependencies) CppModuleBase.__init__(self, root, operaRoot, buildModule, modulePath, basePath) self.jumboComponent = jumboComponent self.messages = messages self.enums = enums
def __init__(self, file_path, cpp_service, dependencies=None): self.cppService = cpp_service self.service = cpp_service.service self.define = cpp_service.define self.defines = cpp_service.defines self.classPath = cpp_service.classPath self.includes = cpp_service.includes dependencies = DependencyList(set([self.service.iparent.filename]) | set(dependencies or [])) CppScopeBase.__init__(self, file_path, dependencies, opera_root=cpp_service.operaRoot)
def __init__(self, file_path, cpp_service, dependencies=None): self.cppService = cpp_service self.service = cpp_service.service self.define = cpp_service.define self.defines = cpp_service.defines self.classPath = cpp_service.classPath self.includes = cpp_service.includes dependencies = DependencyList( set([self.service.iparent.filename]) | set(dependencies or [])) CppScopeBase.__init__(self, file_path, dependencies, opera_root=cpp_service.operaRoot)
def createFile(self): return CppScopeBase._createFile(self, build_module=self.buildModule)
def createFile(self): return CppScopeBase._createFile(self, build_module=self.buildModule, jumbo_component=self.jumboComponent)
def __init__(self, cppPackage, file_path, dependencies=None): dependencies = DependencyList(set([cppPackage.package.filename]) | set(dependencies or [])) CppScopeBase.__init__(self, file_path=file_path, dependencies=dependencies) self.cppPackage = cppPackage