Pointwise Plugin SDK
|
The grid block base class. More...
#include <CaeGridModel.h>
Public Member Functions | |
bool | condition (PWGM_CONDDATA &condData) const |
Gets the block's condition data. More... | |
bool | data (PWGM_BLOCKDATA &data) |
Get the block data. More... | |
PWP_UINT32 | index () const |
Get a block's index. More... | |
bool | isValid () const |
Determines a block's validity. More... | |
CaeBlock & | moveFirst (PWGM_HGRIDMODEL model) |
Rebinds an instance to the first block in a model. More... | |
CaeBlock & | moveNext () |
Rebinds an instance to the next block in a model. More... | |
CaeBlock & | movePrev () |
Rebinds an instance to the previous block in a model. More... | |
CaeBlock & | moveTo (PWGM_HGRIDMODEL model, PWP_UINT32 ndx) |
Rebinds an instance to a specific model block. More... | |
operator PWGM_HBLOCK () const | |
The PWGM_HBLOCK cast operator. More... | |
CaeBlock & | operator++ () |
Prefix increment to the next block in a model. More... | |
CaeBlock | operator++ (int) |
Postfix increment to the next block in a model. More... | |
CaeBlock & | operator-- () |
Prefix decrement to the previous block in a model. More... | |
CaeBlock | operator-- (int) |
Postfix decrement to the previous block in a model. More... | |
CaeBlock & | operator= (const CaeBlock &rhs) |
Assignment operator. More... | |
CaeBlock & | operator= (PWGM_HBLOCK block) |
Assignment operator. More... | |
bool | operator== (const CaeBlock &rhs) const |
Compares two CaeBlock instances for equality. More... | |
bool | setExportName (const char *name) |
Set the name used to identify the block or group of blocks in the exported grid. More... | |
Protected Member Functions | |
CaeBlock () | |
Default constructor. More... | |
CaeBlock (const CaeBlock &src) | |
Copy constructor. More... | |
CaeBlock (PWGM_HBLOCK block) | |
Block handle constructor. More... | |
CaeBlock (PWGM_HGRIDMODEL model, PWP_UINT32 ndx=0) | |
Model and block index constructor. More... | |
~CaeBlock () | |
Destructor. More... | |
Protected Attributes | |
PWGM_HBLOCK | block_ |
The bound PWGM_HBLOCK. More... | |
The grid block base class.
This class cannot be directly instantiated. It can only be used as a subclass.
Definition at line 174 of file CaeGridModel.h.
|
inlineprotected |
Copy constructor.
Binds this block to the same block as src.
src | A block instance. |
Definition at line 182 of file CaeGridModel.h.
References block_.
|
inlineprotected |
Destructor.
Definition at line 187 of file CaeGridModel.h.
|
inlineprotected |
Default constructor.
Constructs an invalid block.
Definition at line 388 of file CaeGridModel.h.
References block_.
|
inlineprotected |
Block handle constructor.
Constructs a block bound to the specified handle.
block | The block handle to bind. |
Definition at line 399 of file CaeGridModel.h.
|
inlineprotected |
Model and block index constructor.
Constructs a block bound to the grid block at the specified index.
model | The grid model handle. |
ndx | The block's index. |
Definition at line 409 of file CaeGridModel.h.
References moveTo().
|
inline |
Gets the block's condition data.
condData | The PWGM_CONDDATA buffer. |
Definition at line 215 of file CaeGridModel.h.
References block_, and PwBlkCondition().
|
inline |
Get the block data.
data | A PWGM_BLOCKDATA buffer. |
Definition at line 225 of file CaeGridModel.h.
|
inline |
Get a block's index.
Definition at line 197 of file CaeGridModel.h.
References block_, and PWGM_HBLOCK_ID.
|
inline |
Determines a block's validity.
Definition at line 242 of file CaeGridModel.h.
References block_, and PWGM_HBLOCK_ISVALID.
|
inline |
Rebinds an instance to the first block in a model.
model | The grid model. |
Definition at line 288 of file CaeGridModel.h.
References moveTo().
|
inline |
Rebinds an instance to the next block in a model.
Definition at line 298 of file CaeGridModel.h.
References block_, PWGM_HBLOCK_H, PWGM_HBLOCK_ID, and PwModEnumBlocks().
Referenced by operator++().
|
inline |
Rebinds an instance to the previous block in a model.
Definition at line 333 of file CaeGridModel.h.
References block_, PWGM_HBLOCK_H, PWGM_HBLOCK_ID, and PwModEnumBlocks().
Referenced by operator--().
|
inline |
Rebinds an instance to a specific model block.
model | The grid model. |
ndx | The block's index. |
Definition at line 276 of file CaeGridModel.h.
References block_, and PwModEnumBlocks().
Referenced by CaeBlock(), and moveFirst().
|
inline |
|
inline |
Prefix increment to the next block in a model.
Definition at line 311 of file CaeGridModel.h.
References moveNext().
Referenced by operator++().
|
inline |
Postfix increment to the next block in a model.
Definition at line 321 of file CaeGridModel.h.
References operator++().
|
inline |
Prefix decrement to the previous block in a model.
Definition at line 346 of file CaeGridModel.h.
References movePrev().
Referenced by operator--().
|
inline |
Postfix decrement to the previous block in a model.
Definition at line 356 of file CaeGridModel.h.
References operator--().
Assignment operator.
Rebind this block to the same block as rhs.
rhs | A patch instance. |
Definition at line 252 of file CaeGridModel.h.
References block_.
|
inline |
Assignment operator.
Rebind this instance to the specified block handle.
block | The block handle. |
Definition at line 263 of file CaeGridModel.h.
References block_.
|
inline |
Compares two CaeBlock instances for equality.
Definition at line 371 of file CaeGridModel.h.
References block_.
|
inline |
Set the name used to identify the block or group of blocks in the exported grid.
name | The exported name. |
Definition at line 236 of file CaeGridModel.h.
References block_, and PwBlkSetExportName().
|
protected |
The bound PWGM_HBLOCK.
Definition at line 415 of file CaeGridModel.h.
Referenced by CaeBlock(), condition(), data(), CaeStrBlock::data(), index(), isValid(), CaeStrBlock::model(), CaeUnsBlock::model(), moveNext(), movePrev(), moveTo(), CaeStrBlock::ndxVertData(), operator PWGM_HBLOCK(), operator=(), operator==(), setExportName(), and CaeStrBlock::size().