|
MKI_BLOCK_ENUM (Data Block Classes) Changed in Version 2025.0 |
www.CAD6.com |
|
This class contains a set of methods to create and parse the list of data blocks in all types of entities.
C++ Syntaxclass MKI_BLOCK_ENUM { public:
MKI_BLOCK_ENUM( MKI_CONST_ENTITY_PTR f_pEntity ); New in Version 2021.0 MKI_BLOCK_ENUM( MKI_CONST_ENTITY_OBJECT_PTR f_pObj ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_INSTANCE_PTR f_pInst ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_CLIP_PTR f_pClip ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_REF_PTR f_pRef ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_MAPPING_PTR f_pMap ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_GROUP_PTR f_pGroup ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_HATCH_PTR f_pHatch ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_EXT_PTR f_pExt ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_BLOCK_PTR f_pBlock ); MKI_BLOCK_ENUM( MKI_CONST_ENTITY_ATTRIB_PTR f_pBlock ); New in Version 2021.0
__int16 ApplyOffset( void ); Changed in Version 2021.0
__int16 const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_OBJECT_PTR f_pObj, MKI_CONST_BLOCK_PTR f_pBlock ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_OBJECT_PTR f_pObj, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_INSTANCE_PTR f_pInst, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_CLIP_PTR f_pClip, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_REF_PTR f_pRef, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_MAPPING_PTR f_pMap, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_GROUP_PTR f_pGroup, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_HATCH_PTR f_pHatch, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_EXT_PTR f_pExt, const MKI_OFFSET f_nOffset ); New in Version 2021.0
__int16 MKI_CONST_ENTITY_BLOCK_PTR f_pBlock, const MKI_OFFSET f_nOffset ); New in Version 2021.0
bool PreliminaryTerminate( void ); Renamed in Version 2025.0
bool TerminateAndSetSize( void ); New in Version 2021.0
bool AddSizeToOffset( void );
bool SetNext( void );
bool const MKI_BLOCK_ENUM& f_rEnum );
bool MKI_BLOCK_ENUM& f_rData1, MKI_BLOCK_ENUM& f_rData2 ) const;
bool MKI_BLOCK_ENUM& f_rData ) const;
bool const LPCBYTE f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool const LPCBYTE f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool MKI_CONST_ENTITY_PTR f_pSource ); New in Version 2021.0
bool MKI_CONST_ATTRIBUTE_DATA_REF f_rAttributes ); New in Version 2021.0
bool MKI_CONST_ATTRIBUTE_DATA_REF f_rAttributes ); New in Version 2021.0
bool MKI_CONST_ATTRIBUTE_DATA_REF f_rAttributes ); New in Version 2021.0
bool MKI_CONST_ATTRIBUTE_DATA_REF f_rAttributes ); New in Version 2021.0
bool IsNotEndOfList( void ) const;
bool; IsPoint( void ) const;
bool IsFixedPoint( void ) const;
bool IsAnyPoint( void ) const;
bool IsAnyPointOrInfo( void ) const;
bool IsAttribute( void ) const;
bool IsLocalAttribute( void ) const;
bool IsGlobalAttribute( void ) const;
bool IsBaseAttribute( void ) const; New in Version 2021.0
bool IsOutlineAttribute( void ) const; New in Version 2021.0
bool IsPointAttribute( void ) const; New in Version 2021.0
bool IsOutlineOrPointAttribute( void ) const; New in Version 2021.0
bool IsNotAttribute( void ) const;
bool IsNotBaseAttribute( void ) const; New in Version 2021.0
MKI_BLOCK_PTR GetAddress( void ) const;
MKI_BLOCK_HEADER_REF GetHeader( void ) const;
MKI_OFFSET GetOffset( void ) const;
__int16 GetFlag( void ) const;
bool const __int16 f_hFlag ) const; New in Version 2023.2
bool const __int16 f_hFlag ) const; New in Version 2023.2
MKI_OFFSET GetSize( void ) const;
__int16 GetIdent( void ) const;
__int16 GetElemType( void ) const;
__int16 GetElemCount( void ) const;
__int16 GetBlockOwner( void ) const;
__int16 GetBlockType( void ) const;
void const __int16 f_hFlag );
void const __int16 f_hFlag );
void const __int16 f_hFlag );
void const __int16 f_hFlag );
void const size_t f_nSize );
void const __int16 f_hIdent );
void const __int16 f_hElemType );
void const __int16 f_hElemCount );
void const __int16 f_hBlockOwner );
void const __int16 f_hBlockType );
double& Constant( void ) const;
double& Orient( void ) const;
bool IsOrientPositive( void ) const; New in Version 2021.0
bool IsOrientNegative( void ) const; New in Version 2021.0
double& Curve( void ) const;
MKI_ATTRIBUTENAME& AttributeName( void ) const;
LPWSTR AttributeText( void ) const;
__int32* Int32Ptr( void ) const; New in Version 2026.1
__int32& const __inst32 f_nIndex ) const; Changed in Version 2026.1
double* DoublePtr( void ) const; New in Version 2026.1
double& const __inst32 f_nIndex ) const; Changed in Version 2026.1
MKI_COLORVALUE_REF const __inst32 f_nIndex ) const; Changed in Version 2026.1
MKI_PROPERTY_REF const __inst32 f_nIndex ) const; Changed in Version 2026.1
MKI_XPROPERTY_REF const __inst32 f_nIndex ) const; Changed in Version 2026.1
MKI_FONTDEF_REF const __inst32 f_nIndex ) const; Changed in Version 2026.1
LPWSTR Text( void ) const;
LPBYTE Binary( void ) const;
MKI_POINT_REF Point( void ) const;
MKI_POINT_REF const __int32 f_nIndex ) const;
MKI_DIMLINE_REF DimLine( void ) const;
MKI_DIMLARGE_REF DimLarge( void ) const;
MKI_DIMSMALL_REF DimSmall( void ) const;
MKI_TEXTSTANDARD_REF TextStandard( void ) const;
MKI_TEXTFRAME_REF TextFrame( void ) const;
MKI_TEXTREFERENCE_REF TextReference( void ) const;
MKI_COMMENTDATA_REF CommentData( void ) const;
MKI_BITMAPREF_REF; BitmapRef( void ) const;
MKI_BLOCK_T001_REF Temp001( void ) const;
MKI_BLOCK_T002_REF Temp002( void ) const;
MKI_BLOCK_T003_REF Temp003( void ) const;
MKI_BLOCK_T004_REF Temp004( void ) const;
MKI_BLOCK_T005_REF Temp005( void ) const;
MKI_BLOCK_T006_REF Temp006( void ) const;
MKI_BLOCK_T007_REF Temp007( void ) const;
MKI_BLOCK_T008_REF Temp008( void ) const;
bool MKI_CONST_BLOCK_ENUM_REF f_rEnum ); New in Version 2021.0
bool __int32 f_nType, const double f_dX, const double f_dY ); New in Version 2021.0
bool __int32 f_nType, MKI_CONST_POINT_REF f_rPoint ); New in Version 2021.0
bool const bool f_fOrient ); New in Version 2021.0
bool const double f_dOrient ); New in Version 2021.0
bool const bool f_fOrient, const double f_dCurve ); New in Version 2021.0
bool const double f_dOrient, const double f_dCurve ); New in Version 2021.0
bool const double f_dValue ); New in Version 2021.0
bool const LPCWSTR f_pszText ); New in Version 2021.0
bool const LPCWSTR f_pszText, bool f_fStaticLength = false ); New in Version 2021.0
bool __int32 f_nType, const LPCWSTR f_pszName, const LPCWSTR f_pszValue, bool f_fStaticLength = false ); New in Version 2021.0
bool __int32 f_nType, const LPCWSTR f_pszText, const short f_unSize, bool f_fStaticLength ); New in Version 2026.1
bool __int32 f_nType, __int16 f_nElemType, __int16 f_nElemCount, const void* const f_pData, const size_t f_nSize ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, __int32 f_nCount ); New in Version 2026.1
bool __int32 f_nType, const size_t f_nSize ); New in Version 2026.1
bool AppendDimLine( void ); New in Version 2026.1
bool AppendDimLarge( void ); New in Version 2026.1
bool AppendDimSmall( void ); New in Version 2026.1
bool AppendTextStandard( void ); New in Version 2026.1
bool AppendTextFrame( void ); New in Version 2026.1
bool AppendTextReference( void ); New in Version 2026.1
bool AppendCommentData( void ); New in Version 2026.1
bool AppendBitmapRef( void ); New in Version 2026.1
void __int32 f_nType );
void __int32 f_nType, const double f_dX, const double f_dY );
void __int32 f_nType, MKI_CONST_POINT_REF f_rPoint );
void __int32 f_nType, __int32 f_nData );
void __int32 f_nType, __int32* f_pData, __int32 f_nCount );
void __int32 f_nType, double f_dData );
void __int32 f_nType, double* f_pData, __int32 f_nCount );
void InitOrientCurve( void );
void const bool f_fOrient, const double f_dCurve );
void const double f_dOrient, const double f_dCurve );
void InitText( __int16 f_hCount );
void InitEnd( void );
void __int32 f_nType, void* f_pData, __int32 f_nSize ); New in Version 2020.0
private:
MKI_ENTITY_PTR m_pEntity; LPBYTE m_pBase; MKI_BLOCK_PTR m_pData; MKI_OFFSET m_nHeader, m_nOffset; };
Element Descriptionm_pEntity New in Version 2021.0 [MKI_ENTITY_PTR] Address of the current entity. m_pBase New in Version 2021.0 [LPBYTE] Base address of the current entity's data block section (usually named m_pData in any entity type such as MKI_ENTITY_OBJECT). m_pData [MKI_BLOCK_PTR] Current data block this enumerator points to (base address plus offset). m_nHeader New in Version 2021.0 [MKI_OFFSET] Size of the current entity's header, i.e. the number of bytes before the data block section (e.g. sizeof( MKI_ENTITY_OBJECT ) in case of an object). m_nOffset [MKI_OFFSET] Current offset in bytes of this enumerator from the begin of current entity's data block section.
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH