#include <Object_Argument_T.h>
Inheritance diagram for TAO::In_Object_Clonable_Argument_T< S_ptr, Insert_Policy >:


Public Member Functions | |
| In_Object_Clonable_Argument_T (S_ptr x) | |
| virtual | ~In_Object_Clonable_Argument_T (void) |
| virtual Argument * | clone (void) |
| Template method to clone a TAO Argument. | |
Private Attributes | |
| bool | is_clone_ |
Definition at line 67 of file Object_Argument_T.h.
|
||||||||||
|
Definition at line 26 of file Object_Argument_T.inl.
00027 : In_Object_Argument_T<S_ptr,Insert_Policy> (x), 00028 is_clone_ (false) 00029 {} |
|
||||||||||
|
Definition at line 56 of file Object_Argument_T.cpp.
00057 {
00058 if (this->is_clone_)
00059 {
00060 In_Object_Argument_Cloner_T<S_ptr>::release (this->x_);
00061 }
00062 }
|
|
||||||||||
|
Template method to clone a TAO Argument.
Reimplemented from TAO::Argument. Definition at line 67 of file Object_Argument_T.cpp. References TAO::In_Object_Clonable_Argument_T< S_ptr, Insert_Policy >::is_clone_.
00068 {
00069 In_Object_Argument_Cloner_T<S_ptr>::duplicate (this->x_);
00070
00071 In_Object_Clonable_Argument_T<S_ptr,Insert_Policy>* clone_arg
00072 = new In_Object_Clonable_Argument_T<S_ptr,Insert_Policy> (this->x_);
00073 clone_arg->is_clone_ = true;
00074 return clone_arg;
00075 }
|
|
|||||
|
Definition at line 77 of file Object_Argument_T.h. Referenced by TAO::In_Object_Clonable_Argument_T< S_ptr, Insert_Policy >::clone(). |
1.3.6