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