00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Any_SArg_Traits.h 00006 * 00007 * $Id: Any_SArg_Traits.h 90386 2010-06-02 13:52:08Z vzykov $ 00008 * 00009 * @author Jeff Parsons 00010 * @author Ossama Othman 00011 */ 00012 //============================================================================= 00013 00014 00015 #ifndef TAO_ANY_SARG_TRAITS_H 00016 #define TAO_ANY_SARG_TRAITS_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/PortableServer/Var_Size_SArgument_T.h" 00025 #include "tao/PortableServer/SArg_Traits_T.h" 00026 #include "tao/PortableServer/portableserver_export.h" 00027 #include "tao/AnyTypeCode/Any.h" 00028 00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00030 00031 namespace CORBA 00032 { 00033 class Any; 00034 } 00035 00036 namespace TAO 00037 { 00038 template<> 00039 class TAO_PortableServer_Export SArg_Traits<CORBA::Any> 00040 : public 00041 Var_Size_SArg_Traits_T< 00042 CORBA::Any, 00043 TAO::Any_Insert_Policy_Stream 00044 > 00045 { 00046 }; 00047 } 00048 00049 TAO_END_VERSIONED_NAMESPACE_DECL 00050 00051 #include /**/ "ace/post.h" 00052 00053 #endif /* TAO_ANY_ARG_TRAITS_H */