65 MHEG5Int inputTypeInt;
67 DPL5((
">> asn1_createEntryField(%X)\n", listPtr));
71 if (entryField != NULL)
74 entryField->text.visible.ingredient.root.clazz = MHEG5ENTRYFIELD;
77 entryField->inputType = mh5any;
84 currItem = listPtr->children;
85 while (currItem != NULL)
88 switch (currItem->tag)
93 inputTypeInt = currItem->data.intData;
98 entryField->inputType = mh5alpha;
102 entryField->inputType = mh5numeric;
106 entryField->inputType = mh5any;
109 entryField->inputType = mh5listed;
113 DPL2((
"WARNING:[ASN.1] Unknown entryfield inputType, default to mh5any\n"));
122 entryField->obscuredInput = (currItem->data.boolData == 0) ? MHEG5FALSE : MHEG5TRUE;
125 entryField->maxlength = currItem->data.intData;
130 currItem = currItem->next;
135 if (errVal != ASN_NO_ERROR)
138 DPL2((
"WARNING:[ASN.1] asn1_createEntryField() errVal = %d\n", errVal));
140 MHEG5freeMem( entryField );
145 DPL5((
"<< asn1_createEntryField() %X\n", entryField));
Functions to create a MHEG5EntryField from a MHEG5 script (in the form of a list of fpa1_syntaxList s...
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
asnErr asn1_decodeInteractible(fpa1_syntaxList *listPtr, MHEG5Interactible *interactible)
Decodes interactible class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Text from a MHEG5 script (in the form of a list of fpa1_syntaxList structu...
typedefs etc for the whole object creation section.
Contains macros for MHEG-5 ASN.1 tags and structures.
Functions to create a MHEG5Interactible from a MHEG5 script (in the form of a list of fpa1_syntaxList...
asnErr asn1_decodeText(fpa1_syntaxList *listPtr, MHEG5Text *text)
Decodes Text class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
MHEG5Ingredient * asn1_createEntryField(fpa1_syntaxList *listPtr)
Decodes EntryField class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Implement the MHEG5 EntryField Class. Defines an interaction widget used by the final user to edit an...