Pointwise Plugin SDK
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.

grdpRtItem
GRDP_RTITEM grdpRtItem[]
The runtime array of GRDP_RTITEM items.
Definition: apiGRDP.cxx:27
rtGrdpInitItems.h
Static Initialization Data for the GRDP_RTITEM Array.
GRDP_RTITEM
The data representing a grid importer instance.
Definition: apiGRDPUtils.h:117