seq_tmplinst.cpp

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 69 行

CPP
69
字号
// Seq_Tmplinst.cpp,v 1.3 2003/10/28 18:29:34 bala Exp

// ============================================================================
//
// = LIBRARY
//    TAO
//
// = FILENAME
//    Seq_Tmplinst.cpp
//
// = DESCRIPTION
//   Explicit instantiation of the TAO sequence template classes for ValueBase
//   and AbstractBase. These instantiations free us from having to
//   generate them over and over with the IDL compiler.
//
// = AUTHOR
//     Jeff Parsons <j.parsons@vanderbilt.edu>
//
// ============================================================================
#include "ace/config-all.h"

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
    defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
#include "tao/Sequence_T.h"
#include "tao/Any.h"
#include "ValueBase.h"
#include "AbstractBase.h"
#include "Sequence_T.h"
#include "ValueFactory.h"
#endif /*if ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA*/

ACE_RCSID (Valuetype,
           Seq_Tmplinst,
           "Seq_Tmplinst.cpp,v 1.3 2003/10/28 18:29:34 bala Exp")

#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)

template class TAO_Valuetype_Manager<CORBA::ValueBase,
                                     CORBA::ValueBase_var>;

template class TAO_Unbounded_Valuetype_Sequence<CORBA::ValueBase,
                                                CORBA::ValueBase_var>;

template class TAO_Unbounded_Pseudo_Sequence<CORBA::AbstractBase>;

template class TAO_Value_Var_T <CORBA::ValueFactoryBase>;


template class TAO_Value_Var_T <CORBA::ValueBase>;

#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)

#pragma instantiate TAO_Valuetype_Manager<CORBA::ValueBase,
                                          CORBA::ValueBase_var,
                                          CORBA::tao_ValueBase_life>
#pragma instantiate TAO_Unbounded_Valuetype_Sequence<CORBA::ValueBase, \
                                                     CORBA::ValueBase_var, \
                                                     CORBA::tao_ValueBase_life>
#pragma instantiate TAO_Unbounded_Pseudo_Sequence<CORBA::AbstractBase, \
                                                  CORBA::AbstractBase_var>

#pragma instantiate TAO_Value_Var_T <CORBA::ValueFactoryBase,
                                      CORBA::tao_ValueFactoryBase_life>

#pragma instantiate TAO_Value_Var_T <CORBA::ValueBase,
                                      CORBA::tao_ValueBase_life>

#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?