import "Policy.pidl";
Inheritance diagram for CORBA::PolicyCurrent:
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 &) |
|
Implements CORBA::Current. |
|
Implements CORBA::Current. |
|
Definition at line 813 of file PolicyC.cpp.
00814 {} |
|
Definition at line 816 of file PolicyC.cpp.
00817 {} |
|
|
|
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 } |
|
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 } |
|
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 } |
|
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 }
|
|
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 }
|
|
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 } |
|
Definition at line 861 of file PolicyC.cpp. References CORBA::PolicyCurrent_ptr.
00862 { 00863 ::CORBA::release (obj); 00864 } |
|
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 }
|
|
Allows us to forbid marshaling of local interfaces.
Implements CORBA::Current. Definition at line 909 of file PolicyC.cpp.
00910 { 00911 return false; 00912 } |
|
|