import "IOR.pidl";
Inheritance diagram for TAO_IOP::TAO_IOR_Manipulation:
Public Types | |
typedef sequence< Object > | IORList |
typedef TAO_IOR_Manipulation_ptr | _ptr_type |
typedef TAO_IOR_Manipulation_var | _var_type |
typedef TAO_VarSeq_Var_T< IORList > | IORList_var |
typedef TAO_Seq_Out_T< IORList > | IORList_out |
Public Member Functions | |
Object | merge_iors (in IORList iors) raises (EmptyProfileList,Duplicate,Invalid_IOR) |
Object | add_profiles (in Object ior1, in Object ior2) raises (EmptyProfileList, Duplicate, Invalid_IOR) |
Object | remove_profiles (in Object ior1, in Object ior2) raises (Invalid_IOR, EmptyProfileList, NotFound) |
boolean | set_property (in TAO_IOR_Property prop, in Object ior) raises (Invalid_IOR, Duplicate) |
boolean | set_primary (in TAO_IOR_Property prop, in Object ior1, in Object ior2) raises (Invalid_IOR, Duplicate, MultiProfileList, NotFound) |
boolean | remove_primary_tag (in TAO_IOR_Property prop, in Object ior) |
Object | get_primary (in TAO_IOR_Property prop, in Object ior) raises (NotFound) |
boolean | is_primary_set (in TAO_IOR_Property prop, in Object ior) |
unsigned long | is_in_ior (in Object ior1, in Object ior2) raises (NotFound) |
unsigned long | get_profile_count (in Object ior) raises (EmptyProfileList) |
virtual CORBA::Object_ptr | merge_iors (const::TAO_IOP::TAO_IOR_Manipulation::IORList &iors)=0 throw ( CORBA::SystemException, ::TAO_IOP::EmptyProfileList, ::TAO_IOP::Duplicate, ::TAO_IOP::Invalid_IOR ) |
virtual CORBA::Object_ptr | add_profiles (::CORBA::Object_ptr ior1,::CORBA::Object_ptr ior2)=0 throw ( CORBA::SystemException, ::TAO_IOP::EmptyProfileList, ::TAO_IOP::Duplicate, ::TAO_IOP::Invalid_IOR ) |
virtual CORBA::Object_ptr | remove_profiles (::CORBA::Object_ptr ior1,::CORBA::Object_ptr ior2)=0 throw ( CORBA::SystemException, ::TAO_IOP::Invalid_IOR, ::TAO_IOP::EmptyProfileList, ::TAO_IOP::NotFound ) |
virtual CORBA::Boolean | set_property (::TAO_IOP::TAO_IOR_Property_ptr prop,::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException, ::TAO_IOP::Invalid_IOR, ::TAO_IOP::Duplicate ) |
virtual CORBA::Boolean | set_primary (::TAO_IOP::TAO_IOR_Property_ptr prop,::CORBA::Object_ptr ior1,::CORBA::Object_ptr ior2)=0 throw ( CORBA::SystemException, ::TAO_IOP::Invalid_IOR, ::TAO_IOP::Duplicate, ::TAO_IOP::MultiProfileList, ::TAO_IOP::NotFound ) |
virtual CORBA::Boolean | remove_primary_tag (::TAO_IOP::TAO_IOR_Property_ptr prop,::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException ) |
virtual CORBA::Object_ptr | get_primary (::TAO_IOP::TAO_IOR_Property_ptr prop,::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException, ::TAO_IOP::NotFound ) |
virtual CORBA::Boolean | is_primary_set (::TAO_IOP::TAO_IOR_Property_ptr prop,::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException ) |
virtual CORBA::ULong | is_in_ior (::CORBA::Object_ptr ior1,::CORBA::Object_ptr ior2)=0 throw ( CORBA::SystemException, ::TAO_IOP::NotFound ) |
virtual CORBA::ULong | get_profile_count (::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException, ::TAO_IOP::EmptyProfileList ) |
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 | |
TAO_IOR_Manipulation_ptr | _duplicate (TAO_IOR_Manipulation_ptr obj) |
void | _tao_release (TAO_IOR_Manipulation_ptr obj) |
TAO_IOR_Manipulation_ptr | _narrow (CORBA::Object_ptr obj) |
TAO_IOR_Manipulation_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
TAO_IOR_Manipulation_ptr | _nil (void) |
void | _tao_any_destructor (void *) |
Static Public Attributes | |
::CORBA::TypeCode_ptr const | _tc_IORList |
Protected Member Functions | |
TAO_IOR_Manipulation (void) | |
virtual | ~TAO_IOR_Manipulation (void) |
Private Member Functions | |
TAO_IOR_Manipulation (const TAO_IOR_Manipulation &) | |
void | operator= (const TAO_IOR_Manipulation &) |
Manipulating Object References. While this interface does not assume the use of CORBA complient IOPs, the IOP termonology is used throughout. Object references (Object) are used since they encapsulate the notion of object references and IORs. Note, an IOR contains one or more profiles and a profile can be considered to represent the location or route to a specific instance of an object. A profile may also contain supplimentary information useful for differrent services such as security. All Object references may have multiple profiles
Definition at line 120 of file IOR.pidl.
|
Reimplemented from CORBA::Object. |
|
Reimplemented from CORBA::Object. |
|
|
|
|
|
|
|
Definition at line 809 of file IORC.cpp.
00810 {} |
|
Definition at line 812 of file IORC.cpp.
00813 {} |
|
|
|
Definition at line 858 of file IORC.cpp. References CORBA::Object::_add_ref(), and TAO_IOP::TAO_IOR_Manipulation_ptr. Referenced by operator<<=().
00859 { 00860 if (! ::CORBA::is_nil (obj)) 00861 { 00862 obj->_add_ref (); 00863 } 00864 00865 return obj; 00866 } |
|
Reimplemented from CORBA::Object. Definition at line 903 of file IORC.cpp.
00904 { 00905 return "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0"; 00906 } |
|
Reimplemented from CORBA::Object. Definition at line 875 of file IORC.cpp. References ACE_OS::strcmp().
00879 { 00880 if ( 00881 !ACE_OS::strcmp ( 00882 value, 00883 "IDL:TAO_IOP/TAO_IOR_Manipulation:1.0" 00884 ) || 00885 !ACE_OS::strcmp ( 00886 value, 00887 "IDL:omg.org/CORBA/LocalObject:1.0" 00888 ) || 00889 !ACE_OS::strcmp ( 00890 value, 00891 "IDL:omg.org/CORBA/Object:1.0" 00892 ) 00893 ) 00894 { 00895 return true; // success using local knowledge 00896 } 00897 else 00898 { 00899 return false; 00900 } 00901 } |
|
Reimplemented from CORBA::Object. Definition at line 824 of file IORC.cpp. References CORBA::is_nil(), and TAO_IOP::TAO_IOR_Manipulation_ptr.
00828 { 00829 if (CORBA::is_nil (_tao_objref)) 00830 { 00831 return TAO_IOR_Manipulation::_nil (); 00832 } 00833 00834 TAO_IOR_Manipulation_ptr proxy = 00835 dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); 00836 00837 return TAO_IOR_Manipulation::_duplicate (proxy); 00838 } |
|
Reimplemented from CORBA::Object. Definition at line 530 of file IORC.h. References TAO_IOP::TAO_IOR_Manipulation_ptr.
00531 {
00532 return static_cast<TAO_IOR_Manipulation_ptr> (0);
00533 }
|
|
Reimplemented from CORBA::Object. Definition at line 816 of file IORC.cpp.
00817 { 00818 TAO_IOR_Manipulation *_tao_tmp_pointer = 00819 static_cast<TAO_IOR_Manipulation *> (_tao_void_pointer); 00820 ::CORBA::release (_tao_tmp_pointer); 00821 } |
|
Definition at line 869 of file IORC.cpp. References TAO_IOP::TAO_IOR_Manipulation_ptr.
00870 { 00871 ::CORBA::release (obj); 00872 } |
|
Definition at line 841 of file IORC.cpp. References CORBA::is_nil(), and TAO_IOP::TAO_IOR_Manipulation_ptr.
00845 { 00846 if (CORBA::is_nil (_tao_objref)) 00847 { 00848 return TAO_IOR_Manipulation::_nil (); 00849 } 00850 00851 TAO_IOR_Manipulation_ptr proxy = 00852 dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); 00853 00854 return TAO_IOR_Manipulation::_duplicate (proxy); 00855 } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from CORBA::Object. Definition at line 909 of file IORC.cpp.
00910 { 00911 return false; 00912 } |
|
|
|
|
|
|
|
|
|
If any of the IOR's within the IOGR has a primary tag, just remove it. Return zero if no primary found. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: &_tao_tc_TAO_IOP_TAO_IOR_Manipulation_IORList |