TAO_IOP::TAO_IOR_Property Interface Reference

import "IOR.pidl";

Inheritance diagram for TAO_IOP::TAO_IOR_Property:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef TAO_IOR_Property_ptr _ptr_type
typedef TAO_IOR_Property_var _var_type

Public Member Functions

boolean set_property (inout Object ior) raises (Invalid_IOR)
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)
virtual CORBA::Boolean set_property (::CORBA::Object_ptr &ior)=0 throw ( CORBA::SystemException, ::TAO_IOP::Invalid_IOR )
virtual CORBA::Boolean set_primary (::CORBA::Object_ptr &ior1,::CORBA::Object_ptr ior2)=0 throw ( CORBA::SystemException, ::TAO_IOP::Duplicate, ::TAO_IOP::NotFound )
virtual CORBA::Object_ptr get_primary (::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException, ::TAO_IOP::NotFound )
virtual CORBA::Boolean is_primary_set (::CORBA::Object_ptr ior)=0 throw ( CORBA::SystemException )
virtual CORBA::Boolean remove_primary_tag (::CORBA::Object_ptr &iogr)=0 throw ( CORBA::SystemException, ::TAO_IOP::NotFound )
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_Property_ptr _duplicate (TAO_IOR_Property_ptr obj)
void _tao_release (TAO_IOR_Property_ptr obj)
TAO_IOR_Property_ptr _narrow (CORBA::Object_ptr obj)
TAO_IOR_Property_ptr _unchecked_narrow (CORBA::Object_ptr obj)
TAO_IOR_Property_ptr _nil (void)
void _tao_any_destructor (void *)

Protected Member Functions

 TAO_IOR_Property (void)
virtual ~TAO_IOR_Property (void)

Private Member Functions

 TAO_IOR_Property (const TAO_IOR_Property &)
void operator= (const TAO_IOR_Property &)

Detailed Description

Allows setting properties by the different services in the IOR. The implementations of this interface would reside in the services. This interface essentially performs a role of a callback object.

Todo:
This interface seems redundant in the face of the PortableInterceptor::IORInterceptor and the ObjectReferenceTemplate. If that is the case we should deprecate it and remove it.

Definition at line 75 of file IOR.pidl.


Member Typedef Documentation

typedef TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_ptr_type
 

Reimplemented from CORBA::Object.

Definition at line 362 of file IORC.h.

typedef TAO_IOR_Property_var TAO_IOP::TAO_IOR_Property::_var_type
 

Reimplemented from CORBA::Object.

Definition at line 363 of file IORC.h.


Constructor & Destructor Documentation

TAO_IOP::TAO_IOR_Property::TAO_IOR_Property void   )  [protected]
 

Definition at line 612 of file IORC.cpp.

00613 {}

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

Definition at line 615 of file IORC.cpp.

00616 {}

TAO_IOP::TAO_IOR_Property::TAO_IOR_Property const TAO_IOR_Property  )  [private]
 


Member Function Documentation

TAO_IOP::TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_duplicate TAO_IOR_Property_ptr  obj  )  [static]
 

Definition at line 661 of file IORC.cpp.

References CORBA::Object::_add_ref(), and TAO_IOP::TAO_IOR_Property_ptr.

Referenced by operator<<=().

00662 {
00663   if (! ::CORBA::is_nil (obj))
00664     {
00665       obj->_add_ref ();
00666     }
00667 
00668   return obj;
00669 }

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

Reimplemented from CORBA::Object.

Definition at line 706 of file IORC.cpp.

00707 {
00708   return "IDL:TAO_IOP/TAO_IOR_Property:1.0";
00709 }

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

Reimplemented from CORBA::Object.

Definition at line 678 of file IORC.cpp.

References ACE_OS::strcmp().

00682 {
00683   if (
00684       !ACE_OS::strcmp (
00685           value,
00686           "IDL:TAO_IOP/TAO_IOR_Property:1.0"
00687         ) ||
00688       !ACE_OS::strcmp (
00689           value,
00690           "IDL:omg.org/CORBA/LocalObject:1.0"
00691         ) ||
00692       !ACE_OS::strcmp (
00693           value,
00694           "IDL:omg.org/CORBA/Object:1.0"
00695         )
00696     )
00697     {
00698       return true; // success using local knowledge
00699     }
00700   else
00701     {
00702       return false;
00703     }
00704 }

TAO_IOP::TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_narrow CORBA::Object_ptr  obj  )  [static]
 

Reimplemented from CORBA::Object.

Definition at line 627 of file IORC.cpp.

References CORBA::is_nil(), and TAO_IOP::TAO_IOR_Property_ptr.

00631 {
00632   if (CORBA::is_nil (_tao_objref))
00633     {
00634       return TAO_IOR_Property::_nil ();
00635     }
00636 
00637   TAO_IOR_Property_ptr proxy =
00638     dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref);
00639 
00640   return TAO_IOR_Property::_duplicate (proxy);
00641 }

TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_nil void   )  [inline, static]
 

Reimplemented from CORBA::Object.

Definition at line 380 of file IORC.h.

References TAO_IOP::TAO_IOR_Property_ptr.

00381     {
00382       return static_cast<TAO_IOR_Property_ptr> (0);
00383     }

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

Reimplemented from CORBA::Object.

Definition at line 619 of file IORC.cpp.

00620 {
00621   TAO_IOR_Property *_tao_tmp_pointer =
00622     static_cast<TAO_IOR_Property *> (_tao_void_pointer);
00623   ::CORBA::release (_tao_tmp_pointer);
00624 }

void TAO_IOP::TAO_IOR_Property::_tao_release TAO_IOR_Property_ptr  obj  )  [static]
 

Definition at line 672 of file IORC.cpp.

References TAO_IOP::TAO_IOR_Property_ptr.

00673 {
00674   ::CORBA::release (obj);
00675 }

TAO_IOP::TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Definition at line 644 of file IORC.cpp.

References CORBA::is_nil(), and TAO_IOP::TAO_IOR_Property_ptr.

00648 {
00649   if (CORBA::is_nil (_tao_objref))
00650     {
00651       return TAO_IOR_Property::_nil ();
00652     }
00653 
00654   TAO_IOR_Property_ptr proxy =
00655     dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref);
00656 
00657   return TAO_IOR_Property::_duplicate (proxy);
00658 }

virtual CORBA::Object_ptr TAO_IOP::TAO_IOR_Property::get_primary ::CORBA::Object_ptr  ior  )  throw ( CORBA::SystemException, ::TAO_IOP::NotFound ) [pure virtual]
 

Object TAO_IOP::TAO_IOR_Property::get_primary in Object  ior  )  raises (NotFound)
 

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

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Property::is_primary_set ::CORBA::Object_ptr  ior  )  throw ( CORBA::SystemException ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Property::is_primary_set in Object  ior  ) 
 

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

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

Reimplemented from CORBA::Object.

Definition at line 712 of file IORC.cpp.

00713 {
00714   return false;
00715 }

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

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Property::remove_primary_tag ::CORBA::Object_ptr iogr  )  throw ( CORBA::SystemException, ::TAO_IOP::NotFound ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Property::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.

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Property::set_primary ::CORBA::Object_ptr ior1,
::CORBA::Object_ptr  ior2
throw ( CORBA::SystemException, ::TAO_IOP::Duplicate, ::TAO_IOP::NotFound ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Property::set_primary inout Object  ior1,
in Object  ior2
raises (Duplicate, NotFound)
 

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

virtual CORBA::Boolean TAO_IOP::TAO_IOR_Property::set_property ::CORBA::Object_ptr ior  )  throw ( CORBA::SystemException, ::TAO_IOP::Invalid_IOR ) [pure virtual]
 

boolean TAO_IOP::TAO_IOR_Property::set_property inout Object  ior  )  raises (Invalid_IOR)
 

Operation that would set the required properties in the as needed by the service.


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 13:06:21 2006 for TAO_IORManipulation by doxygen 1.3.6