위치:h245.h, ASNH245CapabilityTableEntryNumber 구조체 다음.
/*handship{*/
typedef struct
{
	AsnSequenceOf inheritance;
} ASNH245AlternativeCapabilitySet;
HS_RESULT new_ASNH245AlternativeCapabilitySet( void *pObject );
HS_RESULT delete_ASNH245AlternativeCapabilitySet( void *pObject );
#ifdef HS_ASN_DEBUG
HS_RESULT ASNH245AlternativeCapabilitySet_Print( void *pObject, HS_UINT pDepth, char *pTypeName );
#endif
HS_RESULT ASNH245AlternativeCapabilitySet_MakeMold( void *pObject );
HS_RESULT ASNH245AlternativeCapabilitySet_Encode( void *pObject, AsnStream *pStrm );
HS_RESULT ASNH245AlternativeCapabilitySet_Decode( void *pObject, AsnStream *pStrm );
/*handship}*/


위치:h245.c, ASNH245CapabilityTableEntryNumber 구조체 다음.
/*handship{*/
/*Inheritance*/
HS_RESULT new_ASNH245AlternativeCapabilitySet( void *pObject )
{
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL )
	{
#ifdef HS_ASN_DEBUG
		HSPrint( "\n Error on new_ASNH245AlternativeCapabilitySet(NULL) -> null parameter" );
#endif
		return HS_ERR_NULL_PARAM;
	}
	return new_AsnSequenceOf( &(pObj->inheritance), e_constrained,1,256,0,4294967295 );
}
HS_RESULT delete_ASNH245AlternativeCapabilitySet( void *pObject )
{
	AsnSequenceOf *aso;
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL ) return HS_ERR_NULL_PARAM;
	aso = &(pObj->inheritance);
	return delete_AsnSequenceOf( &(pObj->inheritance) );
}
#ifdef HS_ASN_DEBUG
HS_RESULT ASNH245AlternativeCapabilitySet_Print( void *pObject, HS_UINT pDepth, char *pTypeName )
{
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL ) return HS_ERR_NULL_PARAM;
	return AsnSequenceOf_Print( &(pObj->inheritance), pDepth, pTypeName );
}
#endif
HS_RESULT ASNH245AlternativeCapabilitySet_MakeMold( void *pObject )
{
	AsnObject *moldObject = HS_NULL;
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL ) return HS_ERR_NULL_PARAM;

	{
	ASNH245CapabilityTableEntryNumber *tmold = (ASNH245CapabilityTableEntryNumber *)malloc( sizeof(ASNH245CapabilityTableEntryNumber) );
	new_ASNH245CapabilityTableEntryNumber(tmold);
	ASNH245CapabilityTableEntryNumber_MakeMold(tmold);
	moldObject = (AsnObject*)malloc( sizeof(AsnObject) );
	new_AsnObject(moldObject,tmold,sizeof(ASNH245CapabilityTableEntryNumber),ASNH245CapabilityTableEntryNumber_MakeMold,ASNH245CapabilityTableEntryNumber_Encode,ASNH245CapabilityTableEntryNumber_Decode,
#ifdef HS_ASN_DEBUG
		ASNH245CapabilityTableEntryNumber_Print,
#endif
		delete_ASNH245CapabilityTableEntryNumber);
	AsnSequenceOf_SetMold( &(pObj->inheritance), moldObject );
	}

	return HS_OK;
}
HS_RESULT ASNH245AlternativeCapabilitySet_Encode( void *pObject, AsnStream *pStrm )
{
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL ) return HS_ERR_NULL_PARAM;
	return AsnSequenceOf_Encode( &(pObj->inheritance), pStrm );
}
HS_RESULT ASNH245AlternativeCapabilitySet_Decode( void *pObject, AsnStream *pStrm )
{
	ASNH245AlternativeCapabilitySet *pObj = (ASNH245AlternativeCapabilitySet *)pObject;
	if( pObj == HS_NULL ) return HS_ERR_NULL_PARAM;
	return AsnSequenceOf_Decode( &(pObj->inheritance), pStrm );
}
/*handship{*/