23 for (iter_type iter = array.
begin(); iter != array.
end(); ++iter) {
24 out <<
"\"" << *iter <<
"\"";
25 if (iter + 1 != array.
end()) {
34 const std::vector<std::string>& array)
37 if (array.size () == 0) {
49 typedef std::string::value_type char_t;
50 typedef std::ctype<char_t> facet_type;
51 const facet_type& facet = std::use_facet<facet_type> (std::locale ());
53 const std::string::size_type len = s.size ();
55 for (std::string::size_type k = 0; k < len; ++k) {
56 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.