Pointwise Plugin SDK
|
The volume and boundary condition data class. More...
#include <CaeGridModel.h>
Public Member Functions | |
CaeCondition () | |
Default constructor. More... | |
CaeCondition (const CaeCondition &src) | |
Copy constructor. More... | |
CaeCondition (const PWGM_CONDDATA &cd) | |
Cast/Copy constructor. More... | |
bool | hasUnspecifiedId () const |
Returns true if the condition's user id is UnspecifiedId. More... | |
bool | hasUnspecifiedType () const |
Returns true if the condition's type id is UnspecifiedTypeId. More... | |
PWP_UINT32 | id () const |
Gets the user assigned condition id value. More... | |
bool | isOfType (PWP_UINT32 tid) const |
Returns true if condition is of the specified type id. More... | |
bool | isUnspecified () const |
Returns true if either or both of the condition's types is unspecified. More... | |
const char * | name () const |
Gets the user assigned condition name. More... | |
operator const PWGM_CONDDATA & () const | |
Const PWGM_CONDDATA casting operator. More... | |
operator PWGM_CONDDATA & () | |
Non-const PWGM_CONDDATA casting operator. More... | |
CaeCondition & | operator= (const CaeCondition &src) |
Assignment operator. More... | |
CaeCondition & | operator= (const PWGM_CONDDATA &cd) |
Assignment operator. More... | |
PWP_UINT32 | typeId () const |
Gets the solver defined condition type id value. More... | |
const char * | typeName () const |
Gets the solver defined condition type name. More... | |
~CaeCondition () | |
Destructor. More... | |
Static Public Attributes | |
static const PWP_UINT32 | UnspecifiedId = PWP_UINT32(2147483647) |
The reserved "unspecified" condition Id value. More... | |
static const PWP_UINT32 | UnspecifiedTypeId = PWP_UINT32(0) |
The reserved "unspecified" condition TypeId value. More... | |
Private Attributes | |
PWGM_CONDDATA | cd_ |
The condition data struct. More... | |
The volume and boundary condition data class.
The CaeCondition class represents the data available for both volume and boundary conditions. This class's data is populated with a call to one of the CaeStrBlock::condition(), CaeUnsBlock::condition() or CaeUnsPatch::condition() methods.
Definition at line 450 of file CaeGridModel.h.
|
inline |
Default constructor.
Constructs an "unspecified" condition data object.
Definition at line 466 of file CaeGridModel.h.
References cd_, PWGM_CONDDATA::id, PWGM_CONDDATA::name, PWGM_CONDDATA::tid, PWGM_CONDDATA::type, UnspecifiedId, and UnspecifiedTypeId.
|
inline |
|
inline |
|
inline |
Destructor.
Definition at line 490 of file CaeGridModel.h.
|
inline |
Returns true if the condition's user id is UnspecifiedId.
Definition at line 537 of file CaeGridModel.h.
References cd_, PWGM_CONDDATA::id, and UnspecifiedId.
Referenced by isUnspecified().
|
inline |
Returns true if the condition's type id is UnspecifiedTypeId.
Definition at line 545 of file CaeGridModel.h.
References cd_, PWGM_CONDDATA::tid, and UnspecifiedTypeId.
Referenced by isUnspecified().
|
inline |
Gets the user assigned condition id value.
Definition at line 505 of file CaeGridModel.h.
References cd_, and PWGM_CONDDATA::id.
|
inline |
Returns true if condition is of the specified type id.
Definition at line 529 of file CaeGridModel.h.
References cd_, and PWGM_CONDDATA::tid.
|
inline |
Returns true if either or both of the condition's types is unspecified.
Equivalent to calling hasUnspecifiedId() || hasUnspecifiedType().
Definition at line 557 of file CaeGridModel.h.
References hasUnspecifiedId(), and hasUnspecifiedType().
|
inline |
Gets the user assigned condition name.
Definition at line 497 of file CaeGridModel.h.
References cd_, and PWGM_CONDDATA::name.
|
inline |
Const PWGM_CONDDATA casting operator.
Definition at line 587 of file CaeGridModel.h.
References cd_.
|
inline |
Non-const PWGM_CONDDATA casting operator.
Definition at line 580 of file CaeGridModel.h.
References cd_.
|
inline |
|
inline |
|
inline |
Gets the solver defined condition type id value.
Definition at line 521 of file CaeGridModel.h.
References cd_, and PWGM_CONDDATA::tid.
|
inline |
Gets the solver defined condition type name.
Definition at line 513 of file CaeGridModel.h.
References cd_, and PWGM_CONDDATA::type.
|
private |
The condition data struct.
Definition at line 595 of file CaeGridModel.h.
Referenced by CaeCondition(), hasUnspecifiedId(), hasUnspecifiedType(), id(), isOfType(), name(), operator const PWGM_CONDDATA &(), operator PWGM_CONDDATA &(), operator=(), typeId(), and typeName().
|
static |
The reserved "unspecified" condition Id value.
Definition at line 454 of file CaeGridModel.h.
Referenced by CaeCondition(), and hasUnspecifiedId().
|
static |
The reserved "unspecified" condition TypeId value.
Definition at line 457 of file CaeGridModel.h.
Referenced by CaeCondition(), and hasUnspecifiedType().