TypeCode_SArg_Traits.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    TypeCode_SArg_Traits.h
00006  *
00007  *  $Id: TypeCode_SArg_Traits.h 73268 2006-06-27 06:23:42Z jwillemsen $
00008  *
00009  *  @author  Ossama Othman
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_TYPECODE_SARG_TRAITS_H
00014 #define TAO_TYPECODE_SARG_TRAITS_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/CORBA_methods.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 #include "tao/PortableServer/Object_SArgument_T.h"
00025 #include "tao/Pseudo_VarOut_T.h"
00026 
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028 
00029 namespace CORBA
00030 {
00031   class TypeCode;
00032   typedef TypeCode *TypeCode_ptr;
00033 
00034   typedef TAO_Pseudo_Var_T<TypeCode> TypeCode_var;
00035   typedef TAO_Pseudo_Out_T<TypeCode> TypeCode_out;
00036 }
00037 
00038 // --------------------------------------------------------------
00039 
00040 namespace TAO
00041 {
00042   template <typename T> class SArg_Traits;
00043 
00044   /// Used in generated code if CORBA::TypeCode is an argument or
00045   /// return type.
00046   template<>
00047   class TAO_PortableServer_Export SArg_Traits<CORBA::TypeCode>
00048     : public Object_SArg_Traits_T<CORBA::TypeCode_ptr,
00049                                   CORBA::TypeCode_var,
00050                                   CORBA::TypeCode_out,
00051                                   TAO::Any_Insert_Policy_Stream <CORBA::TypeCode_ptr>
00052                                  >
00053   {
00054   };
00055 }
00056 
00057 TAO_END_VERSIONED_NAMESPACE_DECL
00058 
00059 #include /**/ "ace/post.h"
00060 
00061 #endif /* TAO_TYPECODE_SARG_TRAITS_H */

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7