CORBA::ModuleDef::_narrow

Prototypes

static CORBA::ModuleDef_ptr CORBA::ModuleDef::_narrow(CORBA::Object_ptr pObject);

Description

Convertir l'objet générique pObject en un objet de type CORBA::ModuleDef.

Exemple

#include <corba.h>
#include <oad_c.hh>
#include <impldef_c.hh>

CORBA::Object_ptr pObject;
CORBA::ModuleDef_ptr pModuleDef;

...
pModuleDef=CORBA::ModuleDef::_narrow(pObject);
...

Avertissement

La conversion implicite par cast n'est pas suffisante étant donné qu'il peut s'agir d'un objet distant à activer.

Voir aussi

CORBA::AliasDef::_narrow, CORBA::ArrayDef::_narrow, CORBA::AttributeDef::_narrow, CORBA::ConstantDef::_narrow, CORBA::EnumDef::_narrow, CORBA::ExceptionDef::_narrow, CORBA::InterfaceDef::_narrow, CORBA::NativeDef::_narrow, CORBA::OperationDef::_narrow, CORBA::StructDef::_narrow, CORBA::UnionDef::_narrow, CORBA::ValueDef::_narrow et CORBA::ValueBoxDef::_narrow pour réaliser d'autres conversions de type.