📄 reptim.h
字号:
// ------------------------------------------------------------------------
// Copyright (c) 2000 by Microsoft Corporation, All Rights Reserved
//
// This software is provided as is without warranty of any kind. The entire
// risk as to the results and performance of this software is assumed by the user.
// Microsoft disclaims all warranties, either express or implied, including but
// not limited, the implied warranties of merchantability, fitness for a
// particular purpose, title and noninfringement, with respect to this software.
// ------------------------------------------------------------------------
//*****************************************************************************
// REPTIM.H
//
// This module contains the declarations of the meta-meta model components.
// These can be used to browse the meta-meta model by ID, or might be required
// to create your own meta model in the Repository.
//
// Copyright (c) 1995-2000 by Microsoft Corporation, All Rights Reserved
//*****************************************************************************
#ifndef __REPTIM_H__
#define __REPTIM_H__
// The hard coded site IDs.
#define SITEID_METAMETA 0
#define SITEID_LOCAL 1
// Local ID definitions.
#define LCLID_FirstV1ClassDefID 0
#define LCLID_ClassDef 0
#define LCLID_IfaceDef 1
#define LCLID_CollectionDef 2
#define LCLID_MethodDef 3
#define LCLID_PropDef 4
#define LCLID_RelshipDef 5
#define LCLID_ReposTypeLib 6
#define LCLID_ReposRoot 7
#define LCLID_LastV1ClassDefID 7
#define LCLID_FirstV1IfaceDefID 8
#define LCLID_IUnknown 8
#define LCLID_IDispatch 9
#define LCLID_IReposDispatch 10
#define LCLID_IReposTypeInfo 11
#define LCLID_IClassDef 12
#define LCLID_IIfaceDef 13
#define LCLID_IIfaceMember 14
#define LCLID_IPropDef 15
#define LCLID_ICollectionDef 16
#define LCLID_IReposItem 17
#define LCLID_IReposObj 18
#define LCLID_IRelship 19
#define LCLID_IAnnotationalProps 20
#define LCLID_ISummaryInfo 21
#define LCLID_INamedObj 22
#define LCLID_IManageReposTypeLib 23
#define LCLID_IReposTypeLib 24
#define LCLID_IReposRoot 25
#define LCLID_LastV1IfaceDefID 25
#define LCLID_FirstV1RelshipDef 26
#define LCLID_RClassImplIface 26
#define LCLID_RIfaceInheritsFromIface 27
#define LCLID_RIfaceHasMembers 28
#define LCLID_RColContainsItems 29
#define LCLID_RContainerContextForReposTLBs 30
#define LCLID_RReposTLBScopeForReposTypeInfo 31
#define LCLID_LastV1RelshipDef 31
//Must define the roles in origin role followed immediately by destination role for each relationshipdef.
#define LCLID_FirstV1RoleDefID 32
#define LCLID_Ifaces 32
#define LCLID_Classes 33
#define LCLID_Ancestor 34
#define LCLID_Descendants 35
#define LCLID_Members 36
#define LCLID_Iface 37
#define LCLID_CollectionItem 38
#define LCLID_ItemInCollections 39
#define LCLID_ReposTypeLibs 40
#define LCLID_ReposTLBContexts 41
#define LCLID_ReposTypeInfos 42
#define LCLID_ReposTypeLibScopes 43
#define LCLID_LastV1RoleDefID 43
#define LCLID_ReposRootObj 44
#define LCLID_ReposTIM 45
#define LCLID_ClassID 46
#define LCLID_PropDescs 47
#define LCLID_InterfaceID 48
#define LCLID_TableName 49
#define LCLID_IfaceFlags 50
#define LCLID_DispID 51
#define LCLID_IfaceMemFlags 52
#define LCLID_RelshipTypeID 53
#define LCLID_ColFlags 54
#define LCLID_MinCount 55
#define LCLID_MaxCount 56
#define LCLID_IsOrigin 57
#define LCLID_ColumnName 58
#define LCLID_APIType 59
#define LCLID_SQLType 60
#define LCLID_SQLSize 61
#define LCLID_SQLScale 62
#define LCLID_PropFlags 63
#define LCLID_TypeLibID 64
#define LCLID_TypeID 65
#define LCLID_Comments 66
#define LCLID_ShortDesc 67
#define LCLID_ObjName 68
#define LCLID_RelshipTgtName 69
#define LCLID_ImplementsOptions 70
#define LCLID_NULL 0xffffffff
// Internal ID definitions.
const INTID INTID_ClassDef = {SITEID_METAMETA, LCLID_ClassDef};
const INTID INTID_IfaceDef = {SITEID_METAMETA, LCLID_IfaceDef};
const INTID INTID_CollectionDef = {SITEID_METAMETA, LCLID_CollectionDef};
const INTID INTID_MethodDef = {SITEID_METAMETA, LCLID_MethodDef};
const INTID INTID_PropDef = {SITEID_METAMETA, LCLID_PropDef};
const INTID INTID_RelshipDef = {SITEID_METAMETA, LCLID_RelshipDef};
const INTID INTID_ReposTypeLib = {SITEID_METAMETA, LCLID_ReposTypeLib};
const INTID INTID_ReposRoot = {SITEID_METAMETA, LCLID_ReposRoot};
const INTID INTID_IUnknown = {SITEID_METAMETA, LCLID_IUnknown};
const INTID INTID_IDispatch = {SITEID_METAMETA, LCLID_IDispatch};
const INTID INTID_IReposDispatch = {SITEID_METAMETA, LCLID_IReposDispatch};
const INTID INTID_IReposTypeInfo = {SITEID_METAMETA, LCLID_IReposTypeInfo};
const INTID INTID_IClassDef = {SITEID_METAMETA, LCLID_IClassDef};
const INTID INTID_IIfaceDef = {SITEID_METAMETA, LCLID_IIfaceDef};
const INTID INTID_IIfaceMember = {SITEID_METAMETA, LCLID_IIfaceMember};
const INTID INTID_IPropDef = {SITEID_METAMETA, LCLID_IPropDef};
const INTID INTID_ICollectionDef = {SITEID_METAMETA, LCLID_ICollectionDef};
const INTID INTID_IReposItem = {SITEID_METAMETA, LCLID_IReposItem};
const INTID INTID_IReposObj = {SITEID_METAMETA, LCLID_IReposObj};
const INTID INTID_IRelship = {SITEID_METAMETA, LCLID_IRelship};
const INTID INTID_IAnnotationalProps= {SITEID_METAMETA, LCLID_IAnnotationalProps};
const INTID INTID_ISummaryInfo = {SITEID_METAMETA, LCLID_ISummaryInfo};
const INTID INTID_INamedObj = {SITEID_METAMETA, LCLID_INamedObj};
const INTID INTID_IManageReposTypeLib= {SITEID_METAMETA, LCLID_IManageReposTypeLib};
const INTID INTID_IReposTypeLib = {SITEID_METAMETA, LCLID_IReposTypeLib};
const INTID INTID_IReposRoot = {SITEID_METAMETA, LCLID_IReposRoot};
const INTID INTID_RClassImplIface = {SITEID_METAMETA, LCLID_RClassImplIface};
const INTID INTID_RIfaceInheritsFromIface = {SITEID_METAMETA, LCLID_RIfaceInheritsFromIface};
const INTID INTID_RIfaceHasMembers = {SITEID_METAMETA, LCLID_RIfaceHasMembers};
const INTID INTID_RColContainsItems = {SITEID_METAMETA, LCLID_RColContainsItems};
const INTID INTID_RContainerContextForReposTLBs = {SITEID_METAMETA, LCLID_RContainerContextForReposTLBs};
const INTID INTID_RReposTLBScopeForReposTypeInfo= {SITEID_METAMETA, LCLID_RReposTLBScopeForReposTypeInfo};
const INTID INTID_Ifaces = {SITEID_METAMETA, LCLID_Ifaces};
const INTID INTID_Classes = {SITEID_METAMETA, LCLID_Classes};
const INTID INTID_Ancestor = {SITEID_METAMETA, LCLID_Ancestor};
const INTID INTID_Descendants = {SITEID_METAMETA, LCLID_Descendants};
const INTID INTID_Members = {SITEID_METAMETA, LCLID_Members};
const INTID INTID_Iface = {SITEID_METAMETA, LCLID_Iface};
const INTID INTID_CollectionItem = {SITEID_METAMETA, LCLID_CollectionItem};
const INTID INTID_ItemInCollections = {SITEID_METAMETA, LCLID_ItemInCollections};
const INTID INTID_ReposTypeLibs = {SITEID_METAMETA, LCLID_ReposTypeLibs};
const INTID INTID_ReposTLBContexts = {SITEID_METAMETA, LCLID_ReposTLBContexts};
const INTID INTID_ReposTypeInfos = {SITEID_METAMETA, LCLID_ReposTypeInfos};
const INTID INTID_ReposTypeLibScopes= {SITEID_METAMETA, LCLID_ReposTypeLibScopes};
const INTID INTID_ReposRootObj = {SITEID_METAMETA, LCLID_ReposRootObj};
const INTID INTID_ReposTIM = {SITEID_METAMETA, LCLID_ReposTIM};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -