Doxygen
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
28using StringUnorderedMap = std::unordered_map<std::string,std::string>;
29using StringUnorderedSet = std::unordered_set<std::string>;
30using StringMap = std::map<std::string,std::string>;
31using StringSet = std::set<std::string>;
32using StringMultiSet = std::multiset<std::string>;
33using StringVector = std::vector<std::string>;
34using StringViewVector = std::vector<std::string_view>;
35using BoolStack = std::stack<bool>;
36using BoolVector = std::vector<bool>;
37using IntMap = std::map<std::string,int>;
38using IntVector = std::vector<int>;
39
40#endif
std::vector< int > IntVector
Definition containers.h:38
std::set< std::string > StringSet
Definition containers.h:31
std::stack< bool > BoolStack
Definition containers.h:35
std::unordered_set< std::string > StringUnorderedSet
Definition containers.h:29
std::multiset< std::string > StringMultiSet
Definition containers.h:32
std::map< std::string, std::string > StringMap
Definition containers.h:30
std::vector< std::string_view > StringViewVector
Definition containers.h:34
std::vector< std::string > StringVector
Definition containers.h:33
std::map< std::string, int > IntMap
Definition containers.h:37
std::unordered_map< std::string, std::string > StringUnorderedMap
Definition containers.h:28
std::vector< bool > BoolVector
Definition containers.h:36