From RTSC-Pedia

Jump to: navigation, search
revision tip
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC

C - Handle downCast

conditionally move one level down the inheritance hierarchy

Contents

Synopsis

 
 
 
#include <«pkg»/«Mod».h>
 
«Mod»_Handle «Mod»_Handle_downCast(«IMod»_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 converts an abstract interface handle to an instance handle managed by the concrete module «Mod». If handle does not actually reference an instance managed by «Mod», «Mod»_Handle_downCast() returns NULL.

See also

C - Handle_upCast unconditionally move one level up the inheritance hierarchy
xdc.runtime.HeapMin.Handle_downCast Client documentation for xdc.runtime.HeapMin.Handle_downCast
[printable version]  [offline version]offline version generated on 04-Aug-2010 21:08 UTC
Copyright © 2008 The Eclipse Foundation. All Rights Reserved


Views
Personal tools
package reference