10 #include <Teuchos_ArrayView.hpp>
15 TEUCHOSCORE_LIB_DLL_EXPORT std::string
19 std::ostringstream ss;
21 debug_assert_valid_ptr();
23 ss.setf (std::ios::scientific);
30 for (size_type i = 0; i < size (); ++i) {
32 if (i + 1 < size ()) {
41 TEUCHOSCORE_LIB_DLL_EXPORT std::string
45 std::ostringstream ss;
47 debug_assert_valid_ptr();
49 ss.setf (std::ios::scientific);
56 for (size_type i = 0; i < size (); ++i) {
58 if (i + 1 < size ()) {
67 TEUCHOSCORE_LIB_DLL_EXPORT std::string
71 std::ostringstream ss;
73 debug_assert_valid_ptr();
75 ss.setf (std::ios::scientific);
82 for (size_type i = 0; i < size (); ++i) {
84 if (i + 1 < size ()) {
93 TEUCHOSCORE_LIB_DLL_EXPORT std::string
97 std::ostringstream ss;
99 debug_assert_valid_ptr();
101 ss.setf (std::ios::scientific);
108 for (size_type i = 0; i < size (); ++i) {
109 ss << operator[] (i);
110 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.