
/*
 * This file was generated by the SOM Compiler.
 * FileName: somtdm.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emith.dll: 2.31.1.64
 */

/*
 *  ModuleName:  SOMTDM
 * 
 *  Description: This module contians the idl description for the TypeCode
 * 		based encoding/decoding functional interfaces.
 * 
 *   25H7912  (C)  Copyright International Business Machines Corp. 1994,1996
 *  All Rights Reserved
 *  Licensed Materials - Property of IBM
 * 
 *  US Government Users Restricted Rights - Use, duplication or disclosure
 *  restricted by GSA ADP Schedule Contract with IBM Corp.
 * 
 */


#ifndef SOM_TypecodeDataManipulator_h
#define SOM_TypecodeDataManipulator_h


/*
 * The SOM_STRICT_IDL macro means that we can ignore stars
 * in our declarations of objects.
 */
#define SOM_STRICT_IDL 1


/*
 * Passthru lines: File: "C.h", "before"
 */
#include <principl.h>

#include <som.h>
#ifndef SOM_IMPORTEXPORT_somu2_somtdm
#ifdef SOM_DLL_somu2
	/* export semantics */
	#if defined(SOM_DEFFILE_somu2)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_somu2))\
	|| !defined(SOM_Module_somtdm_Source)
	#define SOM_IMPORTEXPORT_somu2_somtdm
	#else
	#define SOM_IMPORTEXPORT_somu2_somtdm SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_somu2_somtdm SOMDLLIMPORT
#endif
#endif

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef TypecodeDataManipulator
#define TypecodeDataManipulator SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_SOMObject_h
#ifdef SOMLOCALINCLUDES
#include "somobj.h"
#else
#include <somobj.h>
#endif
#endif

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */

/*
 * End of bindings for IDL types.
 */

#define TypecodeDataManipulator_MajorVersion 0
#define TypecodeDataManipulator_MinorVersion 0

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOM_IMPORTEXPORT_somu2_somtdm SOMClass  SOMLINK TypecodeDataManipulatorNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct TypecodeDataManipulatorClassDataStructure {
	SOMClass classObject;
	somMToken tc_encode;
	somMToken tc_decode;
	somMToken tc_decode_contents;
	somMToken tc_copy;
	somMToken tc_copy_contents;
	somMToken tc_equal;
	somMToken tc_free;
	somMToken tc_free_contents;
	somMToken tc_init;
	somMToken tc_test;
} SOM_IMPORTEXPORT_somu2_somtdm SOMDLINK TypecodeDataManipulatorClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct TypecodeDataManipulatorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_somu2_somtdm SOMDLINK TypecodeDataManipulatorCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_TypecodeDataManipulator (TypecodeDataManipulatorClassData.classObject)
#ifndef SOMGD_TypecodeDataManipulator
    #if (defined(_TypecodeDataManipulator) || defined(__TypecodeDataManipulator))
        #undef _TypecodeDataManipulator
        #undef __TypecodeDataManipulator
        #define SOMGD_TypecodeDataManipulator 1
    #else
        #define _TypecodeDataManipulator _SOMCLASS_TypecodeDataManipulator
    #endif /* _TypecodeDataManipulator */
#endif /* SOMGD_TypecodeDataManipulator */
#define TypecodeDataManipulator_classObj _SOMCLASS_TypecodeDataManipulator
#define _SOMMTOKEN_TypecodeDataManipulator(method) ((somMToken)TypecodeDataManipulatorClassData.method)

/*
 * New and Renew macros for TypecodeDataManipulator
 */
#define TypecodeDataManipulatorNew() \
   ( _TypecodeDataManipulator ? \
	_somNew(_TypecodeDataManipulator) \
	: ( TypecodeDataManipulatorNewClass(\
		TypecodeDataManipulator_MajorVersion, \
		TypecodeDataManipulator_MinorVersion),\
	   _somNew(_TypecodeDataManipulator)))
#define TypecodeDataManipulatorRenew(buf) \
   ( _TypecodeDataManipulator ? \
	_somRenew(_TypecodeDataManipulator, buf) \
	: ( TypecodeDataManipulatorNewClass(\
		TypecodeDataManipulator_MajorVersion, \
		TypecodeDataManipulator_MinorVersion),\
	   _somRenew(_TypecodeDataManipulator, buf)))

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define TypecodeDataManipulator_somDefaultInit SOMObject_somDefaultInit
#define TypecodeDataManipulator_somDestruct SOMObject_somDestruct

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define TypecodeDataManipulator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define TypecodeDataManipulator_somDefaultAssign SOMObject_somDefaultAssign
#define TypecodeDataManipulator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define TypecodeDataManipulator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define TypecodeDataManipulator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define TypecodeDataManipulator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define TypecodeDataManipulator_somDefaultVAssign SOMObject_somDefaultVAssign
#define TypecodeDataManipulator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define TypecodeDataManipulator_somInit SOMObject_somInit
#define TypecodeDataManipulator_somUninit SOMObject_somUninit
#define TypecodeDataManipulator_somFree SOMObject_somFree
#define TypecodeDataManipulator_somGetClass SOMObject_somGetClass
#define TypecodeDataManipulator_somGetClassName SOMObject_somGetClassName
#define TypecodeDataManipulator_somGetSize SOMObject_somGetSize
#define TypecodeDataManipulator_somIsA SOMObject_somIsA
#define TypecodeDataManipulator_somIsInstanceOf SOMObject_somIsInstanceOf
#define TypecodeDataManipulator_somRespondsTo SOMObject_somRespondsTo
#define TypecodeDataManipulator_somDispatch SOMObject_somDispatch
#define TypecodeDataManipulator_somClassDispatch SOMObject_somClassDispatch
#define TypecodeDataManipulator_somCastObj SOMObject_somCastObj
#define TypecodeDataManipulator_somResetObj SOMObject_somResetObj
#define TypecodeDataManipulator_somPrintSelf SOMObject_somPrintSelf
#define TypecodeDataManipulator_somDumpSelf SOMObject_somDumpSelf
#define TypecodeDataManipulator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_TypecodeDataManipulator_h */
