CORBA::PolicyCurrent Interface Reference

import "Policy.pidl";

Inheritance diagram for CORBA::PolicyCurrent:

Inheritance graph
[legend]
Collaboration diagram for CORBA::PolicyCurrent:

Collaboration graph
[legend]
List of all members.

Public Types

typedef PolicyCurrent_ptr _ptr_type
typedef PolicyCurrent_var _var_type

Public Member Functions

virtual CORBA::Boolean _is_a (const char *type_id)
 Determine if we are of the type specified by the "logical_type_id".

virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 Allows us to forbid marshaling of local interfaces.


Static Public Member Functions

PolicyCurrent_ptr _duplicate (PolicyCurrent_ptr obj)
void _tao_release (PolicyCurrent_ptr obj)
PolicyCurrent_ptr _narrow (CORBA::Object_ptr obj)
PolicyCurrent_ptr _unchecked_narrow (CORBA::Object_ptr obj)
PolicyCurrent_ptr _nil (void)
 Return a NULL object.

void _tao_any_destructor (void *)
 Used in the implementation of CORBA::Any.


Protected Member Functions

 PolicyCurrent (void)
virtual ~PolicyCurrent (void)

Private Member Functions

 PolicyCurrent (const PolicyCurrent &)
void operator= (const PolicyCurrent &)

Member Typedef Documentation

typedef PolicyCurrent_ptr CORBA::PolicyCurrent::_ptr_type
 

Implements CORBA::Current.

Definition at line 509 of file PolicyC.h.

typedef PolicyCurrent_var CORBA::PolicyCurrent::_var_type
 

Implements CORBA::Current.

Definition at line 510 of file PolicyC.h.


Constructor & Destructor Documentation

CORBA::PolicyCurrent::PolicyCurrent void   )  [protected]
 

Definition at line 813 of file PolicyC.cpp.

00814 {}

CORBA::PolicyCurrent::~PolicyCurrent void   )  [protected, virtual]
 

Definition at line 816 of file PolicyC.cpp.

00817 {}

CORBA::PolicyCurrent::PolicyCurrent const PolicyCurrent  )  [private]
 


Member Function Documentation

CORBA::PolicyCurrent_ptr CORBA::PolicyCurrent::_duplicate PolicyCurrent_ptr  obj  )  [static]
 

Definition at line 850 of file PolicyC.cpp.

References CORBA::Object::_add_ref(), and CORBA::PolicyCurrent_ptr.

00851 {
00852   if (! ::CORBA::is_nil (obj))
00853     {
00854       obj->_add_ref ();
00855     }
00856 
00857   return obj;
00858 }

const char * CORBA::PolicyCurrent::_interface_repository_id void   )  const [virtual]
 

The repository ID for the most derived class, this is an implementation method and does no remote invocations!

Implements CORBA::Current.

Definition at line 903 of file PolicyC.cpp.

00904 {
00905   return "IDL:omg.org/CORBA/PolicyCurrent:1.0";
00906 }

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

Determine if we are of the type specified by the "logical_type_id".

Implements CORBA::Current.

Definition at line 867 of file PolicyC.cpp.

References ACE_OS::strcmp().

00871 {
00872   if (
00873       !ACE_OS::strcmp (
00874           value,
00875           "IDL:omg.org/CORBA/PolicyManager:1.0"
00876         ) ||
00877       !ACE_OS::strcmp (
00878           value,
00879           "IDL:omg.org/CORBA/Current:1.0"
00880         ) ||
00881       !ACE_OS::strcmp (
00882           value,
00883           "IDL:omg.org/CORBA/PolicyCurrent: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 }

CORBA::PolicyCurrent_ptr CORBA::PolicyCurrent::_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Current.

Definition at line 828 of file PolicyC.cpp.

References CORBA::Object_ptr.

00832 {
00833   return PolicyCurrent::_duplicate (
00834       dynamic_cast<PolicyCurrent_ptr> (_tao_objref)
00835     );
00836 }

PolicyCurrent_ptr CORBA::PolicyCurrent::_nil void   )  [inline, static]
 

Return a NULL object.

Implements CORBA::Current.

Definition at line 527 of file PolicyC.h.

References CORBA::PolicyCurrent_ptr.

00528     {
00529       return static_cast<PolicyCurrent_ptr> (0);
00530     }

void CORBA::PolicyCurrent::_tao_any_destructor void *   )  [static]
 

Used in the implementation of CORBA::Any.

Implements CORBA::PolicyManager.

Definition at line 820 of file PolicyC.cpp.

00821 {
00822   PolicyCurrent *_tao_tmp_pointer =
00823     static_cast<PolicyCurrent *> (_tao_void_pointer);
00824   ::CORBA::release (_tao_tmp_pointer);
00825 }

void CORBA::PolicyCurrent::_tao_release PolicyCurrent_ptr  obj  )  [static]
 

Definition at line 861 of file PolicyC.cpp.

References CORBA::PolicyCurrent_ptr.

00862 {
00863   ::CORBA::release (obj);
00864 }

CORBA::PolicyCurrent_ptr CORBA::PolicyCurrent::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Current.

Definition at line 839 of file PolicyC.cpp.

References CORBA::Object_ptr.

00843 {
00844   return PolicyCurrent::_duplicate (
00845       dynamic_cast<PolicyCurrent_ptr> (_tao_objref)
00846     );
00847 }

CORBA::Boolean CORBA::PolicyCurrent::marshal TAO_OutputCDR cdr  )  [virtual]
 

Allows us to forbid marshaling of local interfaces.

Implements CORBA::Current.

Definition at line 909 of file PolicyC.cpp.

00910 {
00911   return false;
00912 }

void CORBA::PolicyCurrent::operator= const PolicyCurrent  )  [private]
 


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 12:25:07 2006 for TAO by doxygen 1.3.6