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

// Version: 3.2
// License: non-commercial

#ifndef __TCKind_h__
#define __TCKind_h__

#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined!
#endif

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

//
// IDL:omg.org/CORBA:1.0
//

//
// IDL:omg.org/CORBA/TCKind:1.0
//
enum CORBA_TCKind
{
    CORBA_tk_null,
    CORBA_tk_void,
    CORBA_tk_short,
    CORBA_tk_long,
    CORBA_tk_ushort,
    CORBA_tk_ulong,
    CORBA_tk_float,
    CORBA_tk_double,
    CORBA_tk_boolean,
    CORBA_tk_char,
    CORBA_tk_octet,
    CORBA_tk_any,
    CORBA_tk_TypeCode,
    CORBA_tk_Principal,
    CORBA_tk_objref,
    CORBA_tk_struct,
    CORBA_tk_union,
    CORBA_tk_enum,
    CORBA_tk_string,
    CORBA_tk_sequence,
    CORBA_tk_array,
    CORBA_tk_alias,
    CORBA_tk_except
};

//
// IDL:omg.org/CORBA/TCKind:1.0
//
inline void
OBMarshal(CORBA_TCKind val, CORBA_Octet*& oct)
{
    OBMarshal((CORBA_ULong)val, oct);
}

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

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

#endif
