summaryrefslogtreecommitdiff
path: root/TAO/tao/Fixed_Array_Argument_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Fixed_Array_Argument_T.h')
-rw-r--r--TAO/tao/Fixed_Array_Argument_T.h55
1 files changed, 35 insertions, 20 deletions
diff --git a/TAO/tao/Fixed_Array_Argument_T.h b/TAO/tao/Fixed_Array_Argument_T.h
index bf3522022e5..2ff2f43976b 100644
--- a/TAO/tao/Fixed_Array_Argument_T.h
+++ b/TAO/tao/Fixed_Array_Argument_T.h
@@ -29,15 +29,18 @@ namespace TAO
* @brief IN stub argument of fixed size element array.
*
*/
- template<typename S, typename S_slice, typename S_forany>
- class In_Fixed_Array_Argument_T : public Argument
+ template<typename S,
+ typename S_slice,
+ typename S_forany,
+ typename Insert_Policy>
+ class In_Fixed_Array_Argument_T : public InArgument, private Insert_Policy
{
public:
In_Fixed_Array_Argument_T (const S_slice * x);
- virtual CORBA::Boolean marshal (TAO_OutputCDR &);
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
#if TAO_HAS_INTERCEPTORS == 1
- virtual void interceptor_param (Dynamic::Parameter &);
+ virtual void interceptor_value (CORBA::Any *any) const;
#endif /* TAO_HAS_INTERCEPTORS == 1 */
S_slice const * arg (void) const;
@@ -51,16 +54,19 @@ namespace TAO
* @brief INOUT stub argument of fixed size element array.
*
*/
- template<typename S, typename S_slice, typename S_forany>
- class Inout_Fixed_Array_Argument_T : public Argument
+ template<typename S,
+ typename S_slice,
+ typename S_forany,
+ typename Insert_Policy>
+ class Inout_Fixed_Array_Argument_T : public InoutArgument, private Insert_Policy
{
public:
Inout_Fixed_Array_Argument_T (S_slice *&x);
- virtual CORBA::Boolean marshal (TAO_OutputCDR &);
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
virtual CORBA::Boolean demarshal (TAO_InputCDR &);
#if TAO_HAS_INTERCEPTORS == 1
- virtual void interceptor_param (Dynamic::Parameter &);
+ virtual void interceptor_value (CORBA::Any *any) const;
#endif /* TAO_HAS_INTERCEPTORS == 1 */
S_slice * arg (void);
@@ -74,15 +80,18 @@ namespace TAO
* @brief OUT stub argument of fixed size element array.
*
*/
- template<typename S, typename S_slice, typename S_forany>
- class Out_Fixed_Array_Argument_T : public Argument
+ template<typename S,
+ typename S_slice,
+ typename S_forany,
+ typename Insert_Policy>
+ class Out_Fixed_Array_Argument_T : public OutArgument, private Insert_Policy
{
public:
Out_Fixed_Array_Argument_T (S_slice *& x);
virtual CORBA::Boolean demarshal (TAO_InputCDR &);
#if TAO_HAS_INTERCEPTORS == 1
- virtual void interceptor_param (Dynamic::Parameter &);
+ virtual void interceptor_value (CORBA::Any *any) const;
#endif /* TAO_HAS_INTERCEPTORS == 1 */
S_slice *& arg (void);
@@ -100,15 +109,16 @@ namespace TAO
typename S_slice,
typename S_var,
typename S_forany,
- typename S_tag>
- class Ret_Fixed_Array_Argument_T : public Argument
+ typename S_tag,
+ typename Insert_Policy>
+ class Ret_Fixed_Array_Argument_T : public RetArgument, private Insert_Policy
{
public:
Ret_Fixed_Array_Argument_T (void);
virtual CORBA::Boolean demarshal (TAO_InputCDR &);
#if TAO_HAS_INTERCEPTORS == 1
- virtual void interceptor_result (CORBA::Any *);
+ virtual void interceptor_value (CORBA::Any *any) const;
#endif /* TAO_HAS_INTERCEPTORS == 1 */
S_slice *& arg (void);
@@ -137,7 +147,8 @@ namespace TAO
typename T_slice,
typename T_var,
typename T_forany,
- typename T_tag>
+ typename T_tag,
+ typename Insert_Policy>
struct Fixed_Array_Arg_Traits_T
{
typedef T_slice * ret_type;
@@ -147,20 +158,24 @@ namespace TAO
typedef In_Fixed_Array_Argument_T<T,
T_slice,
- T_forany> in_arg_val;
+ T_forany,
+ Insert_Policy> in_arg_val;
typedef Inout_Fixed_Array_Argument_T<T,
T_slice,
- T_forany> inout_arg_val;
+ T_forany,
+ Insert_Policy> inout_arg_val;
typedef Out_Fixed_Array_Argument_T<T,
T_slice,
- T_forany> out_arg_val;
+ T_forany,
+ Insert_Policy> out_arg_val;
typedef Ret_Fixed_Array_Argument_T<T,
T_slice,
T_var,
T_forany,
- T_tag> ret_val;
+ T_tag,
+ Insert_Policy> ret_val;
- typedef Fixed_Array_Tag idl_tag;
+ typedef Fixed_Array_Tag idl_tag;
};
}