📄 withclss.idl
字号:
#ifdef _VBASTUFF
#include "vbactl.odl"
// #include <VbfxEventIds.h>
#endif
#include "WithClassEvents.h"
// CRcsalv.odl : type library source for CRcsalv.exe
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (CRcsalv.tlb).
[ uuid(6FAF898B-25F3-11D0-9EB4-F02E03C10627),
helpstring("With Class 2000"),
helpfile("WC2000.HLP"),
version(1.0)
]
library With_Class
{
importlib("stdole32.tlb");
interface IWithClass;
interface IDocumentCollection;
interface IClass;
interface IClassCollection;
interface IRelationshipCollection;
interface IRelationship;
interface IShape;
interface IShapeCollection;
interface IState;
interface IStateCollection;
interface ITransition;
interface ITransitionCollection;
interface IObject;
interface IObjectCollection;
interface IInteraction;
interface IInteractionCollection;
interface IWCCollection;
interface IPackage;
interface IPackageCollection;
interface IAttribute;
interface IAttributeCollection;
interface IOperation;
interface IOperationCollection;
interface IImportCollection;
interface IParameter;
interface IParameterCollection;
interface IParser;
interface IInterfaceCollection;
interface IApplication;
interface ICollaborationDiagram;
typedef enum {
[ helpstring("Initial State Constant") ]
wcsInitial = 0,
[ helpstring("Terminal State Constant") ]
wcsTerminal = 1,
[ helpstring("Branch State Constant") ]
wcsBranch = 2,
[ helpstring("SynchH State Constant") ]
wcsSynchH = 3,
[ helpstring("SynchV State Constant") ]
wcsSynchV = 4,
[ helpstring("Activity State Constant") ]
wcsActivity = 5,
[ helpstring("Wait State Constant") ]
wcsWait = 6,
[ helpstring("Send Signal Constant") ]
wcsSend = 7,
[ helpstring("Receive Signal Constant") ]
wcsReceive = 8,
[ helpstring("History State Constant") ]
wcsHistory = 9
} StateConstants;
typedef enum {
[ helpstring("Outside the Class Definitiion") ]
wrsOutsideClass = 0,
wrsClassOrForward = 1,
wrsInsideClass = 2,
wrsAttribureOrOperationType = 3,
wrsAttribureOrOperationName = 4,
wrsOperation = 5,
wrsParamName = 6,
wrsAccessor = 7,
wrsFault = 8,
wrsMoreAttribute = 9,
wrsParmType = 10,
wrsEndOperation = 11,
wrsEndClassState = 12,
wrsEndState = 13,
wrsIdle = 14,
wrsFoundClass = 15,
wrsFirstColon = 16,
wrsSecondColon = 17,
wrsABaseClass = 18,
wrsFaultOutside = 19,
wrsAttribute = 20,
wrsPropertyNameState = 21,
wrsIdleState = 22,
wrsInClassState = 23,
wrsAttributeNameState = 24,
wrsAttributeTypeState = 25,
wrsMoreAttributesState = 26,
wrsOperationState = 27,
wrsParmsState = 28,
wrsParmNameState = 29,
wrsParmTypeState = 30,
wrsEndOperationState = 31,
wrsEndAttribState = 32,
wrsOperationNameState = 33,
wrsFaultState = 34,
wrsIncludeState = 35,
wrsProcedureFound = 36,
wrsClassnameFound = 37,
wrsPeriodTest = 38,
wrsFunctionMatch = 39,
wrsPropertyReadState = 40,
wrsPropertyWriteState = 41,
wrsInOperationState = 42,
wrsFaultInFunction = 43,
wrsAttributeArrayState = 44
} ReverseConstants;
typedef enum {
[ helpstring("Text Shape Constant") ]
wcdText = 0,
[ helpstring("Arrow Shape Constant") ]
wcdArrow = 1,
[ helpstring("Line Shape Constant") ]
wcdLine = 2,
[ helpstring("Oval Shape Constant") ]
wcdOval = 3,
[ helpstring("Rectangle Shape Constant") ]
wcdRectangle = 4,
[ helpstring("Enhanced Metafile Shape Constant") ]
wcdEmf = 5,
[ helpstring("Bar Shape Constant") ]
wcdBar = 6,
[ helpstring("Double Bar Shape Constant") ]
wcdDoubleBar = 7,
[ helpstring("Package Shape Constant") ]
wcdPackage = 8,
[ helpstring("Actor Shape Constant") ]
wcdActor = 9,
[ helpstring("Component Shape Constant") ]
wcdComponent = 10,
[ helpstring("Note Shape Constant") ]
wcdNote = 11,
[ helpstring("Entity Shape Constant") ]
wcdEntity = 12,
[ helpstring("Worker Shape Constant") ]
wcdWorker = 13,
[ helpstring("Case Worker Shape Constant") ]
wcdCaseWorker = 14,
[ helpstring("Cube Shape Constant") ]
wcdCube = 15,
[ helpstring("Rhomboid Shape Constant") ]
wcdRhomboid = 16,
[ helpstring("Process Shape Constant") ]
wcdProcess = 17
} ShapeConstants;
typedef enum {
[ helpstring("Class View Constant") ]
wcvClass = 0,
[ helpstring("State View Constant") ]
wcvState = 1,
[ helpstring("Sequence View Constant") ]
wcvSequence = 2,
[ helpstring("Use Case View Constant") ]
wcvUseCase = 3,
[ helpstring("Collaboration View Constant") ]
wcvCollaboration = 4,
[ helpstring("Implementation View Constant") ]
wcvImplementation = 5
} ViewConstants;
typedef enum {
[ helpstring("Utility Menu Item 1 Constant") ]
wcutilmenu1 = 0,
[ helpstring("Utility Menu Item 2 Constant") ]
wcutilmenu2 = 1,
[ helpstring("Utility Menu Item 3 Constant") ]
wcutilmenu3 = 2,
[ helpstring("Utility Menu Item 4 Constant") ]
wcutilmenu4 = 3,
[ helpstring("Utility Menu Item 5 Constant") ]
wcutilmenu5 = 4,
[ helpstring("Utility Menu Item 6 Constant") ]
wcutilmenu6 = 5,
[ helpstring("Popup Class Menu Item 1 Constant") ]
wcclassmenu1 = 6,
[ helpstring("Popup Class Menu Item 2 Constant") ]
wcclassmenu2 = 7,
[ helpstring("Popup Class Menu Item 3 Constant") ]
wcclassmenu3 = 8,
[ helpstring("Popup Class Menu Item 4 Constant") ]
wcclassmenu4 = 9,
[ helpstring("Popup Shape Menu Item 1 Constant") ]
wcshapemenu1 = 10,
[ helpstring("Popup Shape Menu Item 2 Constant") ]
wcshapemenu2 = 11,
[ helpstring("Popup Shape Menu Item 3 Constant") ]
wcshapemenu3 = 12,
[ helpstring("Popup Shape Menu Item 4 Constant") ]
wcshapemenu4 = 13,
} MenuConstants;
typedef enum {
[ helpstring("Message Interaction Constant") ]
wciMessage = 0,
[ helpstring("Call Interaction Constant") ]
wciCall = 1,
[ helpstring("Asynchonous Interaction Constant") ]
wciAsynch = 2,
[ helpstring("Return Interaction Constant") ]
wciReturn = 3,
[ helpstring("Timeout Interaction Constant") ]
wciTimeout = 4,
[ helpstring("Synchronous Interaction Constant") ]
wciSynch = 5,
[ helpstring("Balking Interaction Constant") ]
wciBalking = 6
} InteractionConstants;
#ifdef _VBASTUFF
// #include <vbfx.odl>
#endif
[ uuid(8ec26f0a-6682-11d1-9a37-006097b67911),
dual,
helpstring("Event interface for CMDIHostDoc"),
hidden,
pointer_default(unique)
]
interface EDocumentEvents : IDispatch
{
//// properties:
// Event interface has no properties
//// methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMDIHostDoc)
// [id(eventidOpen), helpstring("Event triggered when Opening the Document")]
// HRESULT Open();
// [id(eventidClose), helpstring("Event triggered when Closing the Document")]
// HRESULT Close();
[id(eventidSelectClass), helpstring("Event triggered when Selecting a Class")]
HRESULT SelectedClass([in]IClass *TheSelectedClass);
[id(eventidSelectState), helpstring("Event triggered when Selecting a State")]
HRESULT SelectedState([in]IState *TheSelectedState);
[id(eventidSelectObject), helpstring("Event triggered when Selecting an Object")]
HRESULT SelectedObject([in]IObject *TheSelectedObject);
[id(eventidClassMoved), helpstring("Event triggered when a Class is finished moving")]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -