Template class for IN stub argument of unbounded sequence IDL types. More...
#include <Vector_Argument_T.h>


Public Member Functions | |
| In_Vector_Clonable_Argument_T (S const &x) | |
| virtual | ~In_Vector_Clonable_Argument_T (void) |
| virtual Argument * | clone (void) |
| Template method to clone a TAO Argument. | |
Private Attributes | |
| bool | is_clone_ |
Template class for IN stub argument of unbounded sequence IDL types.
Definition at line 61 of file Vector_Argument_T.h.
| TAO::In_Vector_Clonable_Argument_T< S, Insert_Policy >::In_Vector_Clonable_Argument_T | ( | S const & | x | ) |
Definition at line 27 of file Vector_Argument_T.inl.
: In_Vector_Argument_T<S,Insert_Policy> (x),
is_clone_ (false)
{}
| TAO::In_Vector_Clonable_Argument_T< S, Insert_Policy >::~In_Vector_Clonable_Argument_T | ( | void | ) | [virtual] |
Definition at line 38 of file Vector_Argument_T.cpp.
{
if (this->is_clone_)
{
S & tmp = const_cast<S &> (this->x_);
delete tmp;
}
}
| TAO::Argument * TAO::In_Vector_Clonable_Argument_T< S, Insert_Policy >::clone | ( | void | ) | [virtual] |
Template method to clone a TAO Argument.
Reimplemented from TAO::Argument.
Definition at line 50 of file Vector_Argument_T.cpp.
{
S* clone_x = new S (this->x_);
In_Vector_Clonable_Argument_T<S,Insert_Policy>* clone_arg
= new In_Vector_Clonable_Argument_T<S,Insert_Policy> (*clone_x);
clone_arg->is_clone_ = true;
return clone_arg;
}
bool TAO::In_Vector_Clonable_Argument_T< S, Insert_Policy >::is_clone_ [private] |
Definition at line 71 of file Vector_Argument_T.h.
1.7.0