42#include <Teuchos_ArrayView.hpp>
47TEUCHOSCORE_LIB_DLL_EXPORT std::string
51 std::ostringstream ss;
53 debug_assert_valid_ptr();
55 ss.setf (std::ios::scientific);
62 for (size_type i = 0; i < size (); ++i) {
64 if (i + 1 < size ()) {
73TEUCHOSCORE_LIB_DLL_EXPORT std::string
77 std::ostringstream ss;
79 debug_assert_valid_ptr();
81 ss.setf (std::ios::scientific);
88 for (size_type i = 0; i < size (); ++i) {
90 if (i + 1 < size ()) {
99TEUCHOSCORE_LIB_DLL_EXPORT std::string
103 std::ostringstream ss;
105 debug_assert_valid_ptr();
107 ss.setf (std::ios::scientific);
114 for (size_type i = 0; i < size (); ++i) {
115 ss << operator[] (i);
116 if (i + 1 < size ()) {
125TEUCHOSCORE_LIB_DLL_EXPORT std::string
129 std::ostringstream ss;
131 debug_assert_valid_ptr();
133 ss.setf (std::ios::scientific);
140 for (size_type i = 0; i < size (); ++i) {
141 ss << operator[] (i);
142 if (i + 1 < size ()) {
std::string toString() const
Convert an ArrayView<T> to an std::string
TypeTo as(const TypeFrom &t)
Convert from one value type to another.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...