Pointwise Plugin SDK
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rtGrdpInitItems.h File Reference

Static Initialization Data for the GRDP_RTITEM Array. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Static Initialization Data for the GRDP_RTITEM Array.

The file rtGrdpInitItems.h defines the static, compile-time initialization of the global GRDP_RTITEM grdpRtItem[] array. The Grid Import Plugin SDK uses this array to implement the functions and behaviors required by the Pointwise Grid Import Plugin API Specification (GRDP-API). If you want to see the SDK implementation details, look in the /shared/GRDP/apiGRDP.cxx file.

The SDK file /shared/GRDP/apiGRDP.cxx includes rtGrdpInitItems.h as shown below.

//************************************************
// impl-defined grid import format data
//************************************************
# include "rtGrdpInitItems.h"
};

The format of rtGrdpInitItems.h must be valid for the static initialization of an array of C-struct's. It is important to note that some of GRDP_RTITEM's data members are also structs. This will require curly-braces {} around these nested data members. If you are not familiar with static initialization, see the Example C-struct Static Initialization page.

Note
If you add custom data members to GRDP_RTITEM using rtGrdpInstanceData.h, be sure to add the additional static initializers when editing rtGrdpInitItems.h to prevent compiler warnings or errors!

Definition in file rtGrdpInitItems.h.