#include <ostream.h>
Public Member Functions | |
| ABA_OSTREAM_MANIP_INT (ABA_OSTREAM &(*f)(ABA_OSTREAM &o, int i), int i) | |
| The Constructor for a manipulator of the class ABA_OSTREAM with an integer argument. | |
Private Attributes | |
| int | i_ |
| ABA_OSTREAM &(* | f_ )(ABA_OSTREAM &o, int i) |
Friends | |
| ABA_OSTREAM & | operator<< (ABA_OSTREAM &o, const ABA_OSTREAM_MANIP_INT &m) |
The following class is adapted from [Str93] for the class ABA_OSTREAM.
Definition at line 272 of file ostream.h.
| ABA_OSTREAM_MANIP_INT::ABA_OSTREAM_MANIP_INT | ( | ABA_OSTREAM &(*)(ABA_OSTREAM &o, int i) | f, | |
| int | i | |||
| ) |
The Constructor for a manipulator of the class ABA_OSTREAM with an integer argument.
| f | A pointer to the manipulating function. | |
| i | The argument of the manipulating function. |
| ABA_OSTREAM& operator<< | ( | ABA_OSTREAM & | o, | |
| const ABA_OSTREAM_MANIP_INT & | m | |||
| ) | [friend] |
The output operator of the maninpulator class calls the manipulating function.
| o | An output stream} | |
| m | A manipulator object. |
int ABA_OSTREAM_MANIP_INT::i_ [private] |
ABA_OSTREAM&(* ABA_OSTREAM_MANIP_INT::f_)(ABA_OSTREAM &o, int i) [private] |
1.5.1