Go to the documentation of this file.
9 #if !defined(PWGM_HIDE_STRUCTURED_API)
11 #ifndef _CAESTRBOUNDARY_H_
12 #define _CAESTRBOUNDARY_H_
72 PWGM_HBNDRY_SET_INVALID(
h_);
84 PWGM_HBNDRY_SET_INVALID(
h_);
325 return !(rhs == *
this);
352 return !(*
this == rhs) && !(*
this < rhs);
367 #endif // _CAESTRBOUNDARY_H_
369 #endif // PWGM_HIDE_STRUCTURED_API
CaeStrBoundary operator++(int)
Postfix increment to the next boundary in the group.
bool isValid() const
Determines a boundary's validity.
CaeStrBoundary & moveFirst()
Rebinds an instance to the first boundary in the current group.
PWGM_HBNDRY h_
The bound PWGM_HBNDRY.
PWP_BOOL PwModNdxBoundaryAndCondition(PWGM_HGRIDMODEL model, PWP_UINT32 ndx, PWGM_BNDRYDATA *pBndryData, PWGM_CONDDATA *pCondData)
Get the PWGM_BNDRYDATA and PWGM_CONDDATA for the model's nth structured boundary.
CaeStrBoundary(const CaeStrBoundaryGroup &group, PWP_UINT32 ndx=0)
Group and boundary index constructor.
bool operator!=(const CaeStrBoundary &rhs) const
Compares two CaeStrBoundary instances for inequality.
CaeStrBoundary & operator--()
Prefix decrement to the previous boundary in the group.
#define PWGM_HBNDRY_ID(h)
gets the boundary's guid from the handle
PWP_BOOL PwBndryCondition(PWGM_HBNDRY boundary, PWGM_CONDDATA *pCondData)
Get the boundary's condition data.
bool data(PWGM_CONDDATA &data) const
Gets the boundary's condition data.
bool data(PWGM_BNDRYDATA &bData, PWGM_CONDDATA &cData) const
Get both the boundary information and condition data.
const CaeStrBoundaryGroup * group_
The owning boundary group.
Pointwise Grid Model API Specification (PWGM-API)
PWP_UINT32 modelIndex() const
Get the boundary's model index.
CaeStrBoundary & operator++()
Prefix increment to the next boundary in the group.
bool operator==(const CaeStrBoundary &rhs) const
Compares two CaeStrBoundary instances for equality.
CaeStrBoundary & movePrev()
Rebinds an instance to the previous boundary in the group.
PWP_UINT32 groupNdx_
The current index in the group's index space.
CaeStrBoundary & moveTo(PWP_UINT32 ndx)
Rebinds an instance to a specific boundary within the current group.
#define PWGM_HBNDRY_MODEL(h)
gets the boundary's parent PWGM_HGRIDMODEL handle
CaeStrBoundary operator--(int)
Postfix decrement to the previous boundary in the group.
PWGM_HBNDRY enumBoundaries(PWP_UINT32 ndx) const
Get a boundary in the group.
The structured grid model class.
CaeStrBoundary & moveNext()
Rebinds an instance to the next boundary in the group.
bool operator>(const PWGM_HBNDRY &rhs)
Compares the relative order of two CaeStrBoundary instances.
bool data(PWGM_BNDRYDATA &data) const
Get information about the boundary.
CaeStrBoundary & operator=(const CaeStrBoundary &rhs)
Assignment operator.
bool operator<(const CaeStrBoundary &rhs) const
Compares the relative order of two CaeStrBoundary instances.
Structured grid boundary data type.
#define PWGM_HBNDRY_ISVALID(h)
returns non-zero value if handle is valid
CaeStrGridModel model() const
Gets the structured grid model of which this boundary is a member.
The structured boundary class.
CaeStrBoundary()
Default constructor.
Condition descriptor data type.
PWP_UINT32 index() const
Get the boundary's index in the group.
An opaque handle to a structured block boundary.
CaeStrBoundary & moveFirst(const CaeStrBoundaryGroup &group)
Rebinds an instance to the first boundary in the group.
Pointwise Plugin API (PWP-API)
PWP_BOOL PwBoundary(PWGM_HBNDRY boundary, PWGM_BNDRYDATA *pBndryData)
Get the boundary data.
~CaeStrBoundary()
Destructor.
CaeStrBoundary(const CaeStrBoundary &src)
Copy constructor.
The structured boundary group class.
CaeStrBoundary & moveTo(const CaeStrBoundaryGroup &group, PWP_UINT32 ndx)
Rebinds an instance to a specific group and boundary.