130 (PWGM_HBLOCK_OUT_GMIMPL(h1) == PWGM_HBLOCK_OUT_GMIMPL(h2));
151 else if (PWGM_HBLOCK_OUT_GMIMPL(h1) < PWGM_HBLOCK_OUT_GMIMPL(h2)) {
160 return (h1 != h2) && !(h1 < h2);
PWP_UINT32 blockCount() const
Get the number of blocks in the model.
#define PWGM_HBLOCK_ID(h)
gets the block's guid from the handle
Pointwise Plugin API (PWP-API)
bool operator==(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
PWGM_HGRIDMODEL model_
The bound PWGM_HGRIDMODEL.
Pointwise Grid Model API Specification (PWGM-API)
CaeGridModel(PWGM_HGRIDMODEL model)
Constructor.
PWP_BOOL PwModGetAttributeUINT(PWGM_HGRIDMODEL model, const char *name, PWP_UINT *val)
bool getAttribute(const char *name, const char *&val, const char *defVal) const
bool operator!=(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
PWP_UINT32 PwModBlockCount(PWGM_HGRIDMODEL model)
Get the number of block elements in the model.
PWP_BOOL PwModGetAttributeString(PWGM_HGRIDMODEL model, const char *name, const char **val)
Get an attribute value as a specific type.
PWP_BOOL PwModGetAttributeFLOAT(PWGM_HGRIDMODEL model, const char *name, PWP_FLOAT *val)
The grid model base class.
~CaeGridModel()
Destructor.
PWP_BOOL PwModGetAttributeREAL(PWGM_HGRIDMODEL model, const char *name, PWP_REAL *val)
bool getAttributeEnum(const char *name, const char *&val, const char *defVal) const
PWP_BOOL PwModGetAttributeINT(PWGM_HGRIDMODEL model, const char *name, PWP_INT *val)
PWP_BOOL PwModGetAttributeUINT32(PWGM_HGRIDMODEL model, const char *name, PWP_UINT32 *val)
An opaque handle to a grid model.
bool operator>(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
An opaque handle to a grid block element.
PWP_BOOL PwModGetAttributeBOOL(PWGM_HGRIDMODEL model, const char *name, PWP_BOOL *val)
bool operator<(const PWGM_HBLOCK &h1, const PWGM_HBLOCK &h2)
PWP_BOOL PwModGetAttributeEnum(PWGM_HGRIDMODEL model, const char *name, const char **val)
CaeGridModel & operator=(const CaeGridModel &rhs)
The assignment operator.
PWP_BOOL PwModGetAttributeINT32(PWGM_HGRIDMODEL model, const char *name, PWP_INT32 *val)