Template class for IN stub argument of fixed size IDL types. More...
#include <Fixed_Size_Argument_T.h>
Public Member Functions | |
In_Fixed_Size_Clonable_Argument_T (S const &x) | |
virtual | ~In_Fixed_Size_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 fixed size IDL types.
Definition at line 58 of file Fixed_Size_Argument_T.h.
TAO::In_Fixed_Size_Clonable_Argument_T< S, Insert_Policy >::In_Fixed_Size_Clonable_Argument_T | ( | S const & | x | ) |
Definition at line 28 of file Fixed_Size_Argument_T.inl.
: In_Fixed_Size_Argument_T<S,Insert_Policy> (x),
is_clone_ (false)
{
}
TAO::In_Fixed_Size_Clonable_Argument_T< S, Insert_Policy >::~In_Fixed_Size_Clonable_Argument_T | ( | void | ) | [virtual] |
Definition at line 36 of file Fixed_Size_Argument_T.cpp.
{ if (this->is_clone_) { S* tmp = const_cast<S*> (this->x_); delete tmp; } }
TAO::Argument * TAO::In_Fixed_Size_Clonable_Argument_T< S, Insert_Policy >::clone | ( | void | ) | [virtual] |
Template method to clone a TAO Argument.
Reimplemented from TAO::Argument.
Definition at line 48 of file Fixed_Size_Argument_T.cpp.
{ S* clone_x = new S (*(this->x_)); In_Fixed_Size_Clonable_Argument_T<S,Insert_Policy>* clone_arg = new In_Fixed_Size_Clonable_Argument_T<S,Insert_Policy> (*clone_x); clone_arg->is_clone_ = true; return clone_arg; }
bool TAO::In_Fixed_Size_Clonable_Argument_T< S, Insert_Policy >::is_clone_ [private] |
Definition at line 68 of file Fixed_Size_Argument_T.h.