9 #if !defined(PWGM_HIDE_STRUCTURED_API)
11 #ifndef _CAESTRCONNECTION_H_
12 #define _CAESTRCONNECTION_H_
76 PWGM_HCNXN_SET_INVALID(
h_);
88 PWGM_HCNXN_SET_INVALID(
h_);
307 return !(rhs == *
this);
334 return !(*
this == rhs) && !(*
this < rhs);
349 #endif // _CAESTRCONNECTION_H_
351 #endif // PWGM_HIDE_STRUCTURED_API
CaeStrConnection operator--(int)
Postfix decrement to the previous connection in the group.
bool data(PWGM_CNXNDATA &data) const
Get information about the connection.
bool operator>(const PWGM_HCNXN &rhs)
Compares the relative order of two CaeStrConnection instances.
~CaeStrConnection()
Destructor.
CaeStrGridModel model() const
Gets the structured grid model of which this connection is a member.
Pointwise Plugin API (PWP-API)
bool isValid() const
Determines a connection's validity.
CaeStrConnection & operator++()
Prefix increment to the next connection in the group.
CaeStrConnection()
Default constructor.
CaeStrConnection & moveFirst(const CaeStrConnectionGroup &group)
Rebinds an instance to the first connection in the group.
CaeStrConnection & moveFirst()
Rebinds an instance to the first connection in the current group.
PWP_BOOL PwConnection(PWGM_HCNXN connection, PWGM_CNXNDATA *pCnxnData)
Get the connection data.
Pointwise Grid Model API Specification (PWGM-API)
PWGM_HCNXN h_
The bound PWGM_HCNXN.
An opaque handle to a structured, inter-block connection.
CaeStrConnection & moveTo(const CaeStrConnectionGroup &group, PWP_UINT32 ndx)
Rebinds an instance to a specific group and connection.
PWP_UINT32 modelIndex() const
Get the connection's model index.
CaeStrConnection(const CaeStrConnection &src)
Copy constructor.
#define PWGM_HCNXN_MODEL(h)
gets the connection's parent PWGM_HGRIDMODEL handle
#define PWGM_HCNXN_ID(h)
gets the connection's guid from the handle
#define PWGM_HCNXN_ISVALID(h)
returns non-zero value if handle is valid
PWP_UINT32 groupNdx_
The current index in the group's index space.
bool operator<(const CaeStrConnection &rhs) const
Compares the relative order of two CaeStrConnection instances.
The structured block to block connection group class.
The structured grid model class.
The structured block to block connection class.
CaeStrConnection(const CaeStrConnectionGroup &group, PWP_UINT32 ndx=0)
Group and connection index constructor.
CaeStrConnection & moveNext()
Rebinds an instance to the next connection in the group.
PWGM_HCNXN enumConnections(PWP_UINT32 ndx) const
Get an connection in the group.
const CaeStrConnectionGroup * group_
The owning connection group.
bool operator==(const CaeStrConnection &rhs) const
Compares two CaeStrConnection instances for equality.
bool operator!=(const CaeStrConnection &rhs) const
Compares two CaeStrConnection instances for inequality.
CaeStrConnection & operator=(const CaeStrConnection &rhs)
Assignment operator.
CaeStrConnection operator++(int)
Postfix increment to the next connection in the group.
Structured grid, inter-block, connection data type.
PWP_UINT32 index() const
Get the connection's index in the group.
CaeStrConnection & moveTo(PWP_UINT32 ndx)
Rebinds an instance to a specific connection within the current group.
CaeStrConnection & movePrev()
Rebinds an instance to the previous connection in the group.
CaeStrConnection & operator--()
Prefix decrement to the previous connection in the group.