37 {
"allocator", 0, 0,
"T",
"elements", 0, 0,
FALSE,
FALSE },
45 {
"lock_guard", 0, 0,
"T",
"ptr", 0, 0,
FALSE,
FALSE },
46 {
"unique_lock", 0, 0,
"T",
"ptr", 0, 0,
FALSE,
FALSE },
47 {
"shared_lock", 0, 0,
"T",
"ptr", 0, 0,
FALSE,
FALSE },
48 {
"ios_base", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
49 {
"error_code", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
50 {
"error_category", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
51 {
"system_error", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
52 {
"error_condition", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
56 {
"timed_mutex", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
57 {
"recursive_mutex", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
58 {
"recursive_timed_mutex",0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
59 {
"shared_mutex", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
60 {
"shared_timed_mutex", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
61 {
"basic_ios",
"ios_base", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
62 {
"basic_istream",
"basic_ios<Char>", 0,
"Char", 0, 0, 0,
TRUE,
FALSE },
63 {
"basic_ostream",
"basic_ios<Char>", 0,
"Char", 0, 0, 0,
TRUE,
FALSE },
64 {
"basic_iostream",
"basic_istream<Char>",
"basic_ostream<Char>",
"Char", 0, 0, 0,
FALSE,
FALSE },
65 {
"basic_ifstream",
"basic_istream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
66 {
"basic_ofstream",
"basic_ostream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
67 {
"basic_fstream",
"basic_iostream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
68 {
"basic_istringstream",
"basic_istream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
69 {
"basic_ostringstream",
"basic_ostream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
70 {
"basic_stringstream",
"basic_iostream<Char>", 0,
"Char", 0, 0, 0,
FALSE,
FALSE },
71 {
"ios",
"basic_ios<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
72 {
"wios",
"basic_ios<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
73 {
"istream",
"basic_istream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
74 {
"wistream",
"basic_istream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
75 {
"ostream",
"basic_ostream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
76 {
"wostream",
"basic_ostream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
77 {
"ifstream",
"basic_ifstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
78 {
"wifstream",
"basic_ifstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
79 {
"ofstream",
"basic_ofstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
80 {
"wofstream",
"basic_ofstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
81 {
"fstream",
"basic_fstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
82 {
"wfstream",
"basic_fstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
83 {
"istringstream",
"basic_istringstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
84 {
"wistringstream",
"basic_istringstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
85 {
"ostringstream",
"basic_ostringstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
86 {
"wostringstream",
"basic_ostringstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
87 {
"stringstream",
"basic_stringstream<char>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
88 {
"wstringstream",
"basic_stringstream<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
FALSE },
89 {
"basic_string", 0, 0,
"Char", 0, 0, 0,
FALSE,
TRUE },
90 {
"string",
"basic_string<char>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
91 {
"wstring",
"basic_string<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
92 {
"u8string",
"basic_string<char8_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
93 {
"u16string",
"basic_string<char16_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
94 {
"u32string",
"basic_string<char32_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
95 {
"basic_string_view", 0, 0,
"Char", 0, 0, 0,
FALSE,
TRUE },
96 {
"string_view",
"basic_string_view<char>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
97 {
"wstring_view",
"basic_string_view<wchar_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
98 {
"u8string_view",
"basic_string_view<char8_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
99 {
"u16string_view",
"basic_string_view<char16_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
100 {
"u32string_view",
"basic_string_view<char32_t>", 0, 0, 0, 0, 0,
FALSE,
TRUE },
101 {
"complex", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
102 {
"bitset", 0, 0,
"Bits", 0, 0, 0,
FALSE,
FALSE },
103 {
"deque", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
104 {
"list", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
105 {
"forward_list", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
106 {
"map", 0, 0,
"K",
"keys",
"T",
"elements",
FALSE,
TRUE },
107 {
"unordered_map", 0, 0,
"K",
"keys",
"T",
"elements",
FALSE,
TRUE },
108 {
"multimap", 0, 0,
"K",
"keys",
"T",
"elements",
FALSE,
TRUE },
109 {
"unordered_multimap", 0, 0,
"K",
"keys",
"T",
"elements",
FALSE,
TRUE },
110 {
"set", 0, 0,
"K",
"keys", 0, 0,
FALSE,
TRUE },
111 {
"unordered_set", 0, 0,
"K",
"keys", 0, 0,
FALSE,
TRUE },
112 {
"multiset", 0, 0,
"K",
"keys", 0, 0,
FALSE,
TRUE },
113 {
"unordered_multiset", 0, 0,
"K",
"keys", 0, 0,
FALSE,
TRUE },
114 {
"array", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
115 {
"vector", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
116 {
"span", 0, 0,
"T",
"elements", 0, 0,
FALSE,
TRUE },
117 {
"queue", 0, 0,
"T",
"elements", 0, 0,
FALSE,
FALSE },
118 {
"priority_queue", 0, 0,
"T",
"elements", 0, 0,
FALSE,
FALSE },
119 {
"stack", 0, 0,
"T",
"elements", 0, 0,
FALSE,
FALSE },
120 {
"valarray", 0, 0,
"T",
"elements", 0, 0,
FALSE,
FALSE },
121 {
"exception", 0, 0, 0, 0, 0, 0,
FALSE,
FALSE },
122 {
"bad_alloc",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
123 {
"bad_cast",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
124 {
"bad_typeid",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
125 {
"logic_error",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
126 {
"ios_base::failure",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
127 {
"runtime_error",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
128 {
"bad_exception",
"exception", 0, 0, 0, 0, 0,
FALSE,
FALSE },
129 {
"domain_error",
"logic_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
130 {
"invalid_argument",
"logic_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
131 {
"length_error",
"logic_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
132 {
"out_of_range",
"logic_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
133 {
"range_error",
"runtime_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
134 {
"overflow_error",
"runtime_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
135 {
"underflow_error",
"runtime_error", 0, 0, 0, 0, 0,
FALSE,
FALSE },
139 static void addSTLMember(
const std::shared_ptr<Entry> &root,
const char *type,
const char *name)
141 std::shared_ptr<Entry> memEntry = std::make_shared<Entry>();
142 memEntry->name = name;
143 memEntry->type = type;
144 memEntry->protection =
Public;
146 memEntry->brief =
"STL member";
147 memEntry->hidden =
FALSE;
148 memEntry->artificial =
TRUE;
149 root->moveToSubEntryAndKeep(memEntry);
154 std::shared_ptr<Entry> iteratorClassEntry = std::make_shared<Entry>();
155 iteratorClassEntry->fileName =
"[STL]";
156 iteratorClassEntry->startLine = 1;
157 iteratorClassEntry->name = name;
159 iteratorClassEntry->brief =
"STL iterator class";
160 iteratorClassEntry->hidden =
FALSE;
161 iteratorClassEntry->artificial=
TRUE;
162 classEntry->moveToSubEntryAndKeep(iteratorClassEntry);
172 std::shared_ptr<Entry> classEntry = std::make_shared<Entry>();
173 classEntry->fileName =
"[STL]";
174 classEntry->startLine = 1;
175 classEntry->name = fullName;
177 classEntry->brief =
"STL class";
178 classEntry->hidden =
FALSE;
179 classEntry->artificial=
TRUE;
195 classEntry->tArgLists.push_back(al);
206 if (fullName==
"std::auto_ptr" ||
207 fullName==
"std::smart_ptr" ||
208 fullName==
"std::shared_ptr" ||
209 fullName==
"std::weak_ptr" ||
210 fullName==
"std::unique_ptr")
212 std::shared_ptr<Entry> memEntry = std::make_shared<Entry>();
213 memEntry->name =
"operator->";
214 memEntry->args =
"()";
215 memEntry->type =
"T*";
216 memEntry->protection =
Public;
218 memEntry->brief =
"STL member";
219 memEntry->hidden =
FALSE;
220 memEntry->artificial =
FALSE;
221 classEntry->moveToSubEntryAndKeep(memEntry);
239 root->moveToSubEntryAndKeep(classEntry);
245 std::shared_ptr<Entry> namespaceEntry = std::make_shared<Entry>();
246 namespaceEntry->fileName =
"[STL]";
247 namespaceEntry->startLine = 1;
248 namespaceEntry->name =
"std";
250 namespaceEntry->brief =
"STL namespace";
251 namespaceEntry->hidden =
FALSE;
252 namespaceEntry->artificial=
TRUE;
261 root->moveToSubEntryAndKeep(namespaceEntry);