Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO_IOP::TAO_IOR_Manipulation Interface Reference

Allows applications to manipulate object references. More...

import "IOR.pidl";

Inheritance diagram for TAO_IOP::TAO_IOR_Manipulation:

Inheritance graph
[legend]
Collaboration diagram for TAO_IOP::TAO_IOR_Manipulation:

Collaboration graph
[legend]
List of all members.

Public Types

typedef sequence< ObjectIORList
typedef TAO_IOR_Manipulation_ptr _ptr_type
typedef TAO_IOR_Manipulation_var _var_type
typedef TAO_MngSeq_Var_T<
IORList, TAO_Pseudo_Object_Manager<
CORBA::Object > > 
IORList_var
typedef TAO_MngSeq_Out_T<
IORList, IORList_var, TAO_Pseudo_Object_Manager<
CORBA::Object > > 
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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=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 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw ( CORBA::SystemException )
virtual CORBA::Object_ptr get_primary (TAO_IOP::TAO_IOR_Property_ptr prop, CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw ( CORBA::SystemException , TAO_IOP::NotFound )
virtual CORBA::Boolean is_primary_set (TAO_IOP::TAO_IOR_Property_ptr prop, CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw ( CORBA::SystemException )
virtual CORBA::ULong is_in_ior (CORBA::Object_ptr ior1, CORBA::Object_ptr ior2 ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw ( CORBA::SystemException , TAO_IOP::NotFound )
virtual CORBA::ULong get_profile_count (CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS)=0 throw ( CORBA::SystemException , TAO_IOP::EmptyProfileList )
virtual CORBA::Boolean _is_a (const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS)
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)
TAO_IOR_Manipulation_ptr _narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)
TAO_IOR_Manipulation_ptr _unchecked_narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)
TAO_IOR_Manipulation_ptr _nil (void)
void _tao_any_destructor (void *)

Static Public Attributes

::CORBA::TypeCode_ptr _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 &)

Detailed Description

Allows applications to manipulate object references.

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


Member Typedef Documentation

typedef TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_ptr_type
 

Reimplemented from CORBA::Object.

typedef TAO_IOR_Manipulation_var TAO_IOP::TAO_IOR_Manipulation::_var_type
 

Reimplemented from CORBA::Object.

typedef sequence<Object> TAO_IOP::TAO_IOR_Manipulation::IORList
 

typedef TAO_MngSeq_Out_T< IORList, IORList_var, TAO_Pseudo_Object_Manager< CORBA::Object > > TAO_IOP::TAO_IOR_Manipulation::IORList_out
 

typedef TAO_MngSeq_Var_T< IORList, TAO_Pseudo_Object_Manager< CORBA::Object > > TAO_IOP::TAO_IOR_Manipulation::IORList_var
 


Constructor & Destructor Documentation

TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation void   )  [protected]
 

TAO_IOP::TAO_IOR_Manipulation::~TAO_IOR_Manipulation void   )  [protected, virtual]
 

TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation const TAO_IOR_Manipulation  )  [private]
 


Member Function Documentation

TAO_IOP::TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_duplicate TAO_IOR_Manipulation_ptr  obj  )  [static]
 

const char * TAO_IOP::TAO_IOR_Manipulation::_interface_repository_id void   )  const [virtual]
 

Reimplemented from CORBA::Object.

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::_is_a const char *type_id  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  [virtual]
 

TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_narrow CORBA::Object_ptr obj  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  [static]
 

Reimplemented from CORBA::Object.

TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_nil void   )  [inline, static]
 

Reimplemented from CORBA::Object.

void TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor void *   )  [static]
 

Reimplemented from CORBA::Object.

TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow CORBA::Object_ptr obj  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  [static]
 

virtual CORBA::Object_ptr TAO_IOP::TAO_IOR_Manipulation::add_profiles CORBA::Object_ptr  ior1,
CORBA::Object_ptr ior2  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::EmptyProfileList , TAO_IOP::Duplicate , TAO_IOP::Invalid_IOR ) [pure virtual]
 

Implemented in TAO_IOR_Manipulation_impl.

Object TAO_IOP::TAO_IOR_Manipulation::add_profiles in Object  ior1,
in Object  ior2
raises (EmptyProfileList, Duplicate, Invalid_IOR)
 

virtual CORBA::Object_ptr TAO_IOP::TAO_IOR_Manipulation::get_primary TAO_IOP::TAO_IOR_Property_ptr  prop,
CORBA::Object_ptr ior  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::NotFound ) [pure virtual]
 

Object TAO_IOP::TAO_IOR_Manipulation::get_primary in TAO_IOR_Property  prop,
in Object  ior
raises (NotFound)
 

virtual CORBA::ULong TAO_IOP::TAO_IOR_Manipulation::get_profile_count CORBA::Object_ptr ior  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException , TAO_IOP::EmptyProfileList ) [pure virtual]
 

unsigned long TAO_IOP::TAO_IOR_Manipulation::get_profile_count in Object  ior  )  raises (EmptyProfileList)
 

virtual CORBA::ULong TAO_IOP::TAO_IOR_Manipulation::is_in_ior CORBA::Object_ptr  ior1,
CORBA::Object_ptr ior2  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::NotFound ) [pure virtual]
 

Implemented in TAO_IOR_Manipulation_impl.

unsigned long TAO_IOP::TAO_IOR_Manipulation::is_in_ior in Object  ior1,
in Object  ior2
raises (NotFound)
 

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::is_primary_set TAO_IOP::TAO_IOR_Property_ptr  prop,
CORBA::Object_ptr ior  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Manipulation::is_primary_set in TAO_IOR_Property  prop,
in Object  ior
 

CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::marshal TAO_OutputCDR cdr  )  [virtual]
 

Reimplemented from CORBA::Object.

virtual CORBA::Object_ptr TAO_IOP::TAO_IOR_Manipulation::merge_iors const TAO_IOP::TAO_IOR_Manipulation::IORList &iors  ACE_ENV_ARG_DECL_WITH_DEFAULTS  )  throw ( CORBA::SystemException , TAO_IOP::EmptyProfileList , TAO_IOP::Duplicate , TAO_IOP::Invalid_IOR ) [pure virtual]
 

Implemented in TAO_IOR_Manipulation_impl.

Object TAO_IOP::TAO_IOR_Manipulation::merge_iors in IORList  iors  )  raises (EmptyProfileList,Duplicate,Invalid_IOR)
 

void TAO_IOP::TAO_IOR_Manipulation::operator= const TAO_IOR_Manipulation  )  [private]
 

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::remove_primary_tag TAO_IOP::TAO_IOR_Property_ptr  prop,
CORBA::Object_ptr ior  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Manipulation::remove_primary_tag in TAO_IOR_Property  prop,
in Object  ior
 

If any of the IOR's within the IOGR has a primary tag, just remove it. Return zero if no primary found.

virtual CORBA::Object_ptr TAO_IOP::TAO_IOR_Manipulation::remove_profiles CORBA::Object_ptr  ior1,
CORBA::Object_ptr ior2  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::Invalid_IOR , TAO_IOP::EmptyProfileList , TAO_IOP::NotFound ) [pure virtual]
 

Implemented in TAO_IOR_Manipulation_impl.

Object TAO_IOP::TAO_IOR_Manipulation::remove_profiles in Object  ior1,
in Object  ior2
raises (Invalid_IOR, EmptyProfileList, NotFound)
 

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::set_primary TAO_IOP::TAO_IOR_Property_ptr  prop,
CORBA::Object_ptr  ior1,
CORBA::Object_ptr ior2  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::Invalid_IOR , TAO_IOP::Duplicate , TAO_IOP::MultiProfileList , TAO_IOP::NotFound ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Manipulation::set_primary in TAO_IOR_Property  prop,
in Object  ior1,
in Object  ior2
raises (Invalid_IOR, Duplicate, MultiProfileList, NotFound)
 

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Manipulation::set_property TAO_IOP::TAO_IOR_Property_ptr  prop,
CORBA::Object_ptr ior  ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw ( CORBA::SystemException , TAO_IOP::Invalid_IOR , TAO_IOP::Duplicate ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Manipulation::set_property in TAO_IOR_Property  prop,
in Object  ior
raises (Invalid_IOR, Duplicate)
 


Member Data Documentation

CORBA::TypeCode_ptr TAO_IOP::TAO_IOR_Manipulation::_tc_IORList [static]
 

Initial value:

  &_tc_TAO_tc_TAO_IOP_TAO_IOR_Manipulation_IORList


The documentation for this interface was generated from the following files:
Generated on Fri Dec 31 15:54:27 2004 for TAO_IORManipulation by  doxygen 1.3.9.1