// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 1998
// Object-Oriented Concepts, Inc.
// Billerica, MA, USA
//
// Copyright (c) 1998
// Object-Oriented Concepts GmbH
// Ettlingen, Germany
//
// All Rights Reserved
//
// **********************************************************************

// Version: 3.0.1
// License: non-commercial

#ifndef __toveinap_h__
#define __toveinap_h__

//
// IDL:inap:1.0
//

//
// IDL:inap/scpRequired:1.0
//
class toveinap_scpRequired;
typedef toveinap_scpRequired* toveinap_scpRequired_ptr;
typedef toveinap_scpRequired* toveinap_scpRequiredRef;
void OBDuplicate(toveinap_scpRequired_ptr);
void OBRelease(toveinap_scpRequired_ptr);
typedef OBObjVar< toveinap_scpRequired > toveinap_scpRequired_var;

//
// IDL:inap/scpSupported:1.0
//
class toveinap_scpSupported;
typedef toveinap_scpSupported* toveinap_scpSupported_ptr;
typedef toveinap_scpSupported* toveinap_scpSupportedRef;
void OBDuplicate(toveinap_scpSupported_ptr);
void OBRelease(toveinap_scpSupported_ptr);
typedef OBObjVar< toveinap_scpSupported > toveinap_scpSupported_var;

//
// IDL:inap/CallIDType:1.0
//
typedef OBBndFixSeq< CORBA_Octet, 4 > toveinap_CallIDType;
typedef OBSeqVar< OBBndFixSeq< CORBA_Octet, 4 > > toveinap_CallIDType_var;
extern OBTypeCodeConst toveinap__tc_CallIDType;

//
// IDL:inap/CalledPartyNumberType:1.0
//
typedef OBBndFixSeq< CORBA_Octet, 50 > toveinap_CalledPartyNumberType;
typedef OBSeqVar< OBBndFixSeq< CORBA_Octet, 50 > > toveinap_CalledPartyNumberType_var;
extern OBTypeCodeConst toveinap__tc_CalledPartyNumberType;

//
// IDL:inap/DestinationRoutingAddressType:1.0
//
typedef OBBndVarSeq< toveinap_CalledPartyNumberType, 3 > toveinap_DestinationRoutingAddressType;
typedef OBSeqVar< OBBndVarSeq< toveinap_CalledPartyNumberType, 3 > > toveinap_DestinationRoutingAddressType_var;
extern OBTypeCodeConst toveinap__tc_DestinationRoutingAddressType;

//
// IDL:inap/EventTypeBCSMType:1.0
//
enum toveinap_EventTypeBCSMType
{
    toveinap_origAttempt,
    toveinap_origAttemptAuthorized,
    toveinap_collectedInfo,
    toveinap_analysedInformation,
    toveinap_routeSelectFailure,
    toveinap_oCalledPartyBusy,
    toveinap_oNoAnswer,
    toveinap_oAnswer,
    toveinap_oMidCall,
    toveinap_oDisconnect,
    toveinap_oAbandon,
    toveinap_termAttemptAuthorized,
    toveinap_tBusy,
    toveinap_tNoAnswer,
    toveinap_tAnswer,
    toveinap_tMidCall,
    toveinap_tDisconnect,
    toveinap_tAbandon,
    toveinap_oTermSeized,
    toveinap_oSuspended,
    toveinap_tSuspended
};

extern OBTypeCodeConst toveinap__tc_EventTypeBCSMType;

//
// IDL:inap/MonitorModeType:1.0
//
enum toveinap_MonitorModeType
{
    toveinap_interrupted,
    toveinap_notifyAndContinue,
    toveinap_transparent
};

extern OBTypeCodeConst toveinap__tc_MonitorModeType;

//
// IDL:inap/BCSMEventType:1.0
//
struct toveinap_BCSMEventType
{
    toveinap_EventTypeBCSMType eventTypeBCSM;
    toveinap_MonitorModeType monitorMode;
};

typedef OBFixVar< toveinap_BCSMEventType > toveinap_BCSMEventType_var;

extern OBTypeCodeConst toveinap__tc_BCSMEventType;

//
// IDL:inap/BCSMEventsType:1.0
//
typedef OBBndFixSeq< toveinap_BCSMEventType, 24 > toveinap_BCSMEventsType;
typedef OBSeqVar< OBBndFixSeq< toveinap_BCSMEventType, 24 > > toveinap_BCSMEventsType_var;
extern OBTypeCodeConst toveinap__tc_BCSMEventsType;

//
// IDL:inap/UnavailableNetworkResourceType:1.0
//
enum toveinap_UnavailableNetworkResourceType
{
    toveinap_unavailableResources,
    toveinap_componentFailure,
    toveinap_basicCallProcessingException,
    toveinap_resourceStatusFailure,
    toveinap_endUserFailure
};

extern OBTypeCodeConst toveinap__tc_UnavailableNetworkResourceType;

//
// IDL:inap/RequestReportBCSMEventArgType:1.0
//
struct toveinap_RequestReportBCSMEventArgType
{
    toveinap_RequestReportBCSMEventArgType() { }
    toveinap_RequestReportBCSMEventArgType(const toveinap_RequestReportBCSMEventArgType&);
    ~toveinap_RequestReportBCSMEventArgType() { }
    toveinap_RequestReportBCSMEventArgType& operator=(const toveinap_RequestReportBCSMEventArgType&);

    toveinap_CallIDType callID;
    toveinap_BCSMEventsType bcsmEvents;
};

typedef OBVarVar< toveinap_RequestReportBCSMEventArgType > toveinap_RequestReportBCSMEventArgType_var;

extern OBTypeCodeConst toveinap__tc_RequestReportBCSMEventArgType;

//
// IDL:inap/SelectRouteArgType:1.0
//
struct toveinap_SelectRouteArgType
{
    toveinap_SelectRouteArgType() { }
    toveinap_SelectRouteArgType(const toveinap_SelectRouteArgType&);
    ~toveinap_SelectRouteArgType() { }
    toveinap_SelectRouteArgType& operator=(const toveinap_SelectRouteArgType&);

    toveinap_CallIDType callID;
    toveinap_DestinationRoutingAddressType destinationRoutingAddress;
};

typedef OBVarVar< toveinap_SelectRouteArgType > toveinap_SelectRouteArgType_var;

extern OBTypeCodeConst toveinap__tc_SelectRouteArgType;

//
// IDL:inap/ContinueArgType:1.0
//
struct toveinap_ContinueArgType
{
    toveinap_ContinueArgType() { }
    toveinap_ContinueArgType(const toveinap_ContinueArgType&);
    ~toveinap_ContinueArgType() { }
    toveinap_ContinueArgType& operator=(const toveinap_ContinueArgType&);

    toveinap_CallIDType callID;
};

typedef OBVarVar< toveinap_ContinueArgType > toveinap_ContinueArgType_var;

extern OBTypeCodeConst toveinap__tc_ContinueArgType;

//
// IDL:inap/systemFailure:1.0
//
struct toveinap_systemFailure : public CORBA_UserException
{
#ifdef OB_CLEAR_MEM
    toveinap_systemFailure();
#else
    toveinap_systemFailure() { }
#endif
    toveinap_systemFailure(const toveinap_systemFailure&);
    toveinap_systemFailure(toveinap_UnavailableNetworkResourceType);
    virtual ~toveinap_systemFailure() { }
    toveinap_systemFailure& operator=(const toveinap_systemFailure&);

    static toveinap_systemFailure* _narrow(CORBA_Exception*);
#ifdef HAVE_NO_RTTI
    virtual void* _OB_narrowHelp(const char*) const;
#endif
    virtual const char* _OB_typeId() const;
    virtual CORBA_Exception* _OB_clone() const;

    toveinap_UnavailableNetworkResourceType error_param;
};

extern OBTypeCodeConst toveinap__tc_systemFailure;

//
// IDL:inap/parameterOutOfRange:1.0
//
struct toveinap_parameterOutOfRange : public CORBA_UserException
{
    toveinap_parameterOutOfRange() { }
    toveinap_parameterOutOfRange(const toveinap_parameterOutOfRange&);
    virtual ~toveinap_parameterOutOfRange() { }
    toveinap_parameterOutOfRange& operator=(const toveinap_parameterOutOfRange&);

    static toveinap_parameterOutOfRange* _narrow(CORBA_Exception*);
#ifdef HAVE_NO_RTTI
    virtual void* _OB_narrowHelp(const char*) const;
#endif
    virtual const char* _OB_typeId() const;
    virtual CORBA_Exception* _OB_clone() const;
};

extern OBTypeCodeConst toveinap__tc_parameterOutOfRange;

//
// IDL:inap/missingParameter:1.0
//
struct toveinap_missingParameter : public CORBA_UserException
{
    toveinap_missingParameter() { }
    toveinap_missingParameter(const toveinap_missingParameter&);
    virtual ~toveinap_missingParameter() { }
    toveinap_missingParameter& operator=(const toveinap_missingParameter&);

    static toveinap_missingParameter* _narrow(CORBA_Exception*);
#ifdef HAVE_NO_RTTI
    virtual void* _OB_narrowHelp(const char*) const;
#endif
    virtual const char* _OB_typeId() const;
    virtual CORBA_Exception* _OB_clone() const;
};

extern OBTypeCodeConst toveinap__tc_missingParameter;

//
// IDL:inap/scpRequired:1.0
//
class toveinap_scpRequired : virtual public CORBA_Object
{
    toveinap_scpRequired(const toveinap_scpRequired&);
    void operator=(const toveinap_scpRequired&);

protected:

    toveinap_scpRequired() { }

public:

    static inline toveinap_scpRequired_ptr
    _duplicate(toveinap_scpRequired_ptr p)
    {
        if(p)
            p -> _OB_incRef();
        return p;
    }

    static inline toveinap_scpRequired_ptr
    _nil()
    {
        return 0;
    }

    static toveinap_scpRequired_ptr _narrow(CORBA_Object_ptr);
    virtual void* _OB_narrowHelp(const char*) const;
    virtual const char* _OB_typeId() const;

    friend void OBUnmarshal(toveinap_scpRequired_ptr&, const CORBA_Octet*&, bool);

    friend CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_scpRequired_ptr&);

    //
    // IDL:inap/scpRequired/selectRoute:1.0
    //
    virtual void selectRoute(const toveinap_SelectRouteArgType& selectRouteArg);

    //
    // IDL:inap/scpRequired/requestReportBCSMEvent:1.0
    //
    virtual void requestReportBCSMEvent(const toveinap_RequestReportBCSMEventArgType& requestReportBCSMEventArg);

    //
    // IDL:inap/scpRequired/continue:1.0
    //
    virtual void _continue(const toveinap_ContinueArgType& continueArg);
};

extern OBTypeCodeConst toveinap__tc_scpRequired;

//
// IDL:inap/ASN1_INTEGER:1.0
//
typedef CORBA_Long toveinap_ASN1_INTEGER;
extern OBTypeCodeConst toveinap__tc_ASN1_INTEGER;

//
// IDL:inap/ServiceKeyType:1.0
//
typedef toveinap_ASN1_INTEGER toveinap_ServiceKeyType;
extern OBTypeCodeConst toveinap__tc_ServiceKeyType;

//
// IDL:inap/MessageTypeType:1.0
//
enum toveinap_MessageTypeType
{
    toveinap_request,
    toveinap_notification
};

extern OBTypeCodeConst toveinap__tc_MessageTypeType;

//
// IDL:inap/DPAssignmentType:1.0
//
enum toveinap_DPAssignmentType
{
    toveinap_individualLine,
    toveinap_groupBased,
    toveinap_officeBased
};

extern OBTypeCodeConst toveinap__tc_DPAssignmentType;

//
// IDL:inap/MiscCallInfoType:1.0
//
struct toveinap_MiscCallInfoType
{
    toveinap_MessageTypeType messageType;
    toveinap_DPAssignmentType dpAssignment;
};

typedef OBFixVar< toveinap_MiscCallInfoType > toveinap_MiscCallInfoType_var;

extern OBTypeCodeConst toveinap__tc_MiscCallInfoType;

//
// IDL:inap/TriggerTypeType:1.0
//
enum toveinap_TriggerTypeType
{
    toveinap_trigger_featureActivation,
    toveinap_trigger_verticalServiceCode,
    toveinap_trigger_customizedAccess,
    toveinap_trigger_customizedIntercom,
    toveinap_trigger_emergencyService,
    toveinap_trigger_aFR,
    toveinap_trigger_sharedIOTrunk,
    toveinap_trigger_offHookDelay,
    toveinap_trigger_channelSetupPRI,
    toveinap_trigger_tNoAnswer,
    toveinap_trigger_tBusy,
    toveinap_trigger_oCalledPartyBusy,
    toveinap_trigger_oNoAnswer,
    toveinap_trigger_originationAttemptAuthorized,
    toveinap_trigger_oAnswer,
    toveinap_trigger_oDisconnect,
    toveinap_trigger_termAttemptAuthorized,
    toveinap_trigger_tAnswer,
    toveinap_trigger_tDisconnect
};

extern OBTypeCodeConst toveinap__tc_TriggerTypeType;

//
// IDL:inap/InitialDPArgType:1.0
//
struct toveinap_InitialDPArgType
{
#ifdef OB_CLEAR_MEM
    toveinap_InitialDPArgType();
#else
    toveinap_InitialDPArgType() { }
#endif
    toveinap_InitialDPArgType(const toveinap_InitialDPArgType&);
    ~toveinap_InitialDPArgType() { }
    toveinap_InitialDPArgType& operator=(const toveinap_InitialDPArgType&);

    toveinap_CallIDType callID;
    toveinap_ServiceKeyType serviceKey;
    toveinap_CalledPartyNumberType calledPartyNumber;
    toveinap_MiscCallInfoType miscCallInfo;
    toveinap_TriggerTypeType triggerType;
    toveinap_EventTypeBCSMType eventTypeBCSM;
};

typedef OBVarVar< toveinap_InitialDPArgType > toveinap_InitialDPArgType_var;

extern OBTypeCodeConst toveinap__tc_InitialDPArgType;

//
// IDL:inap/EventReportBCSMArgType:1.0
//
struct toveinap_EventReportBCSMArgType
{
#ifdef OB_CLEAR_MEM
    toveinap_EventReportBCSMArgType();
#else
    toveinap_EventReportBCSMArgType() { }
#endif
    toveinap_EventReportBCSMArgType(const toveinap_EventReportBCSMArgType&);
    ~toveinap_EventReportBCSMArgType() { }
    toveinap_EventReportBCSMArgType& operator=(const toveinap_EventReportBCSMArgType&);

    toveinap_CallIDType callID;
    toveinap_EventTypeBCSMType eventTypeBCSM;
    toveinap_MiscCallInfoType miscCallInfo;
};

typedef OBVarVar< toveinap_EventReportBCSMArgType > toveinap_EventReportBCSMArgType_var;

extern OBTypeCodeConst toveinap__tc_EventReportBCSMArgType;

//
// IDL:inap/missingCustomerRecord:1.0
//
struct toveinap_missingCustomerRecord : public CORBA_UserException
{
    toveinap_missingCustomerRecord() { }
    toveinap_missingCustomerRecord(const toveinap_missingCustomerRecord&);
    virtual ~toveinap_missingCustomerRecord() { }
    toveinap_missingCustomerRecord& operator=(const toveinap_missingCustomerRecord&);

    static toveinap_missingCustomerRecord* _narrow(CORBA_Exception*);
#ifdef HAVE_NO_RTTI
    virtual void* _OB_narrowHelp(const char*) const;
#endif
    virtual const char* _OB_typeId() const;
    virtual CORBA_Exception* _OB_clone() const;
};

extern OBTypeCodeConst toveinap__tc_missingCustomerRecord;

//
// IDL:inap/scpSupported:1.0
//
class toveinap_scpSupported : virtual public CORBA_Object
{
    toveinap_scpSupported(const toveinap_scpSupported&);
    void operator=(const toveinap_scpSupported&);

protected:

    toveinap_scpSupported() { }

public:

    static inline toveinap_scpSupported_ptr
    _duplicate(toveinap_scpSupported_ptr p)
    {
        if(p)
            p -> _OB_incRef();
        return p;
    }

    static inline toveinap_scpSupported_ptr
    _nil()
    {
        return 0;
    }

    static toveinap_scpSupported_ptr _narrow(CORBA_Object_ptr);
    virtual void* _OB_narrowHelp(const char*) const;
    virtual const char* _OB_typeId() const;

    friend void OBUnmarshal(toveinap_scpSupported_ptr&, const CORBA_Octet*&, bool);

    friend CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_scpSupported_ptr&);

    //
    // IDL:inap/scpSupported/initialDP:1.0
    //
    virtual void initialDP(const toveinap_InitialDPArgType& initialDPArg);

    //
    // IDL:inap/scpSupported/eventReportBCSM:1.0
    //
    virtual void eventReportBCSM(const toveinap_EventReportBCSMArgType& eventReportBCSMArg);
};

extern OBTypeCodeConst toveinap__tc_scpSupported;

//
// IDL:inap/EventTypeBCSMType:1.0
//
inline void
OBMarshal(toveinap_EventTypeBCSMType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_EventTypeBCSMType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_EventTypeBCSMType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_EventTypeBCSMType)v;
}

void operator<<=(CORBA_Any&, toveinap_EventTypeBCSMType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_EventTypeBCSMType&);

//
// IDL:inap/MonitorModeType:1.0
//
inline void
OBMarshal(toveinap_MonitorModeType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_MonitorModeType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_MonitorModeType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_MonitorModeType)v;
}

void operator<<=(CORBA_Any&, toveinap_MonitorModeType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_MonitorModeType&);

//
// IDL:inap/BCSMEventType:1.0
//
void OBMarshal(const toveinap_BCSMEventType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_BCSMEventType&, CORBA_ULong&);
void OBUnmarshal(toveinap_BCSMEventType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_BCSMEventType*);
void operator<<=(CORBA_Any&, const toveinap_BCSMEventType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_BCSMEventType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_BCSMEventType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_BCSMEventType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_BCSMEventType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/UnavailableNetworkResourceType:1.0
//
inline void
OBMarshal(toveinap_UnavailableNetworkResourceType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_UnavailableNetworkResourceType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_UnavailableNetworkResourceType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_UnavailableNetworkResourceType)v;
}

void operator<<=(CORBA_Any&, toveinap_UnavailableNetworkResourceType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_UnavailableNetworkResourceType&);

//
// IDL:inap/RequestReportBCSMEventArgType:1.0
//
void OBMarshal(const toveinap_RequestReportBCSMEventArgType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_RequestReportBCSMEventArgType&, CORBA_ULong&);
void OBUnmarshal(toveinap_RequestReportBCSMEventArgType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_RequestReportBCSMEventArgType*);
void operator<<=(CORBA_Any&, const toveinap_RequestReportBCSMEventArgType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_RequestReportBCSMEventArgType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_RequestReportBCSMEventArgType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_RequestReportBCSMEventArgType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_RequestReportBCSMEventArgType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/SelectRouteArgType:1.0
//
void OBMarshal(const toveinap_SelectRouteArgType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_SelectRouteArgType&, CORBA_ULong&);
void OBUnmarshal(toveinap_SelectRouteArgType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_SelectRouteArgType*);
void operator<<=(CORBA_Any&, const toveinap_SelectRouteArgType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_SelectRouteArgType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_SelectRouteArgType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_SelectRouteArgType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_SelectRouteArgType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/ContinueArgType:1.0
//
void OBMarshal(const toveinap_ContinueArgType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_ContinueArgType&, CORBA_ULong&);
void OBUnmarshal(toveinap_ContinueArgType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_ContinueArgType*);
void operator<<=(CORBA_Any&, const toveinap_ContinueArgType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_ContinueArgType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_ContinueArgType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_ContinueArgType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_ContinueArgType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/systemFailure:1.0
//
void OBMarshal(const toveinap_systemFailure&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_systemFailure&, CORBA_ULong&);
void OBUnmarshal(toveinap_systemFailure&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_systemFailure*);
void operator<<=(CORBA_Any&, const toveinap_systemFailure&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_systemFailure*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_systemFailure* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_systemFailure& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_systemFailure*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/parameterOutOfRange:1.0
//
void OBMarshal(const toveinap_parameterOutOfRange&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_parameterOutOfRange&, CORBA_ULong&);
void OBUnmarshal(toveinap_parameterOutOfRange&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_parameterOutOfRange*);
void operator<<=(CORBA_Any&, const toveinap_parameterOutOfRange&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_parameterOutOfRange*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_parameterOutOfRange* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_parameterOutOfRange& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_parameterOutOfRange*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/missingParameter:1.0
//
void OBMarshal(const toveinap_missingParameter&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_missingParameter&, CORBA_ULong&);
void OBUnmarshal(toveinap_missingParameter&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_missingParameter*);
void operator<<=(CORBA_Any&, const toveinap_missingParameter&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_missingParameter*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_missingParameter* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_missingParameter& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_missingParameter*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/scpRequired:1.0
//
inline void
CORBA_release(toveinap_scpRequired_ptr p)
{
    if(p)
        p -> _OB_decRef();
}

inline CORBA_Boolean
CORBA_is_nil(toveinap_scpRequired_ptr p)
{
    return p == 0;
}

inline void
OBMarshal(toveinap_scpRequired_ptr p, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_Object_ptr)p, oct);
}

inline void
OBMarshalCount(toveinap_scpRequired_ptr p, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_Object_ptr)p, count);
}

void OBUnmarshal(toveinap_scpRequired_ptr&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_scpRequired_ptr);
void operator<<=(CORBA_Any&, toveinap_scpRequired_ptr*);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_scpRequired_ptr&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_scpRequired_ptr val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, toveinap_scpRequired_ptr* val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_scpRequired_ptr& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/MessageTypeType:1.0
//
inline void
OBMarshal(toveinap_MessageTypeType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_MessageTypeType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_MessageTypeType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_MessageTypeType)v;
}

void operator<<=(CORBA_Any&, toveinap_MessageTypeType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_MessageTypeType&);

//
// IDL:inap/DPAssignmentType:1.0
//
inline void
OBMarshal(toveinap_DPAssignmentType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_DPAssignmentType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_DPAssignmentType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_DPAssignmentType)v;
}

void operator<<=(CORBA_Any&, toveinap_DPAssignmentType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_DPAssignmentType&);

//
// IDL:inap/MiscCallInfoType:1.0
//
void OBMarshal(const toveinap_MiscCallInfoType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_MiscCallInfoType&, CORBA_ULong&);
void OBUnmarshal(toveinap_MiscCallInfoType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_MiscCallInfoType*);
void operator<<=(CORBA_Any&, const toveinap_MiscCallInfoType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_MiscCallInfoType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_MiscCallInfoType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_MiscCallInfoType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_MiscCallInfoType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/TriggerTypeType:1.0
//
inline void
OBMarshal(toveinap_TriggerTypeType val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

inline void
OBMarshalCount(toveinap_TriggerTypeType, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_ULong)0, count);
}

inline void
OBUnmarshal(toveinap_TriggerTypeType& val, const CORBA_Octet*& coct, bool swap)
{
    CORBA_ULong v;
    OBUnmarshal(v, coct, swap);
    val = (toveinap_TriggerTypeType)v;
}

void operator<<=(CORBA_Any&, toveinap_TriggerTypeType);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_TriggerTypeType&);

//
// IDL:inap/InitialDPArgType:1.0
//
void OBMarshal(const toveinap_InitialDPArgType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_InitialDPArgType&, CORBA_ULong&);
void OBUnmarshal(toveinap_InitialDPArgType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_InitialDPArgType*);
void operator<<=(CORBA_Any&, const toveinap_InitialDPArgType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_InitialDPArgType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_InitialDPArgType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_InitialDPArgType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_InitialDPArgType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/EventReportBCSMArgType:1.0
//
void OBMarshal(const toveinap_EventReportBCSMArgType&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_EventReportBCSMArgType&, CORBA_ULong&);
void OBUnmarshal(toveinap_EventReportBCSMArgType&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_EventReportBCSMArgType*);
void operator<<=(CORBA_Any&, const toveinap_EventReportBCSMArgType&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_EventReportBCSMArgType*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_EventReportBCSMArgType* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_EventReportBCSMArgType& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_EventReportBCSMArgType*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/missingCustomerRecord:1.0
//
void OBMarshal(const toveinap_missingCustomerRecord&, CORBA_Octet*&);
void OBMarshalCount(const toveinap_missingCustomerRecord&, CORBA_ULong&);
void OBUnmarshal(toveinap_missingCustomerRecord&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_missingCustomerRecord*);
void operator<<=(CORBA_Any&, const toveinap_missingCustomerRecord&);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_missingCustomerRecord*&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_missingCustomerRecord* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const toveinap_missingCustomerRecord& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_missingCustomerRecord*& val)
{
    return any.in() >>= val;
}

//
// IDL:inap/scpSupported:1.0
//
inline void
CORBA_release(toveinap_scpSupported_ptr p)
{
    if(p)
        p -> _OB_decRef();
}

inline CORBA_Boolean
CORBA_is_nil(toveinap_scpSupported_ptr p)
{
    return p == 0;
}

inline void
OBMarshal(toveinap_scpSupported_ptr p, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_Object_ptr)p, oct);
}

inline void
OBMarshalCount(toveinap_scpSupported_ptr p, CORBA_ULong& count)
{
    OBMarshalCount((CORBA_Object_ptr)p, count);
}

void OBUnmarshal(toveinap_scpSupported_ptr&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, toveinap_scpSupported_ptr);
void operator<<=(CORBA_Any&, toveinap_scpSupported_ptr*);
CORBA_Boolean operator>>=(const CORBA_Any&, toveinap_scpSupported_ptr&);

inline void
operator<<=(CORBA_Any_var& any, toveinap_scpSupported_ptr val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, toveinap_scpSupported_ptr* val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, toveinap_scpSupported_ptr& val)
{
    return any.in() >>= val;
}

//
// OBBndFixSeq< OBUnsignedChar, 4 >
//
#ifndef OB_use_OBBndFixSeq_OBUnsignedChar_4
#define OB_use_OBBndFixSeq_OBUnsignedChar_4
#define OB_use_OBBndFixSeq_OBUnsignedChar_4_from_toveinap_h

void OBMarshal(const OBBndFixSeq< OBUnsignedChar, 4 >&, CORBA_Octet*&);
void OBMarshalCount(const OBBndFixSeq< OBUnsignedChar, 4 >&, CORBA_ULong&);
void OBUnmarshal(OBBndFixSeq< OBUnsignedChar, 4 >&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, OBBndFixSeq< OBUnsignedChar, 4 >*);
void operator<<=(CORBA_Any&, const OBBndFixSeq< OBUnsignedChar, 4 >&);
CORBA_Boolean operator>>=(const CORBA_Any&, OBBndFixSeq< OBUnsignedChar, 4 >*&);

inline void
operator<<=(CORBA_Any_var& any, OBBndFixSeq< OBUnsignedChar, 4 >* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const OBBndFixSeq< OBUnsignedChar, 4 >& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, OBBndFixSeq< OBUnsignedChar, 4 >*& val)
{
    return any.in() >>= val;
}

#endif

//
// OBBndFixSeq< OBUnsignedChar, 50 >
//
#ifndef OB_use_OBBndFixSeq_OBUnsignedChar_50
#define OB_use_OBBndFixSeq_OBUnsignedChar_50
#define OB_use_OBBndFixSeq_OBUnsignedChar_50_from_toveinap_h

void OBMarshal(const OBBndFixSeq< OBUnsignedChar, 50 >&, CORBA_Octet*&);
void OBMarshalCount(const OBBndFixSeq< OBUnsignedChar, 50 >&, CORBA_ULong&);
void OBUnmarshal(OBBndFixSeq< OBUnsignedChar, 50 >&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, OBBndFixSeq< OBUnsignedChar, 50 >*);
void operator<<=(CORBA_Any&, const OBBndFixSeq< OBUnsignedChar, 50 >&);
CORBA_Boolean operator>>=(const CORBA_Any&, OBBndFixSeq< OBUnsignedChar, 50 >*&);

inline void
operator<<=(CORBA_Any_var& any, OBBndFixSeq< OBUnsignedChar, 50 >* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const OBBndFixSeq< OBUnsignedChar, 50 >& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, OBBndFixSeq< OBUnsignedChar, 50 >*& val)
{
    return any.in() >>= val;
}

#endif

//
// OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >
//
#ifndef OB_use_OBBndVarSeq_OBBndFixSeq_OBUnsignedChar_50_3
#define OB_use_OBBndVarSeq_OBBndFixSeq_OBUnsignedChar_50_3
#define OB_use_OBBndVarSeq_OBBndFixSeq_OBUnsignedChar_50_3_from_toveinap_h

void OBMarshal(const OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >&, CORBA_Octet*&);
void OBMarshalCount(const OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >&, CORBA_ULong&);
void OBUnmarshal(OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >*);
void operator<<=(CORBA_Any&, const OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >&);
CORBA_Boolean operator>>=(const CORBA_Any&, OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >*&);

inline void
operator<<=(CORBA_Any_var& any, OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, OBBndVarSeq< OBBndFixSeq< OBUnsignedChar, 50 >, 3 >*& val)
{
    return any.in() >>= val;
}

#endif

//
// OBBndFixSeq< toveinap_BCSMEventType, 24 >
//
#ifndef OB_use_OBBndFixSeq_toveinap__BCSMEventType_24
#define OB_use_OBBndFixSeq_toveinap__BCSMEventType_24
#define OB_use_OBBndFixSeq_toveinap__BCSMEventType_24_from_toveinap_h

void OBMarshal(const OBBndFixSeq< toveinap_BCSMEventType, 24 >&, CORBA_Octet*&);
void OBMarshalCount(const OBBndFixSeq< toveinap_BCSMEventType, 24 >&, CORBA_ULong&);
void OBUnmarshal(OBBndFixSeq< toveinap_BCSMEventType, 24 >&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, OBBndFixSeq< toveinap_BCSMEventType, 24 >*);
void operator<<=(CORBA_Any&, const OBBndFixSeq< toveinap_BCSMEventType, 24 >&);
CORBA_Boolean operator>>=(const CORBA_Any&, OBBndFixSeq< toveinap_BCSMEventType, 24 >*&);

inline void
operator<<=(CORBA_Any_var& any, OBBndFixSeq< toveinap_BCSMEventType, 24 >* val)
{
    any.inout() <<= val;
}

inline void
operator<<=(CORBA_Any_var& any, const OBBndFixSeq< toveinap_BCSMEventType, 24 >& val)
{
    any.inout() <<= val;
}

inline CORBA_Boolean
operator>>=(const CORBA_Any_var& any, OBBndFixSeq< toveinap_BCSMEventType, 24 >*& val)
{
    return any.in() >>= val;
}

#endif

#endif
