From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
C - Handle upCast
unconditionally move one level up the inheritance hierarchy
Contents |
Synopsis
| #include <«pkg»/«Mod».h> «IMod»_Handle «Mod»_Handle_upCast(«Mod»_Handle handle); |
Description
This function is automatically defined for all target modules that support instances and inherit from an interface, where «Mod» is the name of some module and «IMod» is the name of some interface. This function simply casts handle to be of type «IMod»_Handle and should be used in-lieu of directly casting handle; there is no additional overhead associated with this operation and it allows the compiler to validate the types used.
See also
C - Handle_downCast | conditionally move one level down the inheritance hierarchy |
xdc.runtime.HeapMin.Handle_upCast | Client documentation for xdc.runtime.HeapMin.Handle_upCast |
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved