Pointwise Plugin SDK
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rtGrdpInitItems.h
Go to the documentation of this file.
1 /****************************************************************************
2  *
3  * Pointwise Grid Import Plugin runtime data initialization
4  *
5  * (C) 2021 Cadence Design Systems, Inc. All rights reserved worldwide.
6  *
7  ***************************************************************************/
8 
9 #ifndef _RTGRDPINITITEMS_H_
10 #define _RTGRDPINITITEMS_H_
11 
13 /*.................................................
14  initialize grdpRtItem[0]
15 */
16 #define ID_GrdpXxxxx __ID__
17 {
18  //== GRDP_FORMATINFO FormatInfo
19  { PWP_SITE_GROUPNAME, // const char *group
20  "GrdpXxxxx", // const char *name
21  MAKEGUID(ID_GrdpXxxxx), // PWP_UINT32 id
22  PWP_FILEDEST_FILENAME, // PWP_ENUM_FILEDEST fileDest
23  "ext1 *" // const char *exts - supported file extensions
24  },
25 
26  &pwpRtItem[1], // PWU_RTITEM*
27 
28  0, // FILE *fp
29 
30  // PWU_UNFDATA UnfData
31  { 0, // PWP_UINT32 status
32  0, // FILE *fp
33  0, // sysFILEPOS fPos
34  PWP_FALSE, // PWP_BOOL hadError
35  PWP_FALSE, // PWP_BOOL inRec
36  0, // PWP_UINT32 recBytes
37  0, // PWP_UINT32 totRecBytes
38  0 }, // PWP_UINT32 recCnt
39 
40  PWGM_HGRIDMODEL_INIT, // PWGM_HGRIDMODEL model
41 
42  0, // const GRDP_READINFO * pReadInfo;
43 
44  0, // PWP_UINT32 progTotal
45  0, // PWP_UINT32 progComplete
46  {0}, // clock_t clocks[GRDP_CLKS_SIZE];
47  0, // PWP_BOOL opAborted
48 
49  // Init the forward declared MY_GRDP_DATA pointer. See rtGrdpInstanceData.h
50  0,
51 },
54 /************************************************************************/
83 #endif /* _RTGRDPINITITEMS_H_ */
#define MAKEGUID(usr_id)
Builds a 32-bit Globally Unique Id (GUID).
Definition: apiUtils.h:108
PWU_RTITEM pwpRtItem[]
The runtime array of PWU_RTITEM items.
Definition: apiPWP.cxx:29
#define PWP_SITE_GROUPNAME
Your site's identifier string.
Definition: site.h:96
#define PWP_FALSE
PWP_BOOL logical "false" value.
Definition: apiPWP.h:306