// -*- C++ -*-
//
// $Id$

// ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
//       Center for Distributed Object Computing
//       Washington University
//       St. Louis, MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
//       Distributed Object Computing Laboratory
//       University of California at Irvine
//       Irvine, CA
//       USA
//       http://doc.ece.uci.edu/
// and
//       Institute for Software Integrated Systems
//       Vanderbilt University
//       Nashville, TN
//       USA
//       http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html

// TAO_IDL - Generated from
// be/be_codegen.cpp:303


#include "RtecBaseC.h"
#include "tao/CDR.h"
#include "tao/Typecode.h"
#include "tao/Any_Dual_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"

#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */

#if !defined (__ACE_INLINE__)
#include "RtecBaseC.inl"
#endif /* !defined __ACE_INLINE__ */

// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:64

// Arg traits specializations.
namespace TAO
{
}


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

static const CORBA::Long _oc_RtecBase_Dependency_Type_t[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  35,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f446570), 
  ACE_NTOHL (0x656e6465), 
  ACE_NTOHL (0x6e63795f), 
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x5f743a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Type_t:1.0
  18,
  ACE_NTOHL (0x44657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795f54), 
  ACE_NTOHL (0x7970655f), 
  ACE_NTOHL (0x74000000),  // name = Dependency_Type_t
  2, // member count
  13,
  ACE_NTOHL (0x4f4e455f), 
  ACE_NTOHL (0x5741595f), 
  ACE_NTOHL (0x43414c4c), 
  ACE_NTOHL (0x0),  // name = ONE_WAY_CALL
  13,
  ACE_NTOHL (0x54574f5f), 
  ACE_NTOHL (0x5741595f), 
  ACE_NTOHL (0x43414c4c), 
  ACE_NTOHL (0x0),  // name = TWO_WAY_CALL
  };

static CORBA::TypeCode _tc_TAO_tc_RtecBase_Dependency_Type_t (
    CORBA::tk_enum,
    sizeof (_oc_RtecBase_Dependency_Type_t),
    (char *) &_oc_RtecBase_Dependency_Type_t,
    0,
    sizeof (RtecBase::Dependency_Type_t)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_Dependency_Type_t =
    &_tc_TAO_tc_RtecBase_Dependency_Type_t;
}

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

static const CORBA::Long _oc_RtecBase_handle_t[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  26,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f68616e), 
  ACE_NTOHL (0x646c655f), 
  ACE_NTOHL (0x743a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
    9,
  ACE_NTOHL (0x68616e64), 
  ACE_NTOHL (0x6c655f74), 
  ACE_NTOHL (0x0),  // name = handle_t
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_RtecBase_handle_t (
    CORBA::tk_alias,
    sizeof (_oc_RtecBase_handle_t),
    (char *) &_oc_RtecBase_handle_t,
    0,
    sizeof (RtecBase::handle_t)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_handle_t =
    &_tc_TAO_tc_RtecBase_handle_t;
}

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

static const CORBA::Long _oc_RtecBase_Dependency_Enabled_Type_t[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  43,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f446570), 
  ACE_NTOHL (0x656e6465), 
  ACE_NTOHL (0x6e63795f), 
  ACE_NTOHL (0x456e6162), 
  ACE_NTOHL (0x6c65645f), 
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x5f743a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Enabled_Type_t:1.0
  26,
  ACE_NTOHL (0x44657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795f45), 
  ACE_NTOHL (0x6e61626c), 
  ACE_NTOHL (0x65645f54), 
  ACE_NTOHL (0x7970655f), 
  ACE_NTOHL (0x74000000),  // name = Dependency_Enabled_Type_t
  3, // member count
  20,
  ACE_NTOHL (0x44455045), 
  ACE_NTOHL (0x4e44454e), 
  ACE_NTOHL (0x43595f44), 
  ACE_NTOHL (0x49534142), 
  ACE_NTOHL (0x4c454400),  // name = DEPENDENCY_DISABLED
  19,
  ACE_NTOHL (0x44455045), 
  ACE_NTOHL (0x4e44454e), 
  ACE_NTOHL (0x43595f45), 
  ACE_NTOHL (0x4e41424c), 
  ACE_NTOHL (0x45440000),  // name = DEPENDENCY_ENABLED
  24,
  ACE_NTOHL (0x44455045), 
  ACE_NTOHL (0x4e44454e), 
  ACE_NTOHL (0x43595f4e), 
  ACE_NTOHL (0x4f4e5f56), 
  ACE_NTOHL (0x4f4c4154), 
  ACE_NTOHL (0x494c4500),  // name = DEPENDENCY_NON_VOLATILE
  };

static CORBA::TypeCode _tc_TAO_tc_RtecBase_Dependency_Enabled_Type_t (
    CORBA::tk_enum,
    sizeof (_oc_RtecBase_Dependency_Enabled_Type_t),
    (char *) &_oc_RtecBase_Dependency_Enabled_Type_t,
    0,
    sizeof (RtecBase::Dependency_Enabled_Type_t)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_Dependency_Enabled_Type_t =
    &_tc_TAO_tc_RtecBase_Dependency_Enabled_Type_t;
}

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

static const CORBA::Long _oc_RtecBase_Dependency_Info[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  33,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f446570), 
  ACE_NTOHL (0x656e6465), 
  ACE_NTOHL (0x6e63795f), 
  ACE_NTOHL (0x496e666f), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecBase/Dependency_Info:1.0
    16,
  ACE_NTOHL (0x44657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795f49), 
  ACE_NTOHL (0x6e666f00),  // name = Dependency_Info
  5, // member count
    16,
  ACE_NTOHL (0x64657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795f74), 
  ACE_NTOHL (0x79706500),  // name = dependency_type
    CORBA::tk_enum, // typecode kind
  112, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
    35,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f446570), 
    ACE_NTOHL (0x656e6465), 
    ACE_NTOHL (0x6e63795f), 
    ACE_NTOHL (0x54797065), 
    ACE_NTOHL (0x5f743a31), 
    ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Type_t:1.0
    18,
    ACE_NTOHL (0x44657065), 
    ACE_NTOHL (0x6e64656e), 
    ACE_NTOHL (0x63795f54), 
    ACE_NTOHL (0x7970655f), 
    ACE_NTOHL (0x74000000),  // name = Dependency_Type_t
    2, // member count
    13,
    ACE_NTOHL (0x4f4e455f), 
    ACE_NTOHL (0x5741595f), 
    ACE_NTOHL (0x43414c4c), 
    ACE_NTOHL (0x0),  // name = ONE_WAY_CALL
    13,
    ACE_NTOHL (0x54574f5f), 
    ACE_NTOHL (0x5741595f), 
    ACE_NTOHL (0x43414c4c), 
    ACE_NTOHL (0x0),  // name = TWO_WAY_CALL
    
  16,
  ACE_NTOHL (0x6e756d62), 
  ACE_NTOHL (0x65725f6f), 
  ACE_NTOHL (0x665f6361), 
  ACE_NTOHL (0x6c6c7300),  // name = number_of_calls
    CORBA::tk_long,

  8,
  ACE_NTOHL (0x72745f69), 
  ACE_NTOHL (0x6e666f00),  // name = rt_info
    CORBA::tk_alias, // typecode kind for typedefs
  56, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    26,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f68616e), 
    ACE_NTOHL (0x646c655f), 
    ACE_NTOHL (0x743a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
        9,
    ACE_NTOHL (0x68616e64), 
    ACE_NTOHL (0x6c655f74), 
    ACE_NTOHL (0x0),  // name = handle_t
        CORBA::tk_long,


  20,
  ACE_NTOHL (0x72745f69), 
  ACE_NTOHL (0x6e666f5f), 
  ACE_NTOHL (0x64657065), 
  ACE_NTOHL (0x6e646564), 
  ACE_NTOHL (0x5f6f6e00),  // name = rt_info_depended_on
    CORBA::tk_alias, // typecode kind for typedefs
  56, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    26,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f68616e), 
    ACE_NTOHL (0x646c655f), 
    ACE_NTOHL (0x743a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
        9,
    ACE_NTOHL (0x68616e64), 
    ACE_NTOHL (0x6c655f74), 
    ACE_NTOHL (0x0),  // name = handle_t
        CORBA::tk_long,


  8,
  ACE_NTOHL (0x656e6162), 
  ACE_NTOHL (0x6c656400),  // name = enabled
    CORBA::tk_enum, // typecode kind
  164, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
    43,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f446570), 
    ACE_NTOHL (0x656e6465), 
    ACE_NTOHL (0x6e63795f), 
    ACE_NTOHL (0x456e6162), 
    ACE_NTOHL (0x6c65645f), 
    ACE_NTOHL (0x54797065), 
    ACE_NTOHL (0x5f743a31), 
    ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Enabled_Type_t:1.0
    26,
    ACE_NTOHL (0x44657065), 
    ACE_NTOHL (0x6e64656e), 
    ACE_NTOHL (0x63795f45), 
    ACE_NTOHL (0x6e61626c), 
    ACE_NTOHL (0x65645f54), 
    ACE_NTOHL (0x7970655f), 
    ACE_NTOHL (0x74000000),  // name = Dependency_Enabled_Type_t
    3, // member count
    20,
    ACE_NTOHL (0x44455045), 
    ACE_NTOHL (0x4e44454e), 
    ACE_NTOHL (0x43595f44), 
    ACE_NTOHL (0x49534142), 
    ACE_NTOHL (0x4c454400),  // name = DEPENDENCY_DISABLED
    19,
    ACE_NTOHL (0x44455045), 
    ACE_NTOHL (0x4e44454e), 
    ACE_NTOHL (0x43595f45), 
    ACE_NTOHL (0x4e41424c), 
    ACE_NTOHL (0x45440000),  // name = DEPENDENCY_ENABLED
    24,
    ACE_NTOHL (0x44455045), 
    ACE_NTOHL (0x4e44454e), 
    ACE_NTOHL (0x43595f4e), 
    ACE_NTOHL (0x4f4e5f56), 
    ACE_NTOHL (0x4f4c4154), 
    ACE_NTOHL (0x494c4500),  // name = DEPENDENCY_NON_VOLATILE
    
};

static CORBA::TypeCode _tc_TAO_tc_RtecBase_Dependency_Info (
    CORBA::tk_struct,
    sizeof (_oc_RtecBase_Dependency_Info),
    (char *) &_oc_RtecBase_Dependency_Info,
    0,
    sizeof (RtecBase::Dependency_Info)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_Dependency_Info =
    &_tc_TAO_tc_RtecBase_Dependency_Info;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
RtecBase::Dependency_Info::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  Dependency_Info *_tao_tmp_pointer =
    static_cast<Dependency_Info *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

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

static const CORBA::Long _oc_RtecBase_OS_Priority[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  29,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f4f535f), 
  ACE_NTOHL (0x5072696f), 
  ACE_NTOHL (0x72697479), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecBase/OS_Priority:1.0
    12,
  ACE_NTOHL (0x4f535f50), 
  ACE_NTOHL (0x72696f72), 
  ACE_NTOHL (0x69747900),  // name = OS_Priority
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_RtecBase_OS_Priority (
    CORBA::tk_alias,
    sizeof (_oc_RtecBase_OS_Priority),
    (char *) &_oc_RtecBase_OS_Priority,
    0,
    sizeof (RtecBase::OS_Priority)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_OS_Priority =
    &_tc_TAO_tc_RtecBase_OS_Priority;
}

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

static const CORBA::Long _oc_RtecBase_Preemption_Priority_t[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  39,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f507265), 
  ACE_NTOHL (0x656d7074), 
  ACE_NTOHL (0x696f6e5f), 
  ACE_NTOHL (0x5072696f), 
  ACE_NTOHL (0x72697479), 
  ACE_NTOHL (0x5f743a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Preemption_Priority_t:1.0
    22,
  ACE_NTOHL (0x50726565), 
  ACE_NTOHL (0x6d707469), 
  ACE_NTOHL (0x6f6e5f50), 
  ACE_NTOHL (0x72696f72), 
  ACE_NTOHL (0x6974795f), 
  ACE_NTOHL (0x74000000),  // name = Preemption_Priority_t
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_RtecBase_Preemption_Priority_t (
    CORBA::tk_alias,
    sizeof (_oc_RtecBase_Preemption_Priority_t),
    (char *) &_oc_RtecBase_Preemption_Priority_t,
    0,
    sizeof (RtecBase::Preemption_Priority_t)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_Preemption_Priority_t =
    &_tc_TAO_tc_RtecBase_Preemption_Priority_t;
}

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

static const CORBA::Long _oc_RtecBase_Preemption_Subpriority_t[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  42,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x42617365), 
  ACE_NTOHL (0x2f507265), 
  ACE_NTOHL (0x656d7074), 
  ACE_NTOHL (0x696f6e5f), 
  ACE_NTOHL (0x53756270), 
  ACE_NTOHL (0x72696f72), 
  ACE_NTOHL (0x6974795f), 
  ACE_NTOHL (0x743a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/Preemption_Subpriority_t:1.0
    25,
  ACE_NTOHL (0x50726565), 
  ACE_NTOHL (0x6d707469), 
  ACE_NTOHL (0x6f6e5f53), 
  ACE_NTOHL (0x75627072), 
  ACE_NTOHL (0x696f7269), 
  ACE_NTOHL (0x74795f74), 
  ACE_NTOHL (0x0),  // name = Preemption_Subpriority_t
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_RtecBase_Preemption_Subpriority_t (
    CORBA::tk_alias,
    sizeof (_oc_RtecBase_Preemption_Subpriority_t),
    (char *) &_oc_RtecBase_Preemption_Subpriority_t,
    0,
    sizeof (RtecBase::Preemption_Subpriority_t)
  );

namespace RtecBase
{
  ::CORBA::TypeCode_ptr _tc_Preemption_Subpriority_t =
    &_tc_TAO_tc_RtecBase_Preemption_Subpriority_t;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    RtecBase::Dependency_Type_t _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<RtecBase::Dependency_Type_t>::insert (
      _tao_any,
      RtecBase::_tc_Dependency_Type_t,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecBase::Dependency_Type_t &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<RtecBase::Dependency_Type_t>::extract (
        _tao_any,
        RtecBase::_tc_Dependency_Type_t,
        _tao_elem 
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    RtecBase::Dependency_Enabled_Type_t _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<RtecBase::Dependency_Enabled_Type_t>::insert (
      _tao_any,
      RtecBase::_tc_Dependency_Enabled_Type_t,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecBase::Dependency_Enabled_Type_t &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<RtecBase::Dependency_Enabled_Type_t>::extract (
        _tao_any,
        RtecBase::_tc_Dependency_Enabled_Type_t,
        _tao_elem 
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecBase::Dependency_Info &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecBase::Dependency_Info>::insert_copy (
      _tao_any,
      RtecBase::Dependency_Info::_tao_any_destructor,
      RtecBase::_tc_Dependency_Info,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecBase::Dependency_Info *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecBase::Dependency_Info>::insert (
      _tao_any,
      RtecBase::Dependency_Info::_tao_any_destructor,
      RtecBase::_tc_Dependency_Info,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecBase::Dependency_Info *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecBase::Dependency_Info *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecBase::Dependency_Info *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecBase::Dependency_Info>::extract (
        _tao_any,
        RtecBase::Dependency_Info::_tao_any_destructor,
        RtecBase::_tc_Dependency_Info,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const RtecBase::Dependency_Type_t &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, RtecBase::Dependency_Type_t &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<RtecBase::Dependency_Type_t> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const RtecBase::Dependency_Enabled_Type_t &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, RtecBase::Dependency_Enabled_Type_t &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<RtecBase::Dependency_Enabled_Type_t> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecBase::Dependency_Info &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.dependency_type) &&
    (strm << _tao_aggregate.number_of_calls) &&
    (strm << _tao_aggregate.rt_info) &&
    (strm << _tao_aggregate.rt_info_depended_on) &&
    (strm << _tao_aggregate.enabled);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecBase::Dependency_Info &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.dependency_type) &&
    (strm >> _tao_aggregate.number_of_calls) &&
    (strm >> _tao_aggregate.rt_info) &&
    (strm >> _tao_aggregate.rt_info_depended_on) &&
    (strm >> _tao_aggregate.enabled);
}

