ifr_basec.cpp

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

CPP
2,607
字号
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CORBA::Contained::_interface_repository_id (void) const
{
  return "IDL:omg.org/CORBA/Contained:1.0";
}

CORBA::Boolean
CORBA::Contained::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284

static const CORBA::Long _oc_CORBA_Contained[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  32,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x434f5242), 
  ACE_NTOHL (0x412f436f), 
  ACE_NTOHL (0x6e746169), 
  ACE_NTOHL (0x6e65643a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CORBA/Contained:1.0
    10,
  ACE_NTOHL (0x436f6e74), 
  ACE_NTOHL (0x61696e65), 
  ACE_NTOHL (0x64000000),  // name = Contained
  };

static CORBA::TypeCode _tc_TAO_tc_CORBA_Contained (
    CORBA::tk_objref,
    sizeof (_oc_CORBA_Contained),
    (char *) &_oc_CORBA_Contained,
    0,
    sizeof (CORBA::Contained)
  );

namespace CORBA
{
  ::CORBA::TypeCode_ptr _tc_Contained =
    &_tc_TAO_tc_CORBA_Contained;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_CORBA_INTERFACEDEFSEQ_CS_)
#define _CORBA_INTERFACEDEFSEQ_CS_

CORBA::InterfaceDefSeq::InterfaceDefSeq (void)
{}

CORBA::InterfaceDefSeq::InterfaceDefSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::InterfaceDef,
        CORBA::InterfaceDef_var
      >
    (max)
{}

CORBA::InterfaceDefSeq::InterfaceDefSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::InterfaceDef_ptr * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::InterfaceDef,
        CORBA::InterfaceDef_var
      >
    (max, length, buffer, release)
{}

CORBA::InterfaceDefSeq::InterfaceDefSeq (
    const InterfaceDefSeq &seq
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::InterfaceDef,
        CORBA::InterfaceDef_var
      >
    (seq)
{}

CORBA::InterfaceDefSeq::~InterfaceDefSeq (void)
{}

void CORBA::InterfaceDefSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  InterfaceDefSeq * _tao_tmp_pointer =
    ACE_static_cast (InterfaceDefSeq *, _tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284

static const CORBA::Long _oc_CORBA_InterfaceDefSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  38,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x434f5242), 
  ACE_NTOHL (0x412f496e), 
  ACE_NTOHL (0x74657266), 
  ACE_NTOHL (0x61636544), 
  ACE_NTOHL (0x65665365), 
  ACE_NTOHL (0x713a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CORBA/InterfaceDefSeq:1.0
    16,
  ACE_NTOHL (0x496e7465), 
  ACE_NTOHL (0x72666163), 
  ACE_NTOHL (0x65446566), 
  ACE_NTOHL (0x53657100),  // name = InterfaceDefSeq
    CORBA::tk_sequence, // typecode kind
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_objref, // typecode kind
    64, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      35,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x434f5242), 
      ACE_NTOHL (0x412f496e), 
      ACE_NTOHL (0x74657266), 
      ACE_NTOHL (0x61636544), 
      ACE_NTOHL (0x65663a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CORBA/InterfaceDef:1.0
            13,
      ACE_NTOHL (0x496e7465), 
      ACE_NTOHL (0x72666163), 
      ACE_NTOHL (0x65446566), 
      ACE_NTOHL (0x0),  // name = InterfaceDef
      
    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CORBA_InterfaceDefSeq (
    CORBA::tk_alias,
    sizeof (_oc_CORBA_InterfaceDefSeq),
    (char *) &_oc_CORBA_InterfaceDefSeq,
    0,
    sizeof (CORBA::InterfaceDefSeq)
  );

namespace CORBA
{
  ::CORBA::TypeCode_ptr _tc_InterfaceDefSeq =
    &_tc_TAO_tc_CORBA_InterfaceDefSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_CORBA_VALUEDEFSEQ_CS_)
#define _CORBA_VALUEDEFSEQ_CS_

CORBA::ValueDefSeq::ValueDefSeq (void)
{}

CORBA::ValueDefSeq::ValueDefSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::ValueDef,
        CORBA::ValueDef_var
      >
    (max)
{}

CORBA::ValueDefSeq::ValueDefSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::ValueDef_ptr * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::ValueDef,
        CORBA::ValueDef_var
      >
    (max, length, buffer, release)
{}

CORBA::ValueDefSeq::ValueDefSeq (
    const ValueDefSeq &seq
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::ValueDef,
        CORBA::ValueDef_var
      >
    (seq)
{}

CORBA::ValueDefSeq::~ValueDefSeq (void)
{}

void CORBA::ValueDefSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ValueDefSeq * _tao_tmp_pointer =
    ACE_static_cast (ValueDefSeq *, _tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284

static const CORBA::Long _oc_CORBA_ValueDefSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  34,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x434f5242), 
  ACE_NTOHL (0x412f5661), 
  ACE_NTOHL (0x6c756544), 
  ACE_NTOHL (0x65665365), 
  ACE_NTOHL (0x713a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CORBA/ValueDefSeq:1.0
    12,
  ACE_NTOHL (0x56616c75), 
  ACE_NTOHL (0x65446566), 
  ACE_NTOHL (0x53657100),  // name = ValueDefSeq
    CORBA::tk_sequence, // typecode kind
  72, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_objref, // typecode kind
    56, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      31,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x434f5242), 
      ACE_NTOHL (0x412f5661), 
      ACE_NTOHL (0x6c756544), 
      ACE_NTOHL (0x65663a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CORBA/ValueDef:1.0
            9,
      ACE_NTOHL (0x56616c75), 
      ACE_NTOHL (0x65446566), 
      ACE_NTOHL (0x0),  // name = ValueDef
      
    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CORBA_ValueDefSeq (
    CORBA::tk_alias,
    sizeof (_oc_CORBA_ValueDefSeq),
    (char *) &_oc_CORBA_ValueDefSeq,
    0,
    sizeof (CORBA::ValueDefSeq)
  );

namespace CORBA
{
  ::CORBA::TypeCode_ptr _tc_ValueDefSeq =
    &_tc_TAO_tc_CORBA_ValueDefSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_CORBA_ABSTRACTINTERFACEDEFSEQ_CS_)
#define _CORBA_ABSTRACTINTERFACEDEFSEQ_CS_

CORBA::AbstractInterfaceDefSeq::AbstractInterfaceDefSeq (void)
{}

CORBA::AbstractInterfaceDefSeq::AbstractInterfaceDefSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::AbstractInterfaceDef,
        CORBA::AbstractInterfaceDef_var
      >
    (max)
{}

CORBA::AbstractInterfaceDefSeq::AbstractInterfaceDefSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::AbstractInterfaceDef_ptr * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::AbstractInterfaceDef,
        CORBA::AbstractInterfaceDef_var
      >
    (max, length, buffer, release)
{}

CORBA::AbstractInterfaceDefSeq::AbstractInterfaceDefSeq (
    const AbstractInterfaceDefSeq &seq
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::AbstractInterfaceDef,
        CORBA::AbstractInterfaceDef_var
      >
    (seq)
{}

CORBA::AbstractInterfaceDefSeq::~AbstractInterfaceDefSeq (void)
{}

void CORBA::AbstractInterfaceDefSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  AbstractInterfaceDefSeq * _tao_tmp_pointer =
    ACE_static_cast (AbstractInterfaceDefSeq *, _tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284

static const CORBA::Long _oc_CORBA_AbstractInterfaceDefSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x434f5242), 
  ACE_NTOHL (0x412f4162), 
  ACE_NTOHL (0x73747261), 
  ACE_NTOHL (0x6374496e), 
  ACE_NTOHL (0x74657266), 
  ACE_NTOHL (0x61636544), 
  ACE_NTOHL (0x65665365), 
  ACE_NTOHL (0x713a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CORBA/AbstractInterfaceDefSeq:1.0
    24,
  ACE_NTOHL (0x41627374), 
  ACE_NTOHL (0x72616374), 
  ACE_NTOHL (0x496e7465), 
  ACE_NTOHL (0x72666163), 
  ACE_NTOHL (0x65446566), 
  ACE_NTOHL (0x53657100),  // name = AbstractInterfaceDefSeq
    CORBA::tk_sequence, // typecode kind
  96, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_objref, // typecode kind
    80, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      43,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x434f5242), 
      ACE_NTOHL (0x412f4162), 
      ACE_NTOHL (0x73747261), 
      ACE_NTOHL (0x6374496e), 
      ACE_NTOHL (0x74657266), 
      ACE_NTOHL (0x61636544), 
      ACE_NTOHL (0x65663a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CORBA/AbstractInterfaceDef:1.0
            21,
      ACE_NTOHL (0x41627374), 
      ACE_NTOHL (0x72616374), 
      ACE_NTOHL (0x496e7465), 
      ACE_NTOHL (0x72666163), 
      ACE_NTOHL (0x65446566), 
      ACE_NTOHL (0x0),  // name = AbstractInterfaceDef
      
    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CORBA_AbstractInterfaceDefSeq (
    CORBA::tk_alias,
    sizeof (_oc_CORBA_AbstractInterfaceDefSeq),
    (char *) &_oc_CORBA_AbstractInterfaceDefSeq,
    0,
    sizeof (CORBA::AbstractInterfaceDefSeq)
  );

namespace CORBA
{
  ::CORBA::TypeCode_ptr _tc_AbstractInterfaceDefSeq =
    &_tc_TAO_tc_CORBA_AbstractInterfaceDefSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_CORBA_LOCALINTERFACEDEFSEQ_CS_)
#define _CORBA_LOCALINTERFACEDEFSEQ_CS_

CORBA::LocalInterfaceDefSeq::LocalInterfaceDefSeq (void)
{}

CORBA::LocalInterfaceDefSeq::LocalInterfaceDefSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::LocalInterfaceDef,
        CORBA::LocalInterfaceDef_var
      >
    (max)
{}

CORBA::LocalInterfaceDefSeq::LocalInterfaceDefSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::LocalInterfaceDef_ptr * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::LocalInterfaceDef,
        CORBA::LocalInterfaceDef_var
      >
    (max, length, buffer, release)
{}

CORBA::LocalInterfaceDefSeq::LocalInterfaceDefSeq (
    const LocalInterfaceDefSeq &seq
  )
  : TAO_Unbounded_Object_Sequence<
        CORBA::LocalInterfaceDef,
        CORBA::LocalInterfaceDef_var
      >
    (seq)
{}

CORBA::LocalInterfaceDefSeq::~LocalInterfaceDefSeq (void)
{}

void CORBA::LocalInterfaceDefSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  LocalInterfaceDefSeq * _tao_tmp_pointer =
    ACE_static_cast (LocalInterfaceDefSeq *, _tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284

static const CORBA::Long _oc_CORBA_LocalInterfaceDefSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  43,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x434f5242), 
  ACE_NTOHL (0x412f4c6f), 
  ACE_NTOHL (0x63616c49), 
  ACE_NTOHL (0x6e746572), 
  ACE_NTOHL (0x66616365), 
  ACE_NTOHL (0x44656653), 
  ACE_NTOHL (0x65713a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CORBA/LocalInterfaceDefSeq:1.0
    21,
  ACE_NTOHL (0x4c6f6361), 
  ACE_NTOHL (0x6c496e74), 
  ACE_NTOHL (0x65726661), 
  ACE_NTOHL (0x63654465), 
  ACE_NTOHL (0x66536571), 
  ACE_NTOHL (0x0),  // name = LocalInterfaceDefSeq
    CORBA::tk_sequence, // typecode kind
  88, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_objref, // typecode kind
    72, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      40,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x434f5242), 
      ACE_NTOHL (0x412f4c6f), 
      ACE_NTOHL (0x63616c49), 
      ACE_NTOHL (0x6e746572), 
      ACE_NTOHL (0x66616365), 
      ACE_NTOHL (0x4465663a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CORBA/LocalInterfac

⌨️ 快捷键说明

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