GME  13
Defines | Functions
MgaGeneric.h File Reference

Go to the source code of this file.

Defines

#define ATTRID_REF_MIN   500
#define ATTRID_REF_MAX   699
#define ATTRID_LINKREF_MIN   600
#define _gen_rangetest(s)   s
#define XREF_ATTR(s)   (_gen_rangetest(s) >= ATTRID_REF_MIN && (s) < ATTRID_LINKREF_MIN)
#define LINKREF_ATTR(s)   (_gen_rangetest(s) >= ATTRID_LINKREF_MIN && (s) <= ATTRID_REF_MAX)
#define ATTRID_PARADIGM   400
#define ATTRID_META   401
#define ATTRID_PARENT   602
#define ATTRID_FPARENT   ATTRID_PARENT
#define ATTRID_FCOPARENT   ATTRID_PARENT
#define ATTRID_ROLEMETA   404
#define ATTRID_REFERENCE   505
#define ATTRID_XREF   ATTRID_FCOREFATTR
#define ATTRID_GUID   406
#define ATTRID_PARGUID   407
#define ATTRID_RELID   408
#define ATTRID_LASTRELID   409
#define ATTRID_FILESTATUS   410
#define ATTRID_GUID1   411
#define ATTRID_GUID2   412
#define ATTRID_GUID3   413
#define ATTRID_GUID4   414
#define ATTRID_DERIVED   510
#define ATTRID_SEGREF   511
#define ATTRID_SETMEMBER   612
#define ATTRID_CONNSEG   613
#define ATTRID_CONNROLE   614
#define ATTRID_PERMISSIONS   415
#define ATTRID_SEGORDNUM   416
#define ATTRID_MASTEROBJ   517
#define ATTRID_REFASPECT   418
#define ATTRID_MGAVERSION   419
#define ATTRID_ATTRPARENT   620
#define ATTRID_ATTRTYPESBASE   420
#define ATTRID_STRATTR   421
#define ATTRID_INTATTR   422
#define ATTRID_FLOATATTR   423
#define ATTRID_BOOLATTR   424
#define ATTRID_FCOREFATTR   525
#define ATTRID_CDATE   430
#define ATTRID_MDATE   431
#define ATTRID_CREATOR   432
#define ATTRID_EXTDATA   433
#define ATTRID_VERSION   434
#define ATTRID_PARVERSION   435
#define ATTRID_CONSTROCL   450
#define ATTRID_CONSTRPRIORITY   451
#define ATTRID_CONSTROWNER   652
#define ATTRID_REGNOWNER   655
#define ATTRID_REGNODEVALUE   457
#define ATTRID_REGFLAGS   458
#define ATTRID_REGNODE   457
#define DTID_ROOT   1
#define DTID_BASE   100
#define DTID_MODEL   101
#define DTID_ATOM   102
#define DTID_REFERENCE   103
#define DTID_CONNECTION   104
#define DTID_SET   105
#define DTID_FOLDER   106
#define DTID_CONNROLE   107
#define DTID_CONNROLESEG   108
#define DTID_ATTRTYPESBASE   110
#define DTID_STRATTR   111
#define DTID_INTATTR   112
#define DTID_FLOATATTR   113
#define DTID_BOOLATTR   114
#define DTID_REFATTR   115
#define DTID_CONSTRAINT   120
#define DTID_REGNODE   121
#define DTID_SETNODE   122
#define VALTYPE_METAREF   VALTYPE_LONG
#define VALTYPE_DATE   VALTYPE_STRING
#define VALTYPE_BOOL   VALTYPE_LONG
#define PRIM_PARTTYP   1
#define SEC_PARTTYP   2
#define LINK_PARTTYP   4
#define METAREF_NULL   0
#define INSTANCE_FLAG   1
#define LIBRARY_FLAG   2
#define LIBROOT_FLAG   4
#define EXEMPT_FLAG   8
#define READONLY_FLAG   16
#define NEWNAME_MAXNUM   10000

Functions

void CreateCoreMetaProject (CComPtr< ICoreMetaProject > &project, bool v2=false)

Define Documentation

#define _gen_rangetest (   s)    s

Definition at line 15 of file MgaGeneric.h.

#define ATTRID_ATTRPARENT   620

Definition at line 53 of file MgaGeneric.h.

#define ATTRID_ATTRTYPESBASE   420

Definition at line 56 of file MgaGeneric.h.

#define ATTRID_BOOLATTR   424

Definition at line 60 of file MgaGeneric.h.

#define ATTRID_CDATE   430

Definition at line 64 of file MgaGeneric.h.

#define ATTRID_CONNROLE   614

Definition at line 45 of file MgaGeneric.h.

#define ATTRID_CONNSEG   613

Definition at line 44 of file MgaGeneric.h.

#define ATTRID_CONSTROCL   450

Definition at line 71 of file MgaGeneric.h.

#define ATTRID_CONSTROWNER   652

Definition at line 73 of file MgaGeneric.h.

#define ATTRID_CONSTRPRIORITY   451

Definition at line 72 of file MgaGeneric.h.

#define ATTRID_CREATOR   432

Definition at line 66 of file MgaGeneric.h.

#define ATTRID_DERIVED   510

Definition at line 41 of file MgaGeneric.h.

#define ATTRID_EXTDATA   433

Definition at line 67 of file MgaGeneric.h.

Definition at line 26 of file MgaGeneric.h.

#define ATTRID_FCOREFATTR   525

Definition at line 61 of file MgaGeneric.h.

#define ATTRID_FILESTATUS   410

Definition at line 35 of file MgaGeneric.h.

#define ATTRID_FLOATATTR   423

Definition at line 59 of file MgaGeneric.h.

Definition at line 25 of file MgaGeneric.h.

#define ATTRID_GUID   406

Definition at line 30 of file MgaGeneric.h.

#define ATTRID_GUID1   411

Definition at line 36 of file MgaGeneric.h.

#define ATTRID_GUID2   412

Definition at line 37 of file MgaGeneric.h.

#define ATTRID_GUID3   413

Definition at line 38 of file MgaGeneric.h.

#define ATTRID_GUID4   414

Definition at line 39 of file MgaGeneric.h.

#define ATTRID_INTATTR   422

Definition at line 58 of file MgaGeneric.h.

#define ATTRID_LASTRELID   409

Definition at line 34 of file MgaGeneric.h.

#define ATTRID_LINKREF_MIN   600

Definition at line 10 of file MgaGeneric.h.

#define ATTRID_MASTEROBJ   517

Definition at line 48 of file MgaGeneric.h.

#define ATTRID_MDATE   431

Definition at line 65 of file MgaGeneric.h.

#define ATTRID_META   401

Definition at line 23 of file MgaGeneric.h.

#define ATTRID_MGAVERSION   419

Definition at line 51 of file MgaGeneric.h.

#define ATTRID_PARADIGM   400

Definition at line 22 of file MgaGeneric.h.

#define ATTRID_PARENT   602

Definition at line 24 of file MgaGeneric.h.

#define ATTRID_PARGUID   407

Definition at line 31 of file MgaGeneric.h.

#define ATTRID_PARVERSION   435

Definition at line 69 of file MgaGeneric.h.

#define ATTRID_PERMISSIONS   415

Definition at line 46 of file MgaGeneric.h.

#define ATTRID_REF_MAX   699

Definition at line 9 of file MgaGeneric.h.

#define ATTRID_REF_MIN   500

Definition at line 8 of file MgaGeneric.h.

#define ATTRID_REFASPECT   418

Definition at line 49 of file MgaGeneric.h.

#define ATTRID_REFERENCE   505

Definition at line 28 of file MgaGeneric.h.

#define ATTRID_REGFLAGS   458

Definition at line 77 of file MgaGeneric.h.

#define ATTRID_REGNODE   457

Definition at line 78 of file MgaGeneric.h.

#define ATTRID_REGNODEVALUE   457

Definition at line 76 of file MgaGeneric.h.

#define ATTRID_REGNOWNER   655

Definition at line 75 of file MgaGeneric.h.

#define ATTRID_RELID   408

Definition at line 33 of file MgaGeneric.h.

#define ATTRID_ROLEMETA   404

Definition at line 27 of file MgaGeneric.h.

#define ATTRID_SEGORDNUM   416

Definition at line 47 of file MgaGeneric.h.

#define ATTRID_SEGREF   511

Definition at line 42 of file MgaGeneric.h.

#define ATTRID_SETMEMBER   612

Definition at line 43 of file MgaGeneric.h.

#define ATTRID_STRATTR   421

Definition at line 57 of file MgaGeneric.h.

#define ATTRID_VERSION   434

Definition at line 68 of file MgaGeneric.h.

Definition at line 29 of file MgaGeneric.h.

#define DTID_ATOM   102

Definition at line 89 of file MgaGeneric.h.

#define DTID_ATTRTYPESBASE   110

Definition at line 100 of file MgaGeneric.h.

#define DTID_BASE   100

Definition at line 87 of file MgaGeneric.h.

#define DTID_BOOLATTR   114

Definition at line 104 of file MgaGeneric.h.

#define DTID_CONNECTION   104

Definition at line 91 of file MgaGeneric.h.

#define DTID_CONNROLE   107

Definition at line 96 of file MgaGeneric.h.

#define DTID_CONNROLESEG   108

Definition at line 97 of file MgaGeneric.h.

#define DTID_CONSTRAINT   120

Definition at line 108 of file MgaGeneric.h.

#define DTID_FLOATATTR   113

Definition at line 103 of file MgaGeneric.h.

#define DTID_FOLDER   106

Definition at line 93 of file MgaGeneric.h.

#define DTID_INTATTR   112

Definition at line 102 of file MgaGeneric.h.

#define DTID_MODEL   101

Definition at line 88 of file MgaGeneric.h.

#define DTID_REFATTR   115

Definition at line 105 of file MgaGeneric.h.

#define DTID_REFERENCE   103

Definition at line 90 of file MgaGeneric.h.

#define DTID_REGNODE   121

Definition at line 109 of file MgaGeneric.h.

#define DTID_ROOT   1

Definition at line 84 of file MgaGeneric.h.

#define DTID_SET   105

Definition at line 92 of file MgaGeneric.h.

#define DTID_SETNODE   122

Definition at line 110 of file MgaGeneric.h.

#define DTID_STRATTR   111

Definition at line 101 of file MgaGeneric.h.

#define EXEMPT_FLAG   8

Definition at line 127 of file MgaGeneric.h.

#define INSTANCE_FLAG   1

Definition at line 124 of file MgaGeneric.h.

#define LIBRARY_FLAG   2

Definition at line 125 of file MgaGeneric.h.

#define LIBROOT_FLAG   4

Definition at line 126 of file MgaGeneric.h.

#define LINK_PARTTYP   4

Definition at line 120 of file MgaGeneric.h.

#define LINKREF_ATTR (   s)    (_gen_rangetest(s) >= ATTRID_LINKREF_MIN && (s) <= ATTRID_REF_MAX)

Definition at line 19 of file MgaGeneric.h.

#define METAREF_NULL   0

Definition at line 122 of file MgaGeneric.h.

#define NEWNAME_MAXNUM   10000

Definition at line 131 of file MgaGeneric.h.

#define PRIM_PARTTYP   1

Definition at line 118 of file MgaGeneric.h.

#define READONLY_FLAG   16

Definition at line 128 of file MgaGeneric.h.

#define SEC_PARTTYP   2

Definition at line 119 of file MgaGeneric.h.

#define VALTYPE_BOOL   VALTYPE_LONG

Definition at line 115 of file MgaGeneric.h.

Definition at line 114 of file MgaGeneric.h.

Definition at line 113 of file MgaGeneric.h.

#define XREF_ATTR (   s)    (_gen_rangetest(s) >= ATTRID_REF_MIN && (s) < ATTRID_LINKREF_MIN)

Definition at line 18 of file MgaGeneric.h.


Function Documentation

void CreateCoreMetaProject ( CComPtr< ICoreMetaProject > &  project,
bool  v2 = false 
)

Definition at line 3 of file MgaGeneric.cpp.