Pointwise Plugin SDK
Macros | Typedefs

The common data types used by all plugin APIs. More...

+ Collaboration diagram for Cross-Platform Base Types:

Macros

#define PWP_CAST_BOOL(v)   ((v) ? PWP_TRUE : PWP_FALSE)
 Cast a value to a PWP_BOOL value (PWP_TRUE or PWP_FALSE) More...
 
#define PWP_FALSE   (0)
 PWP_BOOL logical "false" value. More...
 
#define PWP_TRUE   (!PWP_FALSE)
 PWP_BOOL logical "true" value. More...
 
#define PWP_UINT16_MAX   ((PWP_UINT16)(~0))
 maximum valid PWP_UINT16 value More...
 
#define PWP_UINT16_UNDEF   PWP_UINT16_MAX
 "undefined" PWP_UINT16 value More...
 
#define PWP_UINT32_MAX   ((PWP_UINT32)(~0))
 maximum valid PWP_UINT32 value More...
 
#define PWP_UINT32_UNDEF   PWP_UINT32_MAX
 "undefined" PWP_UINT32 value More...
 
#define PWP_UINT64_MAX   ((PWP_UINT64)(~0))
 maximum valid PWP_UINT64 value More...
 
#define PWP_UINT64_UNDEF   PWP_UINT64_MAX
 "undefined" PWP_UINT64 value More...
 
#define PWP_UINT8_MAX   ((PWP_UINT8)(~0))
 maximum valid PWP_UINT8 value More...
 
#define PWP_UINT8_UNDEF   PWP_UINT8_MAX
 "undefined" PWP_UINT8 value More...
 
#define PWP_UINT_MAX   ((PWP_UINT)(~0))
 maximum valid PWP_UINT value More...
 
#define PWP_UINT_UNDEF   PWP_UINT_MAX
 "undefined" PWP_UINT value More...
 

Typedefs

typedef int PWP_BOOL
 logical value More...
 
typedef float PWP_FLOAT
 32-bit real More...
 
typedef long PWP_INT
 integer same size as void* More...
 
typedef short PWP_INT16
 16-bit integer More...
 
typedef int PWP_INT32
 32-bit integer More...
 
typedef long long PWP_INT64
 64-bit integer More...
 
typedef signed char PWP_INT8
 8-bit integer More...
 
typedef double PWP_REAL
 64-bit real More...
 
typedef unsigned long PWP_UINT
 unsigned integer same size as void* More...
 
typedef unsigned short PWP_UINT16
 16-bit unsigned integer More...
 
typedef unsigned int PWP_UINT32
 32-bit unsigned integer More...
 
typedef unsigned long long PWP_UINT64
 64-bit unsigned integer More...
 
typedef unsigned char PWP_UINT8
 8-bit unsigned integer More...
 
typedef void PWP_VOID
 no value More...
 

Detailed Description

The common data types used by all plugin APIs.

Cross-platform "C" data types. Cross-platform data issues can be minimized by using the following data types internally for plugins. All API calls use these types.

Macro Definition Documentation

◆ PWP_CAST_BOOL

#define PWP_CAST_BOOL (   v)    ((v) ? PWP_TRUE : PWP_FALSE)

Cast a value to a PWP_BOOL value (PWP_TRUE or PWP_FALSE)

Definition at line 230 of file apiPWP.h.

Referenced by PwuGetValue().

◆ PWP_FALSE

#define PWP_FALSE   (0)

PWP_BOOL logical "false" value.

Definition at line 224 of file apiPWP.h.

Referenced by caeuExportBndryConditionsOnly(), caeuExportStructuredAsUnstructured(), caeuProgressBeginStep(), caeuProgressEndStep(), caeuProgressIncr(), caeuProgressInit(), caeuPublishValueDefinition(), grdpProgressBeginStep(), grdpProgressEndStep(), grdpProgressIncr(), grdpProgressInit(), grdpPublishValueDefinition(), PwAsmFinalize(), PwAsmPushElementFace(), PwBlkCondition(), PwBlkNdxBoundary(), PwBlkNdxBoundaryAndCondition(), PwBlkNdxConnection(), PwBlkNdxVertData(), PwBlkSetName(), PwBlkSize(), PwBlock(), PwBndryCondition(), PwBoundary(), PwCaeElementType(), PwCaeGridWrite(), PwConnection(), PwConSetName(), PwDomCondition(), PwDomSetName(), PwElemDataMod(), PwElemDataModEnum(), PwGridRead(), PwModGetAttributeValue(), PwModNdxBoundary(), PwModNdxBoundaryAndCondition(), PwModNdxConnection(), PwModStreamFaces(), PwpActivateAPI(), PwpGetValue(), PwpIsLicensed(), PwuAssignValue(), PwUnsBlkAllocateElements(), PwUnsBlkSetElement(), PwUnsDomAllocateElements(), PwUnsDomSetElement(), PwuProgressBegin(), PwuProgressNextStep(), PwuProgressQuit(), PwuProgressStatus(), PwuPublishValueDefinition(), PwuUnfFileBegin(), PwuUnfFileEnd(), PwuUnfRecBegin(), PwuUnfRecBeginFixed(), PwuUnfRecEnd(), PwuUnfRecWriteArr(), PwuValueSetter(), PwVertDataMod(), PwVertIndexMod(), PwVertXyzVal(), PwVlstIsStructured(), PwVlstIsUnstructured(), PwVlstReadFile(), PwVlstSetXYZ(), PwVlstSetXYZ2(), PwVlstSetXYZ2Data(), PwVlstSetXYZ3(), PwVlstSetXYZData(), PwVlstSetXYZVal(), PwVlstSetXYZVal2(), PwVlstSetXYZVal3(), PwXform2to3(), PwXform3to2(), PwXformFollows(), CaePlugin< MT >::run(), runtimeWrite(), unfHdrLenWrite(), and unfUDataInit().

◆ PWP_TRUE

#define PWP_TRUE   (!PWP_FALSE)

◆ PWP_UINT16_MAX

#define PWP_UINT16_MAX   ((PWP_UINT16)(~0))

maximum valid PWP_UINT16 value

Definition at line 185 of file apiPWP.h.

◆ PWP_UINT16_UNDEF

#define PWP_UINT16_UNDEF   PWP_UINT16_MAX

"undefined" PWP_UINT16 value

Definition at line 188 of file apiPWP.h.

◆ PWP_UINT32_MAX

#define PWP_UINT32_MAX   ((PWP_UINT32)(~0))

maximum valid PWP_UINT32 value

Definition at line 197 of file apiPWP.h.

Referenced by PwpFile::readDouble(), and PwpFile::readInt().

◆ PWP_UINT32_UNDEF

#define PWP_UINT32_UNDEF   PWP_UINT32_MAX

"undefined" PWP_UINT32 value

Definition at line 200 of file apiPWP.h.

◆ PWP_UINT64_MAX

#define PWP_UINT64_MAX   ((PWP_UINT64)(~0))

maximum valid PWP_UINT64 value

Definition at line 209 of file apiPWP.h.

◆ PWP_UINT64_UNDEF

#define PWP_UINT64_UNDEF   PWP_UINT64_MAX

"undefined" PWP_UINT64 value

Definition at line 212 of file apiPWP.h.

◆ PWP_UINT8_MAX

#define PWP_UINT8_MAX   ((PWP_UINT8)(~0))

maximum valid PWP_UINT8 value

Definition at line 173 of file apiPWP.h.

◆ PWP_UINT8_UNDEF

#define PWP_UINT8_UNDEF   PWP_UINT8_MAX

"undefined" PWP_UINT8 value

Definition at line 176 of file apiPWP.h.

◆ PWP_UINT_MAX

#define PWP_UINT_MAX   ((PWP_UINT)(~0))

maximum valid PWP_UINT value

Definition at line 161 of file apiPWP.h.

◆ PWP_UINT_UNDEF

#define PWP_UINT_UNDEF   PWP_UINT_MAX

"undefined" PWP_UINT value

Definition at line 164 of file apiPWP.h.

Typedef Documentation

◆ PWP_BOOL

typedef int PWP_BOOL

logical value

Definition at line 221 of file apiPWP.h.

◆ PWP_FLOAT

typedef float PWP_FLOAT

32-bit real

Definition at line 215 of file apiPWP.h.

◆ PWP_INT

typedef long PWP_INT

integer same size as void*

Definition at line 155 of file apiPWP.h.

◆ PWP_INT16

typedef short PWP_INT16

16-bit integer

Definition at line 179 of file apiPWP.h.

◆ PWP_INT32

typedef int PWP_INT32

32-bit integer

Definition at line 191 of file apiPWP.h.

◆ PWP_INT64

typedef long long PWP_INT64

64-bit integer

Definition at line 203 of file apiPWP.h.

◆ PWP_INT8

typedef signed char PWP_INT8

8-bit integer

Definition at line 167 of file apiPWP.h.

◆ PWP_REAL

typedef double PWP_REAL

64-bit real

Definition at line 218 of file apiPWP.h.

◆ PWP_UINT

typedef unsigned long PWP_UINT

unsigned integer same size as void*

Definition at line 158 of file apiPWP.h.

◆ PWP_UINT16

typedef unsigned short PWP_UINT16

16-bit unsigned integer

Definition at line 182 of file apiPWP.h.

◆ PWP_UINT32

typedef unsigned int PWP_UINT32

32-bit unsigned integer

Definition at line 194 of file apiPWP.h.

◆ PWP_UINT64

typedef unsigned long long PWP_UINT64

64-bit unsigned integer

Definition at line 206 of file apiPWP.h.

◆ PWP_UINT8

typedef unsigned char PWP_UINT8

8-bit unsigned integer

Definition at line 170 of file apiPWP.h.

◆ PWP_VOID

typedef void PWP_VOID

no value

Definition at line 233 of file apiPWP.h.