Model GetBlockIndex

Declaration

Public Method

long GetBlockIndex(const Block* block) const

Description

GetBlockIndex() is a method that returns the block index of a particular Block in a Model. The block pointer is compared against the Model’s internal array of blocks to find a match.

Remarks

 
Exceptions
MeiException An exception is thrown if the block index is not in the range of valid Blocks in the Model.