MKI_FILE_HEADER (Entity Data Classes) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

class MKI_FILE_HEADER

{

  public:

 

  __int64 m_nCreated,

          m_nModified,

          m_nExpired;

  MKI_COMMENTSHORT m_szTitle,

                   m_szTheme,

                   m_szCreator,

                   m_szModifier;

  MKI_COMMENTLONG m_szComment;

 

  void

  Init( void );

};

 

This structure contains a file description header for MKD files.

 

Element Description

m_nCreated

[__int64] Time when the file was originally created (0=unknown). This value represents the number of 100-nanosecond intervals since January 1, 1601.

m_nModified

[__int64] Time when the file was last modified (0=unknown). This value represents the number of 100-nanosecond intervals since January 1, 1601.

m_nExpired

[__int64] Time when the file expires (0=unlimited). This value represents the number of 100-nanosecond intervals since January 1, 1601. After this time, the file can only be opened by a registered version.

m_szTitle Changed in Version 2019.1

[MKI_COMMENTSHORT] Title of the file. This text usually contains a detailed description of the file.

m_szTheme Changed in Version 2019.1

[MKI_COMMENTSHORT] Theme of the file. This text usually contains a description of the project the file belongs to.

m_szCreator Changed in Version 2019.1

[MKI_COMMENTSHORT] Name of the user that originally created this file.

m_szModifier Changed in Version 2019.1

[MKI_COMMENTSHORT] Name of the user that last modified this file.

m_szComment Changed in Version 2019.1

[MKI_COMMENTLONG] This text contains any further comment on the file.

 

MKD Syntax of a Drawing File Header

Malz++Kassner MKD 6222;

 

=DRAWING=;

Created,Updated,Expired,

Title,

Theme,

Creator,

Modifier,

Comment;

=END=;

 

The section =DRAWING= has to exist in every drawing file! If desired, this section may contain only the title of the drawing, set to "" (empty text). In this case, the value Title will be set to the drawing's file name.

 

In any case, empty texts at the end of the section do not have to be stated, if e.g. Comment is empty, the section can already be ended after Author, which then has to be followed by a semicolon. When reading this section, simply read all texts available (by reading until a semicolon is found) and set all other texts to "".

 

MKD Syntax of a Library File Header

Malz++Kassner MKD 6222;

 

=LIBRARY=;

Created,Updated,Expired,

Title,

Theme,

Creator,

Modifier,

Comment;

=END=

 

The section =LIBRARY= has to exist in every library file! If desired, this section may contain only the title of the library.

 

In any case, empty texts at the end of the section do not have to be stated, if e.g. Comment is empty, the section can already be ended after Date2, which then has to be followed by a semicolon. When reading this section, simply read all texts available (by reading until a semicolon is found) and set all other texts to "".

 

MKD Syntax of a Collection File Header

Malz++Kassner MKD 6222;

 

=COLLECTION=;

Created,Updated,Expired,

Title,

Theme,

Creator,

Modifier,

Comment;

=END=

 

The section =COLLECTION= has to exist in every collection file! If desired, this section may contain only the title of the collection.

 

In any case, empty texts at the end of the section do not have to be stated, if e.g. Comment is empty, the section can already be ended after Date2, which then has to be followed by a semicolon. When reading this section, simply read all texts available (by reading until a semicolon is found) and set all other texts to "".

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH