MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Functions
asn1_createVariable.c File Reference

Functions to create a MHEG5Variable from a MHEG5 script (in the form of a list of fpa1_syntaxList structures). More...

#include <stdio.h>
#include "vpa1_sys.h"
#include "vpa1_tgs.h"
#include "fpa1_syn.h"
#include "asn1_sys.h"
#include "mh5base.h"
#include "mh5group.h"
#include "mh5variable.h"
#include "asn1_createExtras.h"
#include "asn1_createIngredient.h"
#include "asn1_createGroup.h"
#include "asn1_createVariable.h"

Functions

asnErr asn1_decodeObjRefVariable (fpa1_syntaxList *ItemPtr, MHEG5ObjectRefVariable *objRefVar)
 Decodes Object Ref Variable class. More...
 
asnErr asn1_decodeVariable (fpa1_syntaxList *listPtr, MHEG5Ingredient *var)
 Decodes Variable classes. More...
 
MHEG5Ingredientasn1_createBooleanVariable (fpa1_syntaxList *listPtr)
 Decodes BooleanVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.15] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createIntegerVariable (fpa1_syntaxList *listPtr)
 Decodes IntegerVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.16] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createOctetStringVariable (fpa1_syntaxList *listPtr)
 Decodes OctetStringVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.17] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createObjectRefVariable (fpa1_syntaxList *listPtr)
 Decodes ObjectRefVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.18] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createContentVariable (fpa1_syntaxList *listPtr)
 Decodes ContentVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.19] for details of ASN.1 representation. More...
 

Detailed Description

Functions to create a MHEG5Variable from a MHEG5 script (in the form of a list of fpa1_syntaxList structures).

Date
18/07/2002
Author
S.Charman

Function Documentation

MHEG5Ingredient* asn1_createBooleanVariable ( fpa1_syntaxList listPtr)

Decodes BooleanVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.15] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
boolVarPointer to BooleanVariable class being decoded.
Returns
asnErr
MHEG5Ingredient* asn1_createContentVariable ( fpa1_syntaxList listPtr)

Decodes ContentVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.19] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
ContentvarPointer to Variable class being decoded.
Returns
asnErr
MHEG5Ingredient* asn1_createIntegerVariable ( fpa1_syntaxList listPtr)

Decodes IntegerVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.16] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
intVarPointer to intVar class being decoded.
Returns
asnErr
MHEG5Ingredient* asn1_createObjectRefVariable ( fpa1_syntaxList listPtr)

Decodes ObjectRefVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.18] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
octStrVarPointer to OctetStringVariable class being decoded.
Returns
asnErr
MHEG5Ingredient* asn1_createOctetStringVariable ( fpa1_syntaxList listPtr)

Decodes OctetStringVariable class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.17] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
octStrVarPointer to OctetStringVariable class being decoded.
Returns
asnErr
asnErr asn1_decodeObjRefVariable ( fpa1_syntaxList ItemPtr,
MHEG5ObjectRefVariable objRefVar 
)

Decodes Object Ref Variable class.

Parameters
ItemPtrpointer to current fpa1_syntaxList item
objRefVarpointer to obj ref variable class being decoded.
Returns
asnErr
asnErr asn1_decodeVariable ( fpa1_syntaxList listPtr,
MHEG5Ingredient var 
)

Decodes Variable classes.

Parameters
listPtrpointer to current fpa1_syntaxList item
varpointer to Variable class being decoded.
Returns
asnErr