CppAD: A C++ Algorithmic Differentiation Package 20110419
template<class Type >
void 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 281 of file op_code.hpp.

Referenced by printOp().