Invention Grant
US08438550B2 Type propagation for automatic casting of output types in a data flow program
有权
在数据流程序中自动投射输出类型的类型传播
- Patent Title: Type propagation for automatic casting of output types in a data flow program
- Patent Title (中): 在数据流程序中自动投射输出类型的类型传播
-
Application No.: US12779341Application Date: 2010-05-13
-
Publication No.: US08438550B2Publication Date: 2013-05-07
- Inventor: Stephen R. Mercer , Steven W. Rogers
- Applicant: Stephen R. Mercer , Steven W. Rogers
- Applicant Address: US TX Austin
- Assignee: National Instruments Corporation
- Current Assignee: National Instruments Corporation
- Current Assignee Address: US TX Austin
- Agency: Meyertons Hood Kivlin Kowert & Goetzel, P.C.
- Agent Jerry C. Hood; Mark S. Williams
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
System and method for implicit downcasting at compile time in a data flow program. A first data flow function in an object-oriented dataflow program is identified, where the first function includes an input of a parent data type and an output of the parent data type. The first function is analyzed to determine if the output preserves the run-time data type of the input. A second dataflow function in the object-oriented data flow program is identified, where the second function includes a program element that calls the first function, passing an input parameter of a child data type of the parent data type as input. If the analysis determines that an output parameter returned by the output of the first function will always be of the child data type, the program element is automatically configured at compile time to always downcast the output parameter from the parent data type to the child data type at run-time.
Public/Granted literature
- US20100251228A1 TYPE PROPAGATION FOR AUTOMATIC CASTING OF OUTPUT TYPES IN A DATA FLOW PROGRAM Public/Granted day:2010-09-30
Information query