![]() |
AddSizeToOffset (class MKI_BLOCK_ENUM) |
www.CAD6.com |
C++ Syntaxbool MKI_BLOCK_ENUM::AddSizeToOffset( void );
Adds the size of the current data block to m_nOffset without initializing m_pData.
This does not change the value of m_pData! Call MKI_BLOCK_ENUM::ApplyOffset to update the current address.
This is usually used in loops such as:
MKI_BLOCK_ENUM b1( pObj ); do { switch( b1.ApplyOffset() ) { case MKI_DB_POINT_START: // Do something with the data block break;
case MKI_DB_POINT_END: // Do something with the data block break;
[...] } } while( b1.AddSizeToOffset() );
Return ValueReturns true if the new offset is still valid and the previous data block's type was not MKI_DB_END. Otherwise, false is returned.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH