// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 2002
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

// Version: 4.0.3

#ifndef __OB_OBPOAPolicyType_h__
#define __OB_OBPOAPolicyType_h__

#ifndef OB_IMPORT
#   ifdef OB_DLL
#      define OB_IMPORT __declspec(dllimport)
#   else
#      define OB_IMPORT /**/
#   endif
#endif


#include <OB/Policy.h>

#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined! Is <OB/CORBA.h> included?
#endif

#ifndef OB_NO_VERSION_CHECK
#   if (OB_INTEGER_VERSION != 4010000L)
#       error ORBacus version mismatch!
#   endif
#endif

namespace OBPortableServer
{

} // End of namespace OBPortableServer

namespace OBPortableServer
{

} // End of namespace OBPortableServer

namespace OBStubImpl_OBPortableServer
{

} // End of namespace OBStubImpl_OBPortableServer

namespace OBStubImpl_OBPortableServer
{

} // End of namespace OBStubImpl_OBPortableServer

//
// IDL:ooc.com/OBPortableServer:1.0
//
namespace OBPortableServer
{

//
// IDL:ooc.com/OBPortableServer/SYNCHRONIZATION_POLICY_ID:1.0
//
const CORBA::PolicyType SYNCHRONIZATION_POLICY_ID = 1330577665U;

//
// IDL:ooc.com/OBPortableServer/SynchronizationPolicyValue:1.0
//
enum SynchronizationPolicyValue
{
    NO_SYNCHRONIZATION,
    SYNCHRONIZE_ON_POA,
    SYNCHRONIZE_ON_ORB
};

typedef SynchronizationPolicyValue& SynchronizationPolicyValue_out;

OB_IMPORT extern OB::TypeCodeConst _tc_SynchronizationPolicyValue;

//
// IDL:ooc.com/OBPortableServer/DISPATCH_STRATEGY_POLICY_ID:1.0
//
const CORBA::PolicyType DISPATCH_STRATEGY_POLICY_ID = 1330577666U;

//
// IDL:ooc.com/OBPortableServer/INTERCEPTOR_CALL_POLICY_ID:1.0
//
const CORBA::PolicyType INTERCEPTOR_CALL_POLICY_ID = 1330577667U;

} // End of namespace OBPortableServer

//
// IDL:ooc.com/OBPortableServer:1.0
//
namespace OBStubImpl_OBPortableServer
{

} // End of namespace OBStubImpl_OBPortableServer

//
// IDL:ooc.com/OBPortableServer:1.0
//
namespace OBMarshalStubImpl_OBPortableServer
{

} // End of namespace OBMarshalStubImpl_OBPortableServer

//
// IDL:ooc.com/OBPortableServer:1.0
//
namespace OBV_OBPortableServer
{

} // End of namespace OBV_OBPortableServer

//
// IDL:ooc.com/OBPortableServer/SynchronizationPolicyValue:1.0
//
void operator<<=(CORBA::Any&, OBPortableServer::SynchronizationPolicyValue);
CORBA::Boolean operator>>=(const CORBA::Any&, OBPortableServer::SynchronizationPolicyValue&);

inline void
operator<<=(CORBA::Any_var& any, OBPortableServer::SynchronizationPolicyValue val)
{
    any.inout() <<= val;
}

inline CORBA::Boolean
operator>>=(const CORBA::Any_var& any, OBPortableServer::SynchronizationPolicyValue& val)
{
    return any.in() >>= val;
}

#endif
