blob: 8fa687c58d924eb82f61b71d3954efe68d11b4dd (
plain)
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
|
Class Hierarchy of PDContainer:
-------------------------------
class ContainerBase (includes GlobalStuff.h)
{
static map data_
sting h_namespace_
string dataname_
void setNamespace(string h_namespace)
string getNamespace() const
virtual void help()
virtual void clearNamespace()
virtual void clearAll()
virtual int getSize() const
}
class SimpleBase : public ContainerBase
{
virtual void printAll()
virtual void printAllIndex()
virtual bool saveToFile(string filename)
virtual bool readFromFile(string filename)
}
class MapBase : public ContainerBase
{
virtual void add(Element key, Element value)
virtual Element &get(Element &key) const
virtual void remove(const Element &key)
virtual void printAll()
virtual bool saveToFile(string filename)
virtual bool readFromFile(string filename)
}
class HMap : public MapBase
class HMultiMap : public MapBase
{
virtual int getNr(Element &key) const
virtual Element &get(Element &key, int index) const
}
class HSet : public SimpleBase
{
virtual void add(Element key)
virtual int get(const Element &key) const
virtual void remove(const Element &key) const
}
class HMultiSet : public SimpleBase
{
virtual void add(Element key)
virtual int get(const Element &key) const
virtual void remove(const Element &key) const
}
class SequBase : public SimpleBase
{
virtual void set(int index, Element value)
virtual Element &get(int index) const
virtual void resize(int size)
virtual void pushBack(Element value)
virtual void popBack()
virtual Element &back() const
virtual Element &front() const
virtual void insert(int index, Element value)
virtual void remove(int index)
virtual bool readFromFile2(string filename, int index);
}
class HVector : public SequBase
class HDeque : public SequBase
{
virtual void pushFront(Element value)
virtual void popFront()
}
class HList : public SimpleBase
{
int i_pos_
list<Element>::iterator iter_
virtual void pushBack(Element value)
virtual void popBack()
virtual void pushFront(Element value)
virtual void popFront()
virtual Element &back() const
virtual Element &front() const
virtual void insert(Element value)
virtual Element get()
virtual void remove(Element value)
virtual void del()
virtual int getSize() const
virtual void begin()
virtual void end()
virtual void next()
virtual void last()
virtual void unique()
virtual void reverse()
virtual void sort()
virtual bool readFromFile(string filename)
}
class QueueStack : public ContainerBase
{
virtual void pop()
}
class HQueue : public QueueStack
{
virtual void push(Element value)
virtual Element &front() const
}
class HPrioQueue : public QueueStack
{
virtual void push(float prio, Element value)
virtual Element top() const
}
class HStack : public QueueStack
{
virtual void push(Element value)
virtual Element &top() const
}
|