diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2006-08-14 12:50:21 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2006-08-14 12:50:21 +0000 |
commit | a685dbd0e218572fdac32e7ab0d9ff3ea0e75a03 (patch) | |
tree | 9d76b7710d5f6320f4e3a3d958c0807374059250 /TAO/tao/Basic_Argument_T.h | |
parent | 881071ba13cadea26f4fdb105340f3c6f46e9d56 (diff) | |
download | ATCD-a685dbd0e218572fdac32e7ab0d9ff3ea0e75a03.tar.gz |
ChangeLogTag: Mon Aug 14 12:49:11 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/Basic_Argument_T.h')
-rw-r--r-- | TAO/tao/Basic_Argument_T.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/TAO/tao/Basic_Argument_T.h b/TAO/tao/Basic_Argument_T.h index d38aa4ead57..988549c5710 100644 --- a/TAO/tao/Basic_Argument_T.h +++ b/TAO/tao/Basic_Argument_T.h @@ -44,11 +44,32 @@ namespace TAO #endif /* TAO_HAS_INTERCEPTORS == 1 */ S arg (void) const; - private: + protected: S const & x_; }; /** + * @class In_Basic_Clonable_Argument_T + * + * @brief Template class for IN stub argument of basic IDL types. + * + */ + template<typename S, + class Insert_Policy> + class In_Basic_Clonable_Argument_T : + public In_Basic_Argument_T<S, Insert_Policy> + { + public: + In_Basic_Clonable_Argument_T (S const & x); + virtual ~In_Basic_Clonable_Argument_T (void); + + virtual Argument* clone (void); + + private: + bool is_clone_; + }; + + /** * @class Inout_Basic_Argument_T * * @brief Template class for INOUT stub argument of basic IDL types. @@ -137,6 +158,8 @@ namespace TAO typedef T & out_type; typedef In_Basic_Argument_T<T, Insert_Policy> in_arg_val; + typedef In_Basic_Clonable_Argument_T<T, Insert_Policy> + in_clonable_arg_val; typedef Inout_Basic_Argument_T<T, Insert_Policy> inout_arg_val; typedef Out_Basic_Argument_T<T, Insert_Policy> out_arg_val; typedef Ret_Basic_Argument_T<T, Insert_Policy> ret_val; |