GME  13
CoreMetaDefines.h
Go to the documentation of this file.
00001 
00002 #ifndef MGA_COREMETADEFINES_H
00003 #define MGA_COREMETADEFINES_H
00004 
00005 // ------- generator
00006 
00007 void CreateCoreMetaProject(CComPtr<ICoreMetaProject> &project);
00008 
00009 // ------- VALTYPE
00010 
00011 #define VALTYPE_METAREF                                 VALTYPE_LONG
00012 #define VALTYPE_DATE                                    VALTYPE_STRING
00013 
00014 // ------- MetaID
00015 
00016 #define METAID_METAPROJECT                              METAID_ROOT
00017 
00018 // check the enum in the idl file
00019 #define METAID_METABASE                                 200
00020 
00021 #define METAID_METAMODEL                                METAID_METABASE + OBJTYPE_MODEL
00022 #define METAID_METAATOM                                 METAID_METABASE + OBJTYPE_ATOM
00023 #define METAID_METAREFERENCE                    METAID_METABASE + OBJTYPE_REFERENCE
00024 #define METAID_METACONNECTION                   METAID_METABASE + OBJTYPE_CONNECTION
00025 #define METAID_METASET                                  METAID_METABASE + OBJTYPE_SET
00026 #define METAID_METAFOLDER                               METAID_METABASE + OBJTYPE_FOLDER
00027 #define METAID_METAASPECT                               METAID_METABASE + OBJTYPE_ASPECT
00028 #define METAID_METAROLE                                 METAID_METABASE + OBJTYPE_ROLE
00029 #define METAID_METAATTRIBUTE                    METAID_METABASE + OBJTYPE_ATTRIBUTE
00030 #define METAID_METAPART                                 METAID_METABASE + OBJTYPE_PART
00031 
00032 #define METAID_METACONNJOINT                    221
00033 #define METAID_METAPOINTERSPEC                  222
00034 #define METAID_METAPOINTERITEM                  223
00035 #define METAID_METAFOLDERLINK                   224
00036 #define METAID_METAROOTOBJLINK                  225
00037 #define METAID_METAATTRLINK                             226
00038 #define METAID_METAREGNODE                              227
00039 #define METAID_METAENUMITEM                             228
00040 #define METAID_METACONSTRAINT                   229
00041 
00042 // ------- AttrID
00043 
00044 //              ATTRID_NAME
00045 //              ATTRID_LOCK
00046 #define ATTRID_PARNAME                                  201
00047 #define ATTRID_PARDISPNAME                              202
00048 #define ATTRID_GUID                                             203
00049 #define ATTRID_VERSION                                  204
00050 #define ATTRID_AUTHOR                                   205
00051 #define ATTRID_COMMENT                                  206
00052 #define ATTRID_CDATE                                    207
00053 #define ATTRID_MDATE                                    208
00054 
00055 #define ATTRID_METAREF                                  210
00056 #define ATTRID_DISPNAME                                 211
00057 #define ATTRID_CONSTRAINT_PTR                   212
00058 #define ATTRID_ALIASENABLED                             213
00059 
00060 
00061 #define ATTRID_DEFFOLDER_PTR                    220
00062 #define ATTRID_DEFFCO_PTR                               221
00063 #define ATTRID_DEFATTR_PTR                              222
00064 
00065 #define ATTRID_FOLDERLINK_PARENT_PTR    231
00066 #define ATTRID_FOLDERLINK_CHILD_PTR             232
00067 #define ATTRID_ROOTOBJLINK_FOLDER_PTR   233
00068 #define ATTRID_ROOTOBJLINK_OBJECT_PTR   234
00069 #define ATTRID_ATTRLINK_USEDIN_PTR              235
00070 #define ATTRID_ATTRLINK_ATTR_PTR                236
00071 
00072 #define ATTRID_KIND_PTR                                 241
00073 #define ATTRID_ATTRIBUTES_COLL                  242
00074 
00075 #define ATTRID_ROLES_COLL                               251
00076 #define ATTRID_ASPECTS_COLL                             252
00077 
00078 #define ATTRID_PARTROLE_PTR                             261
00079 #define ATTRID_PARTASPECT_PTR                   262
00080 #define ATTRID_KINDASPECT                               263
00081 
00082 #define ATTRID_PARTDATA                                 271
00083 #define ATTRID_VALUE                                    272
00084 #define ATTRID_ATTVALTYPE                               273
00085 #define ATTRID_VIEWABLE                                 274
00086 
00087 #define ATTRID_PTRSPECNAME                              281
00088 #define ATTRID_PTRITEMS_COLL                    282
00089 #define ATTRID_PTRITEMDESC                              283
00090 #define ATTRID_KINDNAME                                 284
00091 #define ATTRID_ROLENAMES                                285
00092 
00093 #define ATTRID_CONNJOINTS_COLL                  291
00094 #define ATTRID_PTRSPECS_COLL                    292
00095 #define ATTRID_REGNODES_COLL                    293
00096 #define ATTRID_ENUMITEMS_COLL                   294
00097 
00098 #define ATTRID_CONSEXPR                                 300
00099 #define ATTRID_CONSMASK                                 301
00100 #define ATTRID_CONSDEPTH                                302
00101 #define ATTRID_CONSPRIORITY                             303
00102 #define ATTRID_CONSTYPE                                 304
00103 #define ATTRID_CONSNAMESPC                              305
00104 
00105 #endif//MGA_COREMETADEFINES_H