Constructor (class MKI_BLOCK_ENUM) Changed in Version 2021.0

www.CAD6.com

C++ Syntax

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_PTR f_pEntity ); New in Version 2021.0

 

Initializing constructor with the given entity's address which will be stored in m_pEntity. Sets m_nHeader to the correct value, m_nOffset to 0, and consequently both m_pBase and m_pData to the first data block in the given entity.

 

When using this version of the constructor (with a generic MKI_CONST_ENTITY_PTR as parameter), the value Header.EntityType in the given entity must already be initialized with the desired entity type for it to work properly.

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_OBJECT_PTR f_pObj );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_INSTANCE_PTR f_pInst );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_CLIP_PTR f_pClip );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_REF_PTR f_pRef );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_MAPPING_PTR f_pMap );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_GROUP_PTR f_pGroup );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_HATCH_PTR f_pHatch );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_EXT_PTR f_pExt );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_BLOCK_PTR f_pBlock );

 

MKI_BLOCK_ENUM::MKI_BLOCK_ENUM(

 MKI_CONST_ENTITY_ATTRIB_PTR f_pAttrib ); New in Version 2021.0

 

Initializing constructor with the given entity's address which will be stored in m_pEntity. Sets m_nHeader to the correct value, m_nOffset to 0, and consequently both m_pBase and m_pData to the first data block in the given entity.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH