
/*
 * This file was generated by the SOM Compiler.
 * FileName: scseqnce.xh.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitxh.dll: 2.108
 */

/*
 *   COMPONENT_NAME: some
 * 
 *   ORIGINS: 27
 * 
 * 
 *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,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.
 *  @(#) somc/sctypes.h 2.10 5/22/96 13:13:27 [12/22/96 21:12:13]
 * 
 */


#ifndef SOM_SOMTSequenceEntryC_xh
#define SOM_SOMTSequenceEntryC_xh


#define SOMTSequenceEntryC_MajorVersion 2
#define SOMTSequenceEntryC_MinorVersion 1
class SOMTSequenceEntryC;

/* Parents */
#ifndef SOM_SOMTEntryC_xh
#ifdef SOMLOCALINCLUDES
#include "scentry.xh"
#else
#include <scentry.xh>
#endif
#endif

/* Useful C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

#ifndef SOMTSequenceEntryC_API
#define SOMTSequenceEntryC_API
/*
 * -- The Class API
 */
#ifndef SOM_IMPORTEXPORT_some_scseqnce
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scseqnce_Source)
	#define SOM_IMPORTEXPORT_some_scseqnce
	#else
	#define SOM_IMPORTEXPORT_some_scseqnce SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scseqnce SOMDLLIMPORT
#endif
#endif

/*
 * Start of bindings for IDL types
 */

class SOMClass;
class SOMObject;
class SOMTEntryC;
class SOMTEmitC;
class SOMTMetaClassEntryC;
class SOMTAttributeEntryC;
class SOMTTypedefEntryC;
class SOMTBaseClassEntryC;
class SOMTPassthruEntryC;
class SOMTDataEntryC;
class SOMTMethodEntryC;
class SOMTClassEntryC;
class SOMTModuleEntryC;
class SOMTParameterEntryC;
class SOMTStructEntryC;
class SOMTUnionEntryC;
class SOMTEnumEntryC;
class SOMTConstEntryC;
class SOMTSequenceEntryC;
class SOMTStringEntryC;
class SOMTEnumNameEntryC;
class SOMTCommonEntryC;
class SOMTUserDefinedTypeEntryC;

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

/*
 * A function to create the SOMTSequenceEntryC class object...
 */
SOMEXTERN SOM_IMPORTEXPORT_some_scseqnce SOMClass * SOMLINK SOMTSequenceEntryCNewClass(
		integer4 majorVersion,
		integer4 minorVersion);


/*
 * The API 2 ClassData Structures...
 */
SOMEXTERN struct SOMTSequenceEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtSeqLength;
	somMToken _get_somtSeqType;
	somMToken _get_somtSeqTypedef;
} SOMDLINK SOM_IMPORTEXPORT_some_scseqnce SOMTSequenceEntryCClassData;
SOMEXTERN struct SOMTSequenceEntryCCClassDataStructure {
	som3ClassDetailsPtr    parentMtab;
	somDToken              instanceDataToken;
} SOMDLINK SOM_IMPORTEXPORT_some_scseqnce SOMTSequenceEntryCCClassData;


/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTSequenceEntryC (SOMTSequenceEntryCClassData.classObject)
#ifndef SOMGD_SOMTSequenceEntryC
    #if (defined(_SOMTSequenceEntryC) || defined(__SOMTSequenceEntryC))
        #undef _SOMTSequenceEntryC
        #undef __SOMTSequenceEntryC
        #define SOMGD_SOMTSequenceEntryC 1
    #else
        #define _SOMTSequenceEntryC _SOMCLASS_SOMTSequenceEntryC
    #endif /* _SOMTSequenceEntryC */
#endif /* SOMGD_SOMTSequenceEntryC */
#define SOMTSequenceEntryC_classObj _SOMCLASS_SOMTSequenceEntryC
#define _SOMMTOKEN_SOMTSequenceEntryC(method) ((somMToken)SOMTSequenceEntryCClassData.method)

/*
 * -- Typedefs for SOMTSequenceEntryC Method Procedures
 */
SOMEXTERN {
typedef long   SOMLINK somTP_SOMTSequenceEntryC__get_somtSeqLength(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtSeqLength *somTD_SOMTSequenceEntryC__get_somtSeqLength;
typedef SOMTEntryC*   SOMLINK somTP_SOMTSequenceEntryC__get_somtSeqType(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtSeqType *somTD_SOMTSequenceEntryC__get_somtSeqType;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef string   SOMLINK somTP_SOMTSequenceEntryC__get_somtEntryName(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtEntryName *somTD_SOMTSequenceEntryC__get_somtEntryName;
typedef void   SOMLINK somTP_SOMTSequenceEntryC__set_somtEntryName(SOMTSequenceEntryC *somSelf, 
		string somtEntryName);
typedef somTP_SOMTSequenceEntryC__set_somtEntryName *somTD_SOMTSequenceEntryC__set_somtEntryName;
typedef SOMTTypes   SOMLINK somTP_SOMTSequenceEntryC__get_somtElementType(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtElementType *somTD_SOMTSequenceEntryC__get_somtElementType;
typedef void   SOMLINK somTP_SOMTSequenceEntryC__set_somtElementType(SOMTSequenceEntryC *somSelf, 
		SOMTTypes somtElementType);
typedef somTP_SOMTSequenceEntryC__set_somtElementType *somTD_SOMTSequenceEntryC__set_somtElementType;
typedef string   SOMLINK somTP_SOMTSequenceEntryC__get_somtElementTypeName(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtElementTypeName *somTD_SOMTSequenceEntryC__get_somtElementTypeName;
typedef string   SOMLINK somTP_SOMTSequenceEntryC__get_somtEntryComment(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtEntryComment *somTD_SOMTSequenceEntryC__get_somtEntryComment;
typedef unsigned long   SOMLINK somTP_SOMTSequenceEntryC__get_somtSourceLineNumber(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtSourceLineNumber *somTD_SOMTSequenceEntryC__get_somtSourceLineNumber;
typedef TypeCode   SOMLINK somTP_SOMTSequenceEntryC__get_somtTypeCode(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtTypeCode *somTD_SOMTSequenceEntryC__get_somtTypeCode;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC__get_somtIsReference(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtIsReference *somTD_SOMTSequenceEntryC__get_somtIsReference;
typedef string   SOMLINK somTP_SOMTSequenceEntryC__get_somtIDLScopedName(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtIDLScopedName *somTD_SOMTSequenceEntryC__get_somtIDLScopedName;
typedef string   SOMLINK somTP_SOMTSequenceEntryC__get_somtCScopedName(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC__get_somtCScopedName *somTD_SOMTSequenceEntryC__get_somtCScopedName;
typedef string   SOMLINK somTP_SOMTSequenceEntryC_somtGetModifierValue(SOMTSequenceEntryC *somSelf, 
		string modifierName);
typedef somTP_SOMTSequenceEntryC_somtGetModifierValue *somTD_SOMTSequenceEntryC_somtGetModifierValue;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somtGetFirstModifier(SOMTSequenceEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTSequenceEntryC_somtGetFirstModifier *somTD_SOMTSequenceEntryC_somtGetFirstModifier;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somtGetNextModifier(SOMTSequenceEntryC *somSelf, 
		string* modifierName, 
		string* modifierValue);
typedef somTP_SOMTSequenceEntryC_somtGetNextModifier *somTD_SOMTSequenceEntryC_somtGetNextModifier;
typedef long   SOMLINK somTP_SOMTSequenceEntryC_somtFormatModifier(SOMTSequenceEntryC *somSelf, 
		string buffer, 
		string name, 
		string value);
typedef somTP_SOMTSequenceEntryC_somtFormatModifier *somTD_SOMTSequenceEntryC_somtFormatModifier;
typedef long   SOMLINK somTP_SOMTSequenceEntryC_somtGetModifierList(SOMTSequenceEntryC *somSelf, 
		string buffer);
typedef somTP_SOMTSequenceEntryC_somtGetModifierList *somTD_SOMTSequenceEntryC_somtGetModifierList;
typedef long   SOMLINK somTP_SOMTSequenceEntryC_somtSetSymbolsOnEntry(SOMTSequenceEntryC *somSelf, 
		SOMTEmitC* emitter, 
		string prefix);
typedef somTP_SOMTSequenceEntryC_somtSetSymbolsOnEntry *somTD_SOMTSequenceEntryC_somtSetSymbolsOnEntry;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somtSetEntryStruct(SOMTSequenceEntryC *somSelf, 
		Entry* es);
typedef somTP_SOMTSequenceEntryC_somtSetEntryStruct *somTD_SOMTSequenceEntryC_somtSetEntryStruct;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somInit(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somInit *somTD_SOMTSequenceEntryC_somInit;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somUninit(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somUninit *somTD_SOMTSequenceEntryC_somUninit;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTSequenceEntryC_somPrintSelf(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somPrintSelf *somTD_SOMTSequenceEntryC_somPrintSelf;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDumpSelfInt(SOMTSequenceEntryC *somSelf, 
		long level);
typedef somTP_SOMTSequenceEntryC_somDumpSelfInt *somTD_SOMTSequenceEntryC_somDumpSelfInt;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDumpSelf(SOMTSequenceEntryC *somSelf, 
		long level);
typedef somTP_SOMTSequenceEntryC_somDumpSelf *somTD_SOMTSequenceEntryC_somDumpSelf;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDefaultInit(SOMTSequenceEntryC *somSelf, 
		som3InitCtrl* ctrl);
typedef somTP_SOMTSequenceEntryC_somDefaultInit *somTD_SOMTSequenceEntryC_somDefaultInit;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDestruct(SOMTSequenceEntryC *somSelf, 
		octet doFree, 
		som3DestructCtrl* ctrl);
typedef somTP_SOMTSequenceEntryC_somDestruct *somTD_SOMTSequenceEntryC_somDestruct;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDefaultCopyInit(SOMTSequenceEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultCopyInit *somTD_SOMTSequenceEntryC_somDefaultCopyInit;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTSequenceEntryC_somDefaultAssign(SOMTSequenceEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultAssign *somTD_SOMTSequenceEntryC_somDefaultAssign;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDefaultConstCopyInit(SOMTSequenceEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultConstCopyInit *somTD_SOMTSequenceEntryC_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDefaultVCopyInit(SOMTSequenceEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultVCopyInit *somTD_SOMTSequenceEntryC_somDefaultVCopyInit;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somDefaultConstVCopyInit(SOMTSequenceEntryC *somSelf, 
		som3InitCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultConstVCopyInit *somTD_SOMTSequenceEntryC_somDefaultConstVCopyInit;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTSequenceEntryC_somDefaultConstAssign(SOMTSequenceEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultConstAssign *somTD_SOMTSequenceEntryC_somDefaultConstAssign;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTSequenceEntryC_somDefaultVAssign(SOMTSequenceEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultVAssign *somTD_SOMTSequenceEntryC_somDefaultVAssign;
typedef SOMTSequenceEntryC*   SOMLINK somTP_SOMTSequenceEntryC_somDefaultConstVAssign(SOMTSequenceEntryC *somSelf, 
		som3AssignCtrl* ctrl, 
		SOMObject* fromObj);
typedef somTP_SOMTSequenceEntryC_somDefaultConstVAssign *somTD_SOMTSequenceEntryC_somDefaultConstVAssign;
typedef void   SOMLINK somTP_SOMTSequenceEntryC_somFree(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somFree *somTD_SOMTSequenceEntryC_somFree;
typedef SOMClass*   SOMLINK somTP_SOMTSequenceEntryC_somGetClass(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somGetClass *somTD_SOMTSequenceEntryC_somGetClass;
typedef string   SOMLINK somTP_SOMTSequenceEntryC_somGetClassName(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somGetClassName *somTD_SOMTSequenceEntryC_somGetClassName;
typedef long   SOMLINK somTP_SOMTSequenceEntryC_somGetSize(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somGetSize *somTD_SOMTSequenceEntryC_somGetSize;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somIsA(SOMTSequenceEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTSequenceEntryC_somIsA *somTD_SOMTSequenceEntryC_somIsA;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somIsInstanceOf(SOMTSequenceEntryC *somSelf, 
		SOMClass* aClassObj);
typedef somTP_SOMTSequenceEntryC_somIsInstanceOf *somTD_SOMTSequenceEntryC_somIsInstanceOf;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somRespondsTo(SOMTSequenceEntryC *somSelf, 
		somId mId);
typedef somTP_SOMTSequenceEntryC_somRespondsTo *somTD_SOMTSequenceEntryC_somRespondsTo;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somDispatch(SOMTSequenceEntryC *somSelf, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTSequenceEntryC_somDispatch *somTD_SOMTSequenceEntryC_somDispatch;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somClassDispatch(SOMTSequenceEntryC *somSelf, 
		SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap);
typedef somTP_SOMTSequenceEntryC_somClassDispatch *somTD_SOMTSequenceEntryC_somClassDispatch;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somCastObj(SOMTSequenceEntryC *somSelf, 
		SOMClass* castedCls);
typedef somTP_SOMTSequenceEntryC_somCastObj *somTD_SOMTSequenceEntryC_somCastObj;
typedef boolean   SOMLINK somTP_SOMTSequenceEntryC_somResetObj(SOMTSequenceEntryC *somSelf);
typedef somTP_SOMTSequenceEntryC_somResetObj *somTD_SOMTSequenceEntryC_somResetObj;
}

#endif /* SOMTSequenceEntryC_API */


/*
 * -- The C++ Wrapper Class for SOMTSequenceEntryC
 */
class SOMTSequenceEntryC : public SOMTEntryC
{
public:

// SOMTSequenceEntryC::new creates the class object if necessary, and then uses
// somNewNoInit to allocate memory and create the object.
// Initialization is in ctors.
void *operator new(size_t)
{
   if (!_SOMTSequenceEntryC) SOMTSequenceEntryCNewClass(SOMTSequenceEntryC_MajorVersion,SOMTSequenceEntryC_MinorVersion);
   return (void*)
   (((somTD_SOMClass_somNewNoInit)(SOMClassClassData.somNewNoInit))
         ((SOMClass *)((void*)_SOMTSequenceEntryC)));
}

// SOMTSequenceEntryC::delete uses somFree.
void operator delete(void * obj)
{
   if (obj && *(void**)obj)
      ((SOMObject*)obj)->somFree();
}

SOMTSequenceEntryC& operator=(SOMTSequenceEntryC& fromObj)
{
   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
   return *this;
}

SOMTSequenceEntryC()
{
   if (*(void**)this != (SOMTSequenceEntryCCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

SOMTSequenceEntryC(SOMTSequenceEntryC* fromObj)
{
   if (*(void**)this != (SOMTSequenceEntryCCClassData.parentMtab)->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* method: _get_somtSeqLength */
long   _get_somtSeqLength()
{
/*
 *  The length of the sequence.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTSequenceEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtSeqLength)(SOMTSequenceEntryCClassData._get_somtSeqLength))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtSeqType */
SOMTEntryC*   _get_somtSeqType()
{
/*
 *  The type of the sequence.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTSequenceEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtSeqType)(SOMTSequenceEntryCClassData._get_somtSeqType))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/*
 * Reintroduce inherited methods
 */

/* method: _get_somtEntryName */
string   _get_somtEntryName()
{
/*
 *  The name associated with this entry.  Eg, the name of
 *  the data item, the class, the method, the type, etc.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtEntryName)(SOMTEntryCClassData._get_somtEntryName))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _set_somtEntryName */
void   _set_somtEntryName(string somtEntryName)
{
/*
 *  The name associated with this entry.  Eg, the name of
 *  the data item, the class, the method, the type, etc.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__set_somtEntryName)(SOMTEntryCClassData._set_somtEntryName))(((SOMTSequenceEntryC *)((void *)this)),somtEntryName)
	);
}


/* method: _get_somtElementType */
SOMTTypes   _get_somtElementType()
{
/*
 *  Returns the type of this entry.
 *  This is not datatype, but entry type (method, class,
 *  passthru, etc.). The value is defined by SOMTTypes.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtElementType)(SOMTEntryCClassData._get_somtElementType))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _set_somtElementType */
void   _set_somtElementType(SOMTTypes somtElementType)
{
/*
 *  Returns the type of this entry.
 *  This is not datatype, but entry type (method, class,
 *  passthru, etc.). The value is defined by SOMTTypes.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__set_somtElementType)(SOMTEntryCClassData._set_somtElementType))(((SOMTSequenceEntryC *)((void *)this)),somtElementType)
	);
}


/* method: _get_somtElementTypeName */
string   _get_somtElementTypeName()
{
/*
 *  String version of somtElementType.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtElementTypeName)(SOMTEntryCClassData._get_somtElementTypeName))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtEntryComment */
string   _get_somtEntryComment()
{
/*
 *  Returns the comment associated with this entry, or NULL is this
 *  entry has no associated comment.  Comments will have comment
 *  delimitors removed, but will retain newline characters as
 *  specified in the source file. (use smLookupComment)
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtEntryComment)(SOMTEntryCClassData._get_somtEntryComment))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtSourceLineNumber */
unsigned long   _get_somtSourceLineNumber()
{
/*
 *  Returns the line number in the source file where this entry's
 *  syntactic form ended.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtSourceLineNumber)(SOMTEntryCClassData._get_somtSourceLineNumber))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtTypeCode */
TypeCode   _get_somtTypeCode()
{
/*
 *  The typecode, if appropriate, or NULL.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtTypeCode)(SOMTEntryCClassData._get_somtTypeCode))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtIsReference */
boolean   _get_somtIsReference()
{
/*
 *  Whether the entry is just a reference to the real type (TRUE)
 *  rather than a declaration of it (FALSE).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtIsReference)(SOMTEntryCClassData._get_somtIsReference))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtIDLScopedName */
string   _get_somtIDLScopedName()
{
/*
 *  The IDL scoped name of the entry (using double colon as delimiter).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtIDLScopedName)(SOMTEntryCClassData._get_somtIDLScopedName))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: _get_somtCScopedName */
string   _get_somtCScopedName()
{
/*
 *  The C scoped name of the entry (using underscore as delimiter).
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC__get_somtCScopedName)(SOMTEntryCClassData._get_somtCScopedName))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somtGetModifierValue */
string   somtGetModifierValue(string modifierName)
{
/*
 *  Returns the value of the named modifier if this entry has the
 *  named modifier and NULL otherwise. Note: if the modifier is
 *  present but does not have a value then a value of <'\1'> is
 *  returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtGetModifierValue)(SOMTEntryCClassData.somtGetModifierValue))(((SOMTSequenceEntryC *)((void *)this)),modifierName)
	);
}


/* method: somtGetFirstModifier */
boolean   somtGetFirstModifier(string* modifierName, 
		string* modifierValue)
{
/*
 *  Returns the first modifier associated with this entry.  1 (true)
 *  is returned if the entry has at least one modifier and 0 (false)
 *  otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtGetFirstModifier)(SOMTEntryCClassData.somtGetFirstModifier))(((SOMTSequenceEntryC *)((void *)this)),modifierName,modifierValue)
	);
}


/* method: somtGetNextModifier */
boolean   somtGetNextModifier(string* modifierName, 
		string* modifierValue)
{
/*
 *  Returns the next modifier (with respect to the last call to
 *  <somtGetNextModifier> or <somtGetFirstModifier>)
 *  associated with this entry.  1 (true) is returned if the entry
 *  had another modifier and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtGetNextModifier)(SOMTEntryCClassData.somtGetNextModifier))(((SOMTSequenceEntryC *)((void *)this)),modifierName,modifierValue)
	);
}


/* method: somtFormatModifier */
long   somtFormatModifier(string buffer, 
		string name, 
		string value)
{
/*
 *  Formats the indicated name/value pair into buffer.  Buffer must
 *  be big enough to hold all the formatted pair, no checks are made.
 *  The number of characters added to buffer are returned (not
 *  including the trailing null character).
 *  Note: value may be null
 *  You will probably never call this method, it is provided so that
 *  you can override it to control the format returned in
 *  <somtGetModifierList>.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtFormatModifier)(SOMTEntryCClassData.somtFormatModifier))(((SOMTSequenceEntryC *)((void *)this)),buffer,name,value)
	);
}


/* method: somtGetModifierList */
long   somtGetModifierList(string buffer)
{
/*
 *  The modifiers for this entry are placed in <buffer> in template
 *  list form (newline separated).  Buffer must be big enough to
 *  hold all the modifiers, no checks are made. The number of
 *  modifiers is returned.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtGetModifierList)(SOMTEntryCClassData.somtGetModifierList))(((SOMTSequenceEntryC *)((void *)this)),buffer)
	);
}


/* method: somtSetSymbolsOnEntry */
long   somtSetSymbolsOnEntry(SOMTEmitC* emitter, 
		string prefix)
{
/*
 *  Places a number of symbol/value pairs in <t>.  All the symbols
 *  will begin with <prefix>.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtSetSymbolsOnEntry)(SOMTEntryCClassData.somtSetSymbolsOnEntry))(((SOMTSequenceEntryC *)((void *)this)),emitter,prefix)
	);
}


/* method: somtSetEntryStruct */
void   somtSetEntryStruct(Entry* es)
{
/*
 *  Sets the entry struct data member.
 *  Note, when overridding this method, it is important to call the
 *  parent version of the method first and then do your processing.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMTEntryC),
	 ((somTD_SOMTSequenceEntryC_somtSetEntryStruct)(SOMTEntryCClassData.somtSetEntryStruct))(((SOMTSequenceEntryC *)((void *)this)),es)
	);
}


/* method: somInit */
void   somInit()
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somInit)(SOMObjectClassData.somInit))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somUninit */
void   somUninit()
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somUninit)(SOMObjectClassData.somUninit))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somPrintSelf */
SOMTSequenceEntryC*  somPrintSelf()
{
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somPrintSelf)(SOMObjectClassData.somPrintSelf))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDumpSelfInt)(SOMObjectClassData.somDumpSelfInt))(((SOMTSequenceEntryC *)((void *)this)),level)
	);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDumpSelf)(SOMObjectClassData.somDumpSelf))(((SOMTSequenceEntryC *)((void *)this)),level)
	);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(som3InitCtrl* ctrl)
{
/*
 *  A default initializer for a SOM object. Passing a null ctrl
 *  indicates to the receiver that its class is the class of the
 *  object being initialized, whereby the initializer will determine
 *  an appropriate control structure.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultInit)(SOMObjectClassData.somDefaultInit))(((SOMTSequenceEntryC *)((void *)this)),ctrl)
	);
}


/* method: somDestruct */
void   somDestruct(octet doFree, 
		som3DestructCtrl* ctrl)
{
/*
 *  The default destructor for a SOM object. A nonzero <doFree>
 *  indicates that the object storage should be freed by the
 *  object's class (via somDeallocate) after uninitialization.
 *  As with somDefaultInit, a null ctrl can be passed.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDestruct)(SOMObjectClassData.somDestruct))(((SOMTSequenceEntryC *)((void *)this)),doFree,ctrl)
	);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor. Use this to make copies of objects for
 *  calling methods with "by-value" argument semantics.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultCopyInit)(SOMObjectClassData.somDefaultCopyInit))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultAssign */
SOMTSequenceEntryC*  somDefaultAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator. Use this to "assign" the state of one
 *  object to another.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultAssign)(SOMObjectClassData.somDefaultAssign))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultConstCopyInit)(SOMObjectClassData.somDefaultConstCopyInit))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultVCopyInit)(SOMObjectClassData.somDefaultVCopyInit))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(som3InitCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default copy constructor that uses a const volatile fromObj.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultConstVCopyInit)(SOMObjectClassData.somDefaultConstVCopyInit))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstAssign */
SOMTSequenceEntryC*  somDefaultConstAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultConstAssign)(SOMObjectClassData.somDefaultConstAssign))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultVAssign */
SOMTSequenceEntryC*  somDefaultVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultVAssign)(SOMObjectClassData.somDefaultVAssign))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somDefaultConstVAssign */
SOMTSequenceEntryC*  somDefaultConstVAssign(som3AssignCtrl* ctrl, 
		SOMObject* fromObj)
{
/*
 *  A default assignment operator that uses a const volatile fromObj.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDefaultConstVAssign)(SOMObjectClassData.somDefaultConstVAssign))(((SOMTSequenceEntryC *)((void *)this)),ctrl,fromObj)
	);
}


/* method: somFree */
void   somFree()
{
/*
 *  The default implementation just calls somDestruct.
 */
   	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somFree)(SOMObjectClassData.somFree))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
/*
 *  Return the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somGetClass)(SOMObjectClassData.somGetClass))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somGetClassName */
string   somGetClassName()
{
/*
 *  Return the name of the receiver's class.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somGetClassName)(SOMObjectClassData.somGetClassName))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somGetSize */
long   somGetSize()
{
/*
 *  Return the size of the receiver.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somGetSize)(SOMObjectClassData.somGetSize))(((SOMTSequenceEntryC *)((void *)this)))
	);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver responds to methods
 *  introduced by <aClassObj>, and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somIsA)(SOMObjectClassData.somIsA))(((SOMTSequenceEntryC *)((void *)this)),aClassObj)
	);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
/*
 *  Returns 1 (true) if the receiver is an instance of
 *  <aClassObj> and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somIsInstanceOf)(SOMObjectClassData.somIsInstanceOf))(((SOMTSequenceEntryC *)((void *)this)),aClassObj)
	);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
/*
 *  Returns 1 (true) if the indicated method can be invoked
 *  on the receiver and 0 (false) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somRespondsTo)(SOMObjectClassData.somRespondsTo))(((SOMTSequenceEntryC *)((void *)this)),mId)
	);
}


/* va_list method: somDispatch */

/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
/* the va_list invocation form */
boolean   SOMObject_somDispatch(somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTSequenceEntryC *)((void *)this)),retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somDispatch(somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  This method provides a generic, class-specific dispatch mechanism.
 *  It accepts as input <retValue> a pointer to the memory area to be
 *  loaded with the result of dispatching the method indicated by
 *  <methodId> using the arguments in <ap>. <ap> contains the object
 *  on which the method is to be invoked as the first argument.
 * 
 *  Default redispatch stubs invoke this method.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somDispatch)(SOMObjectClassData.somDispatch))(((SOMTSequenceEntryC *)((void *)this)),retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */

/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
/* the va_list invocation form */
boolean   SOMObject_somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		va_list ap)
{   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTSequenceEntryC *)((void *)this)),clsObj,retValue,methodId,ap)
	);
}

/* the varargs invocation form */
boolean   somClassDispatch(SOMClass* clsObj, 
		somToken* retValue, 
		somId methodId, 
		...)
{
/*
 *  Like somDispatch, but method resolution for static methods is done
 *  according to the clsObj instance method table.
 */
   va_list ap;
   va_start(ap, methodId);
   boolean __somResult = 
      	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somClassDispatch)(SOMObjectClassData.somClassDispatch))(((SOMTSequenceEntryC *)((void *)this)),clsObj,retValue,methodId,ap)
	);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* castedCls)
{
/*
 *  Changes the behavior of the target object to that implemented
 *  by castedCls. This is possible when all concrete data in castedCls
 *  is also concrete in the true class of the target object.
 *  Returns true (1) on success, and false (0) otherwise.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somCastObj)(SOMObjectClassData.somCastObj))(((SOMTSequenceEntryC *)((void *)this)),castedCls)
	);
}


/* method: somResetObj */
boolean   somResetObj()
{
/*
 *  reset an object to its true class. Returns true always.
 */
   return 	(
	 SOM_TestCls(this,_SOMCLASS_SOMObject),
	 ((somTD_SOMTSequenceEntryC_somResetObj)(SOMObjectClassData.somResetObj))(((SOMTSequenceEntryC *)((void *)this)))
	);
}



};   /* SOMTSequenceEntryC */



#endif       /* SOM_SOMTSequenceEntryC_xh */
