-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
48 lines (39 loc) · 930 Bytes
/
main.cpp
File metadata and controls
48 lines (39 loc) · 930 Bytes
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
#include "Reactor/Reactor.h"
#include "main.h"
int main()
{
using namespace std;
PxDocumentReactor::performSample();
// 创建型
system("cls");
SingletonPattern::Entry();
FactoryMethodPattern::Entry();
AbstractFactoryPattern::Entry();
system("cls");
BuilderPattern::Entry();
// 结构型
system("cls");
ProxyPattern::Entry();
BridgePattern::Entry();
DecoratorPattern::Entry();
AdapterPattern::Entry();
FacadePattern::Entry();
CompositePattern::Entry();
PrototypePattern::Entry();
// 行为型
system("cls");
ObserverPattern::Entry();
TemplateMethodPattern::Entry();
StrategyPattern::Entry();
ResponsibilityChainPattern::Entry();
StatePattern::Entry();
IteratorPattern::Entry();
VisitorPattern::Entry();
MementoPattern::Entry();
CommandPattern::Entry();
InterpreterPattern::Entry();
MediatorPattern::Entry();
return 0;
}
// 手绘设计模式
// https://github.com/gdhucoder/DesignPattern