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 39