Esempio n. 1
0
 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
Esempio n. 2
0
 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())))
Esempio n. 3
0
 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
Esempio n. 4
0
 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
Esempio n. 5
0
 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)
Esempio n. 6
0
 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)
Esempio n. 7
0
 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
Esempio n. 8
0
 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())))
Esempio n. 9
0
 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
Esempio n. 10
0
 def createFile(self):
     return CppScopeBase._createFile(self, build_module=self.buildModule)
Esempio n. 11
0
 def createFile(self):
     return CppScopeBase._createFile(self,
                                     build_module=self.buildModule,
                                     jumbo_component=self.jumboComponent)
Esempio n. 12
0
 def createFile(self):
     return CppScopeBase._createFile(self, build_module=self.buildModule)
Esempio n. 13
0
 def createFile(self):
     return CppScopeBase._createFile(self, build_module=self.buildModule, jumbo_component=self.jumboComponent)
Esempio n. 14
0
 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