13#include "Teuchos_Assert.hpp" 
   21  std::ostringstream 
toss;
 
   22  for (
int i=0; 
i<pageWidth_; 
i++)
 
 
   33  std::ostringstream 
toss;
 
   34  for (
int i=0; 
i<pageWidth_; 
i++)
 
 
   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();
 
   66  return rtn + columnSpacing_;
 
 
   76    && columnWidths_.
size() != 0);
 
   78  std::ios::fmtflags 
f( out.flags() );
 
   81    int cw = defaultColumnWidth();
 
   82    if (columnWidths_.
size() != 0) 
cw = columnWidths_[
i];
 
   84    out << std::left << std::setw(
cw) << 
entries[
i]->toString();
 
 
  109  const std::string& header,
 
  114  std::ios::fmtflags 
f(out.flags());
 
  120    int cw = defaultColumnWidth();
 
  121    if (columnWidths_.
size() != 0) 
cw = columnWidths_[
i];
 
  129  int numBlanks = (pageWidth_ - header.length())/2;
 
  136    int cw = defaultColumnWidth();
 
  137    if (columnWidths_.
size() != 0) 
cw = columnWidths_[
i];
 
  144  int numRows = 
columns[0].numRows();
 
  151  for (
int i=0; 
i<numRows; 
i++)
 
  153    if (
i % lineInterval_ == 0)
 
  154      out << std::left << 
thinline() << std::endl;
 
 
Replacement for std::vector that is compatible with the Teuchos Memory Management classes.
 
Smart reference counting pointer class for automatic garbage collection.
 
#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.
 
#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 ...
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...