Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
containers.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2020 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef CONTAINERS_H
17
#define CONTAINERS_H
18
19
#include <vector>
20
#include <string>
21
#include <string_view>
22
#include <set>
23
#include <map>
24
#include <unordered_set>
25
#include <unordered_map>
26
#include <stack>
27
28
using
StringUnorderedMap
= std::unordered_map<std::string,std::string>;
29
using
StringUnorderedSet
= std::unordered_set<std::string>;
30
using
StringMap
= std::map<std::string,std::string>;
31
using
StringSet
= std::set<std::string>;
32
using
StringMultiSet
= std::multiset<std::string>;
33
using
StringVector
= std::vector<std::string>;
34
using
StringViewVector
= std::vector<std::string_view>;
35
using
BoolStack
= std::stack<bool>;
36
using
BoolVector
= std::vector<bool>;
37
using
IntMap
= std::map<std::string,int>;
38
using
IntVector
= std::vector<int>;
39
40
#endif
IntVector
std::vector< int > IntVector
Definition
containers.h:38
StringSet
std::set< std::string > StringSet
Definition
containers.h:31
BoolStack
std::stack< bool > BoolStack
Definition
containers.h:35
StringUnorderedSet
std::unordered_set< std::string > StringUnorderedSet
Definition
containers.h:29
StringMultiSet
std::multiset< std::string > StringMultiSet
Definition
containers.h:32
StringMap
std::map< std::string, std::string > StringMap
Definition
containers.h:30
StringViewVector
std::vector< std::string_view > StringViewVector
Definition
containers.h:34
StringVector
std::vector< std::string > StringVector
Definition
containers.h:33
IntMap
std::map< std::string, int > IntMap
Definition
containers.h:37
StringUnorderedMap
std::unordered_map< std::string, std::string > StringUnorderedMap
Definition
containers.h:28
BoolVector
std::vector< bool > BoolVector
Definition
containers.h:36
src
containers.h
Generated by
1.17.0