C Code Generated for Project-level Factory Decode/Validation Function

If -genFactoryoption is specified and C code generation is selected, the following items are generated:

   // element tags
   enum {
      T_callingDevice = 1,
      T_calledDevice = 2,
      T_lastRedirectionDevice = 3,
      ...
   } ;
   #define Num_Global_Elem_CSTA_Project 19
                
   typedef struct EXTERN CSTA_message {
      OSUINT16 t;
      union {
         /* t = 1 */
         struct CallingDeviceID *callingDevice;
         /* t = 2 */
         struct CalledDeviceID *calledDevice;
         /* t = 3 */
         struct RedirectionDeviceID *lastRedirectionDevice;
         ...
      } u;
   } CSTA_message;
   
   /**
   * Decode factory function.  This function
   * decodes complete XML document when the message type
   * is unknown.
   */
   EXTERN int XmlD_Project_CSTA (OSCTXT* pctxt, CSTA_message* pvalue);
   
   /**
   * Validate factory function.  This function
   * validates complete XML document when the message type
   * is unknown.
   */
   EXTERN int XmlV_Project_CSTA (OSCTXT* pctxt);
   
   EXTERN void Print_Project_CSTA (const char* name, CSTA_message* pvalue);
   
   extern const char* global_elem_names_CSTA_Project[];