发明授权
US08612928B2 Generating exception-based component models from non-exception-based models
有权
从非基于异常的模型生成基于异常的组件模型
- 专利标题: Generating exception-based component models from non-exception-based models
- 专利标题(中): 从非基于异常的模型生成基于异常的组件模型
-
申请号: US12755421申请日: 2010-04-07
-
公开(公告)号: US08612928B2公开(公告)日: 2013-12-17
- 发明人: Mohsen M. Agsen , Craig J. Symonds , Jean-Pierre Duplessis
- 申请人: Mohsen M. Agsen , Craig J. Symonds , Jean-Pierre Duplessis
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理商 Jared S. Goff
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
Exception-based component models can be generated from non-exception-based models. For example, a non-exception-based interface contract (such as a non-exception-based interface contract in a header file) for a consumable software component can be parsed. Additionally, a wrapper for the consumable software component can be generated from the non-exception-based interface contract. The wrapper can have an exception-based interface contract implementation, and the exception-based interface contract implementation can be a mirror equivalent of the non-exception-based interface contract. If the non-exception-based interface contract hints at one or more arguments as being out argument(s) for a function in the consumable software component, then predefined heuristics can be used to select one of those argument(s) to be used by the exception-based interface contract implementation as a return value for the function.
公开/授权文献
信息查询