21 std::ostringstream toss;
33 std::ostringstream toss;
44 std::ostringstream toss;
45 for (
int i=0; i<size; i++)
54 const std::string& name,
58 int rtn = name.length();
60 for (
int i=0; i<column.
numRows(); i++)
62 int x = column.
entry(i)->toString().length();
63 rtn = std::max(rtn, x);
78 std::ios::fmtflags
f( out.flags() );
84 out << std::left << std::setw(cw) << entries[i]->
toString();
100 entries[i] = columns[i].entry(rowIndex);
109 const std::string& header,
114 std::ios::fmtflags
f(out.flags());
129 int numBlanks = (
pageWidth_ - header.length())/2;
130 out <<
blanks(numBlanks) << header << std::endl;
139 out << std::left << std::setw(cw) << columnNames[i];
144 int numRows = columns[0].numRows();
151 for (
int i=0; i<numRows; i++)
154 out << std::left <<
thinline() << std::endl;
const RCP< TableEntry > & entry(int i) const
Ordinal size_type
The type of Array sizes and capacities.
std::string toString() const
Convert an Array to an std::string
Smart reference counting pointer class for automatic garbage collection.
#define TEUCHOS_ASSERT_EQUALITY(val1, val2)
This macro is checks that to numbers are equal and if not then throws an exception with a good error ...
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
This macro is designed to be a short version of TEUCHOS_TEST_FOR_EXCEPTION() that is easier to call...
Replacement for std::vector that is compatible with the Teuchos Memory Management classes...