![]() |
MKI_BLOCK_ENUM (Data Block Classes) Changed in Version 2025.0 |
www.CAD6.com |
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 SetNext( const MKI_BLOCK_ENUM& f_rEnum );
bool MKI_BLOCK_ENUM& f_rData1, MKI_BLOCK_ENUM& f_rData2 ) const;
bool ParseArc( 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 IsFlagSet( const __int16 f_hFlag ) const; New in Version 2023.2
bool IsFlagClear( 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 SetFlag( const __int16 f_hFlag );
void SetFlagBits( const __int16 f_hFlag );
void ClearFlagBits( const __int16 f_hFlag );
void InvertFlagBits( const __int16 f_hFlag );
void SetAlignSize( const size_t f_nSize );
void SetIdent( const __int16 f_hIdent );
void SetElemType( const __int16 f_hElemType );
void SetElemCount( const __int16 f_hElemCount );
void SetBlockOwner( const __int16 f_hBlockOwner );
void SetBlockType( 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* Int32( void ) const;
double* Double( void ) const;
MKI_COLORVALUE_PTR Color( void ) const;
MKI_PROPERTY_PTR Property( void ) const;
MKI_XPROPERTY_PTR XProperty( void ) const;
MKI_FONTDEF_PTR FontDef( void ) const;
LPWSTR Text( void ) const;
LPBYTE Binary( void ) const;
MKI_POINT_REF Point( void ) const;
MKI_POINT_REF Point( 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 AppendOrientArc( const bool f_fOrient ); New in Version 2021.0
bool AppendOrientArc( 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 AppendTextLong( 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 AppendAny( __int32 f_nType ); New in Version 2021.0
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; };
This class contains a set of methods to create and parse the list of data blocks in all types of entities.
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 2025.0 - Copyright 2025 Malz++Kassner® GmbH