Pointwise Plugin SDK
Classes | Functions | Variables
apiGRDP.cxx File Reference
#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <time.h>
#include <string>
#include "apiGRDP.h"
#include "apiGRDPUtils.h"
#include "apiPWPUtils.h"
#include "apiUtils.h"
#include "PwpCwd.h"
#include "runtimeReadGrid.h"
#include "rtGrdpInitItems.h"
+ Include dependency graph for apiGRDP.cxx:

Go to the source code of this file.

Classes

class  FileDestPwpCwd
 

Functions

static GRDP_RTITEMgrdpH2Rti (GRDP_IMPORTER handle)
 
static PWP_BOOL grdpRuntimeCreate (GRDP_RTITEM *pRti)
 
static PWP_VOID grdpRuntimeDestroy (GRDP_RTITEM *pRti)
 
GRDP_IMPORTER PwCreateGrdpById (PWP_UINT32 id)
 Create GRDP importer instance with given id. More...
 
GRDP_IMPORTER PwCreateGrdpByName (const char name[])
 Create GRDP importer instance with given name. More...
 
PWP_VOID PwDestroyGrdp (GRDP_IMPORTER *handle)
 Destroy GRDP importer instance. More...
 
const char * PwEnumGrdpFormat (PWP_UINT32 ndx, GRDP_FORMATINFO *pFormatInfo)
 Enumerate GRDP_FORMATINFO data for all supported GRDP importers. More...
 
PWP_UINT32 PwGetGrdpFormatCount ()
 Get the number of supported GRDP importers. More...
 
const char * PwGrdpFormat (GRDP_IMPORTER handle, GRDP_FORMATINFO *pFormatInfo)
 Get GRDP_FORMATINFO data for a GRDP importer handle. More...
 
PWP_BOOL PwGridRead (GRDP_IMPORTER handle, PWGM_HGRIDMODEL model, const GRDP_READINFO *pReadInfo)
 Initiates reading a grid model. More...
 

Variables

PWP_UINT32 grdpFormatCnt = (PWP_UINT32)(sizeof( grdpRtItem )/sizeof( grdpRtItem [0]))
 The number of entries in grdpRtItem[] array. More...
 
GRDP_RTITEM grdpRtItem []
 The runtime array of GRDP_RTITEM items. More...
 

Function Documentation

◆ grdpH2Rti()

static GRDP_RTITEM* grdpH2Rti ( GRDP_IMPORTER  handle)
static

Definition at line 44 of file apiGRDP.cxx.

References grdpRtItem.

Referenced by PwDestroyGrdp(), PwGrdpFormat(), and PwGridRead().

◆ grdpRuntimeCreate()

static PWP_BOOL grdpRuntimeCreate ( GRDP_RTITEM pRti)
static

Definition at line 61 of file apiGRDP.cxx.

References runtimeReadGridCreate().

Referenced by PwCreateGrdpById(), and PwCreateGrdpByName().

◆ grdpRuntimeDestroy()

static PWP_VOID grdpRuntimeDestroy ( GRDP_RTITEM pRti)
static

Definition at line 71 of file apiGRDP.cxx.

References runtimeReadGridDestroy().

Referenced by PwDestroyGrdp().