import "DynamicAny.pidl";
Inheritance diagram for DynamicAny::DynAnyFactory:
Public Types | |
typedef DynAnyFactory_ptr | _ptr_type |
typedef DynAnyFactory_var | _var_type |
Public Member Functions | |
DynAny | create_dyn_any (in any value) raises (InconsistentTypeCode) |
DynAny | create_dyn_any_from_type_code (in CORBA::TypeCode type) raises (InconsistentTypeCode) |
virtual::DynamicAny::DynAny_ptr | create_dyn_any (const::CORBA::Any &value)=0 throw ( CORBA::SystemException, ::DynamicAny::DynAnyFactory::InconsistentTypeCode ) |
virtual::DynamicAny::DynAny_ptr | create_dyn_any_from_type_code (::CORBA::TypeCode_ptr type)=0 throw ( CORBA::SystemException, ::DynamicAny::DynAnyFactory::InconsistentTypeCode ) |
virtual CORBA::Boolean | _is_a (const char *type_id) |
virtual const char * | _interface_repository_id (void) const |
virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Static Public Member Functions | |
DynAnyFactory_ptr | _duplicate (DynAnyFactory_ptr obj) |
void | _tao_release (DynAnyFactory_ptr obj) |
DynAnyFactory_ptr | _narrow (CORBA::Object_ptr obj) |
DynAnyFactory_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
DynAnyFactory_ptr | _nil (void) |
Protected Member Functions | |
DynAnyFactory (void) | |
virtual | ~DynAnyFactory (void) |
Private Member Functions | |
DynAnyFactory (const DynAnyFactory &) | |
void | operator= (const DynAnyFactory &) |
|
Reimplemented from CORBA::Object. Definition at line 2156 of file DynamicAnyC.h. |
|
Reimplemented from CORBA::Object. Definition at line 2157 of file DynamicAnyC.h. |
|
Definition at line 1620 of file DynamicAnyC.cpp.
01621 {} |
|
Definition at line 1623 of file DynamicAnyC.cpp.
01624 {} |
|
|
|
Definition at line 1661 of file DynamicAnyC.cpp. References CORBA::Object::_add_ref(), and DynamicAny::DynAnyFactory_ptr.
01662 { 01663 if (! ::CORBA::is_nil (obj)) 01664 { 01665 obj->_add_ref (); 01666 } 01667 01668 return obj; 01669 } |
|
Reimplemented from CORBA::Object. Definition at line 1706 of file DynamicAnyC.cpp.
01707 { 01708 return "IDL:omg.org/DynamicAny/DynAnyFactory:1.0"; 01709 } |
|
Reimplemented from CORBA::Object. Definition at line 1678 of file DynamicAnyC.cpp. References ACE_OS::strcmp().
01682 { 01683 if ( 01684 !ACE_OS::strcmp ( 01685 value, 01686 "IDL:omg.org/DynamicAny/DynAnyFactory:1.0" 01687 ) || 01688 !ACE_OS::strcmp ( 01689 value, 01690 "IDL:omg.org/CORBA/LocalObject:1.0" 01691 ) || 01692 !ACE_OS::strcmp ( 01693 value, 01694 "IDL:omg.org/CORBA/Object:1.0" 01695 ) 01696 ) 01697 { 01698 return true; // success using local knowledge 01699 } 01700 else 01701 { 01702 return false; 01703 } 01704 } |
|
Reimplemented from CORBA::Object. Definition at line 1627 of file DynamicAnyC.cpp. References DynamicAny::DynAnyFactory_ptr, and CORBA::is_nil().
01631 { 01632 if (CORBA::is_nil (_tao_objref)) 01633 { 01634 return DynAnyFactory::_nil (); 01635 } 01636 01637 DynAnyFactory_ptr proxy = 01638 dynamic_cast<DynAnyFactory_ptr> (_tao_objref); 01639 01640 return DynAnyFactory::_duplicate (proxy); 01641 } |
|
Reimplemented from CORBA::Object. Definition at line 2174 of file DynamicAnyC.h. References DynamicAny::DynAnyFactory_ptr.
02175 {
02176 return static_cast<DynAnyFactory_ptr> (0);
02177 }
|
|
Definition at line 1672 of file DynamicAnyC.cpp. References DynamicAny::DynAnyFactory_ptr.
01673 { 01674 ::CORBA::release (obj); 01675 } |
|
Definition at line 1644 of file DynamicAnyC.cpp. References DynamicAny::DynAnyFactory_ptr, and CORBA::is_nil().
01648 { 01649 if (CORBA::is_nil (_tao_objref)) 01650 { 01651 return DynAnyFactory::_nil (); 01652 } 01653 01654 DynAnyFactory_ptr proxy = 01655 dynamic_cast<DynAnyFactory_ptr> (_tao_objref); 01656 01657 return DynAnyFactory::_duplicate (proxy); 01658 } |
|
|
|
|
|
|
|
|
|
Reimplemented from CORBA::Object. Definition at line 1712 of file DynamicAnyC.cpp.
01713 { 01714 return false; 01715 } |
|
|