TAO_IORManipulation  2.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
IOR.pidl File Reference

Pre-compiled IDL source for the TAO_IOP namespace. More...

Classes

exception  NotFound
 @ Bala, please describe this exception More...
 
exception  Duplicate
 @ Bala, please describe this exception More...
 
exception  Invalid_IOR
 @ Bala, please describe this exception More...
 
exception  MultiProfileList
 @ Bala, please describe this exception More...
 

Functions

boolean set_primary (inout Object ior1, in Object ior2) raises (Duplicate, NotFound)
 
Object get_primary (in Object ior) raises (NotFound)
 
boolean is_primary_set (in Object ior)
 
boolean remove_primary_tag (inout Object iogr) raises (NotFound)
 
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)
 Returns number of profiles which are in both ior1 and ior2. More...
 
unsigned long get_profile_count (in Object ior) raises (EmptyProfileList)
 

Variables

module TAO_IOP
 
local interface TAO_IOR_Property
 
local interface TAO_IOR_Manipulation
 

Detailed Description

Pre-compiled IDL source for the TAO_IOP namespace.

Id:
IOR.pidl 92104 2010-09-30 09:53:25Z johnnyw

Function Documentation

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

copy the profile list from "ior2" to "ior1". Note on ordering, while the current implementation will place the profiles from ior2 (which are not already in ior1) on the end of the profile list in ior1, there is no guarantee this ordering will be maintained. For example, string_to_object or object_to_string may reorder the profile lists. So, if it is important to use one profile before another then policies should be used along with tagged components/tagged profiles.

Object get_primary ( in Object  ior)
raises (NotFound
)

Returns the ior of the primary from <ior> if it has been set. Else returns a NotFound exception

Object get_primary ( in TAO_IOR_Property  prop,
in Object  ior 
)
raises (NotFound
)

Returns the ior of the primary from ior if it has been set. Else returns a NotFound exception

unsigned long get_profile_count ( in Object  ior)
raises (EmptyProfileList
)

This will return the number of profiles contained in the corresponding object reference for this object.

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

Returns number of profiles which are in both ior1 and ior2.

boolean is_primary_set ( in Object  ior)

Returns a true or false depending on whether a primary member has been set in <ior>

boolean is_primary_set ( in TAO_IOR_Property  prop,
in Object  ior 
)

Returns a true or false depending on whether a primary member has been set in ior

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

Create a new object reference by merging the profiles lists in the supplied list of one or more object references.

boolean remove_primary_tag ( inout Object  iogr)
raises (NotFound
)

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

boolean 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.

Object remove_profiles ( in Object  ior1,
in Object  ior2 
)
raises (Invalid_IOR,
EmptyProfileList,
NotFound
)
boolean set_primary ( inout Object  ior1,
in Object  ior2 
)
raises (Duplicate,
NotFound
)

Sets the profile ior1, in the profile ior2 to be a primary.

boolean set_primary ( in TAO_IOR_Property  prop,
in Object  ior1,
in Object  ior2 
)
raises (Invalid_IOR,
Duplicate,
MultiProfileList,
NotFound
)
boolean set_property ( in TAO_IOR_Property  prop,
in Object  ior 
)
raises (Invalid_IOR,
Duplicate
)

Allows setting of properties as defined by the prop object in the ior list

Variable Documentation

module TAO_IOP
Initial value:
{
exception EmptyProfileList {}
local interface TAO_IOR_Manipulation
Initial value:
{
typedef sequence <Object> IORList
local interface TAO_IOR_Property
Initial value:
{
boolean set_property (inout Object ior)
raises (Invalid_IOR)
boolean set_property(in TAO_IOR_Property prop, in Object ior)
@ Bala, please describe this exception
Definition: IOR.pidl:40