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/BD_String_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/BD_String_Argument_T.h')
-rw-r--r-- | TAO/tao/BD_String_Argument_T.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/TAO/tao/BD_String_Argument_T.h b/TAO/tao/BD_String_Argument_T.h index 3c682f63183..88a178c849b 100644 --- a/TAO/tao/BD_String_Argument_T.h +++ b/TAO/tao/BD_String_Argument_T.h @@ -51,11 +51,32 @@ namespace TAO typename S_var::s_traits::char_type const * arg (void) const; - private: + protected: typename S_var::s_traits::char_type const * x_; }; /** + * @class In_BD_String_Clonable_Argument_T + * + * @brief Template class for IN bounded (w)string argument. + * + */ + template<typename S_var, + size_t BOUND, + class Insert_Policy> + class In_BD_String_Clonable_Argument_T : + public In_BD_String_Argument_T<S_var, BOUND, Insert_Policy> + { + public: + In_BD_String_Clonable_Argument_T (const typename S_var::s_traits::char_type * x); + virtual ~In_BD_String_Clonable_Argument_T (void); + + virtual Argument* clone (void); + private: + bool is_clone_; + }; + + /** * @class Inout_BD_String_Argument_T * * @brief Template class for INOUT bounded (w)string argument. @@ -150,6 +171,10 @@ namespace TAO typedef In_BD_String_Argument_T<T_var, BOUND, Insert_Policy> in_arg_val; + typedef In_BD_String_Clonable_Argument_T<T_var, + BOUND, + Insert_Policy> + in_clonable_arg_val; typedef Inout_BD_String_Argument_T<T_var, BOUND, Insert_Policy> inout_arg_val; |