Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Special_Basic_Arguments.h
blob927b1324ecf74fa4c55f61fbcd8fe4901c2f6dc6
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Special_Basic_Arguments.h
7 * @author Jeff Parsons
8 * @author Carlos O'Ryan
9 */
10 //=============================================================================
13 #ifndef TAO_SPECIAL_BASIC_ARGUMENTS_H
14 #define TAO_SPECIAL_BASIC_ARGUMENTS_H
16 #include /**/ "ace/pre.h"
18 #include "ace/CDR_Stream.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/Special_Basic_Argument_T.h"
25 #include "tao/Arg_Traits_T.h"
26 #include "tao/Any_Insert_Policy_T.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 namespace TAO
32 /**
34 * @brief Specializations for (w)char, octet and boolean.
38 template<>
39 class TAO_Export Arg_Traits<ACE_InputCDR::to_char>
40 : public Special_Basic_Arg_Traits_T<CORBA::Char,
41 ACE_InputCDR::to_char,
42 ACE_OutputCDR::from_char,
43 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
47 template<>
48 class TAO_Export Arg_Traits<ACE_InputCDR::to_wchar>
49 : public Special_Basic_Arg_Traits_T<CORBA::WChar,
50 ACE_InputCDR::to_wchar,
51 ACE_OutputCDR::from_wchar,
52 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
56 template<>
57 class TAO_Export Arg_Traits<ACE_InputCDR::to_octet>
58 : public Special_Basic_Arg_Traits_T<CORBA::Octet,
59 ACE_InputCDR::to_octet,
60 ACE_OutputCDR::from_octet,
61 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
65 template<>
66 class TAO_Export Arg_Traits<ACE_InputCDR::to_boolean>
67 : public Special_Basic_Arg_Traits_T<CORBA::Boolean,
68 ACE_InputCDR::to_boolean,
69 ACE_OutputCDR::from_boolean,
70 TAO::Any_Insert_Policy_AnyTypeCode_Adapter>
75 TAO_END_VERSIONED_NAMESPACE_DECL
77 #include /**/"ace/post.h"
79 #endif /* TAO_SPECIAL_BASIC_ARGUMENTS_H */