CppAD: A C++ Algorithmic Differentiation Package  20130918
template<class Type >
void CppAD::printOpField ( std::ostream &  os,
const char *  leader,
const Type &  value,
size_t  width 
)

Prints a single field corresponding to an operator.

A specified leader is printed in front of the value and then the value is left justified in the following width character.

Template Parameters:
Typeis the type of the value we are printing.
Parameters:
osis the stream that we are printing to.
leaderare characters printed before the value.
valueis the value being printed.
widthis the number of character to print the value in. If the value does not fit in the width, the value is replace by width '*' characters.

Definition at line 405 of file op_code.hpp.

Referenced by printOp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines