Sierra Toolkit  Version of the Day
ci_string.hpp
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
8 
9 #ifndef STK_UTIL_UTIL_CI_STRING_H
10 #define STK_UTIL_UTIL_CI_STRING_H
11 
12 #include <stk_util/util/ci_traits.hpp>
13 #include <iosfwd>
14 
15 // #include <boost/unordered_set.hpp> // boost 1.36.0 unordered_set not in the tr1
16 
17 // namespace std {
18 // namespace tr1 {
19 // using ::boost::unordered_set;
20 // }
21 // }
22 
23 typedef std::basic_string<char,ignorecase_traits> ci_string;
24 
25 std::ostream &operator<<(std::ostream &os, const ci_string &s);
26 
27 std::istream &operator>>(std::istream &is, ci_string &s);
28 
29 std::string operator+(const std::string &s1, const ci_string &s2);
30 
31 ci_string operator+(const ci_string &s1, const std::string &s2);
32 
33 ci_string operator+(const char *cs1, const ci_string &cs2);
34 
35 // namespace boost {
36 
37 // template <>
38 // struct hash<ci_string>
39 // {
40 // std::size_t operator()(const ci_string &s) const;
41 // };
42 
43 // } // namespace boost
44 
45 #endif // STK_UTIL_UTIL_CI_STRING_H
std::ostream & operator<<(std::ostream &s, const Bucket &k)
Print the part names for which this bucket is a subset.
Definition: Bucket.cpp:239