1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
#ifndef _UMLBASEACTIVITYCONTROLNODECLASSES_H
#define _UMLBASEACTIVITYCONTROLNODECLASSES_H
#include "UmlActivityControlNode.h"
#include "anItemKind.h"
#include <qcstring.h>
class UmlInitialActivityNode;
class UmlItem;
class UmlFlowFinalActivityNode;
class UmlActivityFinalActivityNode;
class UmlDecisionActivityNode;
class UmlMergeActivityNode;
class UmlForkActivityNode;
class UmlJoinActivityNode;
class UmlBaseInitialActivityNode : public UmlActivityControlNode {
public:
// returns a new initial activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlInitialActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseInitialActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseFlowFinalActivityNode : public UmlActivityControlNode {
public:
// returns a new flow final activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlFlowFinalActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseFlowFinalActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseActivityFinalActivityNode : public UmlActivityControlNode {
public:
// returns a new activity final activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlActivityFinalActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseActivityFinalActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseDecisionActivityNode : public UmlActivityControlNode {
public:
// returns a new decision activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlDecisionActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseDecisionActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseMergeActivityNode : public UmlActivityControlNode {
public:
// returns a new merge activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlMergeActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseMergeActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseForkActivityNode : public UmlActivityControlNode {
public:
// returns a new fork activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlForkActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseForkActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
class UmlBaseJoinActivityNode : public UmlActivityControlNode {
public:
// returns a new join activity control node named 's' created under 'parent'
//
// In case it cannot be created (the name is already used or
// invalid, 'parent' cannot contain it etc ...) return 0 in C++
// and produce a RuntimeException in Java
static UmlJoinActivityNode * create(UmlItem * parent, const char * s);
// returns the kind of the item
virtual anItemKind kind();
protected:
// the constructor, do not call it yourself !!!!!!!!!!
UmlBaseJoinActivityNode(void * id, const QCString & s) : UmlActivityControlNode(id, s) {
}
};
#endif
|