#include <Base_Transport_Property.h>
Inheritance diagram for TAO_Base_Transport_Property:
Public Member Functions | |
TAO_Base_Transport_Property (void) | |
Default constructor. | |
TAO_Base_Transport_Property (TAO_Endpoint *endpoint, CORBA::Boolean flag=false) | |
Constructor. | |
virtual | ~TAO_Base_Transport_Property (void) |
Destructor. | |
TAO_Base_Transport_Property (const TAO_Base_Transport_Property &rhs) | |
The copy constructor. | |
virtual TAO_Transport_Descriptor_Interface * | duplicate (void) |
virtual CORBA::Boolean | is_equivalent (const TAO_Transport_Descriptor_Interface *other_prop) |
Try to determine if this object is same as the other_prop. | |
virtual u_long | hash (void) const |
Generate hash value for our class. |
This class is a concrete implementation of a simple connection property class. This provides an implementation for the virtual functions declared in TAO_Transport_Descriptor_Interface.
Definition at line 39 of file Base_Transport_Property.h.
|
Default constructor.
Definition at line 8 of file Base_Transport_Property.inl.
00009 { 00010 00011 } |
|
Constructor.
Definition at line 15 of file Base_Transport_Property.inl.
00017 : TAO_Transport_Descriptor_Interface (endpoint, 00018 flag) 00019 { 00020 } |
|
Destructor.
Definition at line 16 of file Base_Transport_Property.cpp.
00017 { 00018 } |
|
The copy constructor.
Definition at line 23 of file Base_Transport_Property.inl.
00025 : TAO_Transport_Descriptor_Interface (rhs.endpoint_->duplicate (), 00026 1) 00027 { 00028 00029 } |
|
This call allocates and copies the contents of this class and returns the pointer Implements TAO_Transport_Descriptor_Interface. Definition at line 21 of file Base_Transport_Property.cpp. References ACE_NEW_RETURN, and TAO_Endpoint::duplicate().
00022 { 00023 // Get a copy of the underlying endpoint 00024 TAO_Endpoint *endpt = this->endpoint_->duplicate (); 00025 if (endpt == 0) 00026 return 0; 00027 00028 // Construct a copy of our class 00029 TAO_Base_Transport_Property *prop = 0; 00030 ACE_NEW_RETURN (prop, 00031 TAO_Base_Transport_Property (endpt, 00032 1), 00033 0); 00034 return prop; 00035 } |
|
Generate hash value for our class.
Implements TAO_Transport_Descriptor_Interface. Definition at line 53 of file Base_Transport_Property.cpp. References TAO_Endpoint::hash().
|
|
Try to determine if this object is same as the other_prop.
Implements TAO_Transport_Descriptor_Interface. Definition at line 39 of file Base_Transport_Property.cpp. References TAO_Transport_Descriptor_Interface::endpoint_, and TAO_Endpoint::is_equivalent().
00041 { 00042 const TAO_Base_Transport_Property *other_desc = 00043 dynamic_cast<const TAO_Base_Transport_Property *> (rhs); 00044 00045 if (other_desc == 0) 00046 return 0; 00047 00048 return this->endpoint_->is_equivalent (other_desc->endpoint_); 00049 } |