summaryrefslogtreecommitdiff
path: root/TAO/tao/UB_String_Argument_T.h
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-08-14 12:50:21 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-08-14 12:50:21 +0000
commita685dbd0e218572fdac32e7ab0d9ff3ea0e75a03 (patch)
tree9d76b7710d5f6320f4e3a3d958c0807374059250 /TAO/tao/UB_String_Argument_T.h
parent881071ba13cadea26f4fdb105340f3c6f46e9d56 (diff)
downloadATCD-a685dbd0e218572fdac32e7ab0d9ff3ea0e75a03.tar.gz
ChangeLogTag: Mon Aug 14 12:49:11 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/UB_String_Argument_T.h')
-rw-r--r--TAO/tao/UB_String_Argument_T.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/TAO/tao/UB_String_Argument_T.h b/TAO/tao/UB_String_Argument_T.h
index 68868fccd6e..23a41badf69 100644
--- a/TAO/tao/UB_String_Argument_T.h
+++ b/TAO/tao/UB_String_Argument_T.h
@@ -45,11 +45,32 @@ namespace TAO
#endif /* TAO_HAS_INTERCEPTORS == 1 */
const typename S_var::s_traits::char_type * arg (void) const;
- private:
+ protected:
typename S_var::s_traits::char_type const * x_;
};
/**
+ * @class In_UB_String_Clonable_Argument_T
+ *
+ * @brief Template class for IN unbounded (w)string argument.
+ *
+ */
+ template<typename S_var,
+ class Insert_Policy>
+ class In_UB_String_Clonable_Argument_T :
+ public In_UB_String_Argument_T<S_var, Insert_Policy>
+ {
+ public:
+ In_UB_String_Clonable_Argument_T (const typename S_var::s_traits::char_type * x);
+ virtual ~In_UB_String_Clonable_Argument_T (void);
+
+ virtual Argument* clone (void);
+
+ private:
+ bool is_clone_;
+ };
+
+ /**
* @class Inout_UB_String_Argument_T
*
* @brief Template class for INOUT unbounded (w)string argument.
@@ -137,6 +158,8 @@ namespace TAO
typedef typename T_var::s_traits::string_out out_type;
typedef In_UB_String_Argument_T<T_var, Insert_Policy> in_arg_val;
+ typedef In_UB_String_Clonable_Argument_T<T_var,
+ Insert_Policy> in_clonable_arg_val;
typedef Inout_UB_String_Argument_T<T_var, Insert_Policy> inout_arg_val;
typedef Out_UB_String_Argument_T<T_var, Insert_Policy> out_arg_val;
typedef Ret_UB_String_Argument_T<T_var, Insert_Policy> ret_val;