diff options
Diffstat (limited to 'ACE/TAO/tao/AnyTypeCode/Any_Arg_Traits.h')
-rw-r--r-- | ACE/TAO/tao/AnyTypeCode/Any_Arg_Traits.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ACE/TAO/tao/AnyTypeCode/Any_Arg_Traits.h b/ACE/TAO/tao/AnyTypeCode/Any_Arg_Traits.h new file mode 100644 index 00000000000..56bdc4ace51 --- /dev/null +++ b/ACE/TAO/tao/AnyTypeCode/Any_Arg_Traits.h @@ -0,0 +1,52 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Any_Arg_Traits.h + * + * $Id$ + * + * @author Jeff Parsons + */ +//============================================================================= + + +#ifndef TAO_ANY_ARG_TRAITS_H +#define TAO_ANY_ARG_TRAITS_H + +#include /**/ "ace/pre.h" + +#include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Var_Size_Argument_T.h" +#include "tao/Arg_Traits_T.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace CORBA +{ + class Any; +} + +namespace TAO +{ + template<> + class TAO_AnyTypeCode_Export Arg_Traits<CORBA::Any> + : public + Var_Size_Arg_Traits_T< + CORBA::Any, + TAO::Any_Insert_Policy_Stream <CORBA::Any> + > + { + }; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_ANY_ARG_TRAITS_H */ |