56 out <<
"\"" << *
iter <<
"\"";
57 if (iter + 1 != array.
end()) {
66 const std::vector<std::string>& array)
69 if (array.size () == 0) {
81 typedef std::string::value_type char_t;
82 typedef std::ctype<char_t> facet_type;
83 const facet_type& facet = std::use_facet<facet_type> (std::locale ());
85 const std::string::size_type len = s.size ();
87 for (std::string::size_type k = 0; k < len; ++k) {
88 s_uc[k] = facet.toupper (s[k]);
const_pointer const_iterator
std::string upperCase(const std::string &s)
Return the upper-case version of s.
void printStringArray(std::ostream &out, const Teuchos::ArrayView< const std::string > &array)
Print the given array of strings, in YAML format, to out.