Doxygen
containers.h
浏览该文件的文档.
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 <set>
22 #include <map>
23 #include <unordered_set>
24 #include <unordered_map>
25 #include <stack>
26 
27 using StringUnorderedMap = std::unordered_map<std::string,std::string>;
28 using StringUnorderedSet = std::unordered_set<std::string>;
29 using StringMap = std::map<std::string,std::string>;
30 using StringSet = std::set<std::string>;
31 using StringMultiSet = std::multiset<std::string>;
32 using StringVector = std::vector<std::string>;
33 using BoolStack = std::stack<bool>;
34 using BoolVector = std::vector<bool>;
35 using IntMap = std::map<std::string,int>;
36 using IntVector = std::vector<int>;
37 
38 #endif
StringVector
std::vector< std::string > StringVector
Definition: containers.h:32
BoolVector
std::vector< bool > BoolVector
Definition: containers.h:34
StringUnorderedMap
std::unordered_map< std::string, std::string > StringUnorderedMap
Definition: containers.h:27
StringSet
std::set< std::string > StringSet
Definition: containers.h:30
IntVector
std::vector< int > IntVector
Definition: containers.h:36
StringUnorderedSet
std::unordered_set< std::string > StringUnorderedSet
Definition: containers.h:28
IntMap
std::map< std::string, int > IntMap
Definition: containers.h:35
StringMultiSet
std::multiset< std::string > StringMultiSet
Definition: containers.h:31
StringMap
std::map< std::string, std::string > StringMap
Definition: containers.h:29
BoolStack
std::stack< bool > BoolStack
Definition: containers.h:33