coutUtils Namespace Reference


Functions

void flush ()
void newline ()
void newline (int x)
void printUnderline (string x)
void print (string x)
void printInt (string x, int y)
void printDouble (string x, double y)


Detailed Description

Some util functions used for printing to stdout.


Function Documentation

void coutUtils::flush (  ) 

Copyright (C) 2007 A.N. Yzelman Released under LGPL, see license.txt

Last modified at 12th of April, 2007, by A.N. Yzelman

coutUtils.cpp: Implementation of coutUtils.h

Definition at line 13 of file coutUtils.cpp.

Referenced by newline(), print(), printDouble(), printInt(), and printUnderline().

void coutUtils::newline ( int  x  ) 

Prints a number of new lines.

Parameters:
x The number of new lines to be printed.

Definition at line 22 of file coutUtils.cpp.

References flush(), and newline().

void coutUtils::newline (  ) 

Prints a new line.

Definition at line 17 of file coutUtils.cpp.

References flush().

Referenced by newline().

void coutUtils::print ( string  x  ) 

Prints a string.

Parameters:
x The string to be printed.

Definition at line 35 of file coutUtils.cpp.

References flush().

void coutUtils::printDouble ( string  x,
double  y 
)

Prints a string followed by an int.

Parameters:
x The string to be printed.
y The int to be printed.

Definition at line 45 of file coutUtils.cpp.

References flush().

void coutUtils::printInt ( string  x,
int  y 
)

Definition at line 40 of file coutUtils.cpp.

References flush().

void coutUtils::printUnderline ( string  x  ) 

Prints a string underlined by '='.

Parameters:
x The string to be printed.

Definition at line 28 of file coutUtils.cpp.

References flush().


Generated on Sat Oct 13 17:34:43 2007 for R-Tree by  doxygen 1.5.2