Class : AbstractOutput
AbstractOutput :
prototype: AbstractOutput ()
description:default constructor
~AbstractOutput :
prototype: virtual ~AbstractOutput ()
description:destructor
Save :
prototype: virtual bool Save (char* File )
description:Save output in a file
input parameters:
File = string corresponding to file name
return value: true if operation succeded
write :
prototype: virtual AbstractOutput& write (char* , int n )
description:write a string of char
input parameters:
c = pointer to string first character
n = number of character to write
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , const char* c )
description:push a null-ended string on output
input parameters:
Out = reference on current output stream
c = string pointer
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , const char c )
description:push a character on output
input parameters:
Out = reference on current output stream
c = character to push
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , const int x )
description:push an integer on output
input parameters:
Out = reference on current output stream
x = integer to push
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , const double x )
description:push a double on output
input parameters:
Out = reference on current output stream
d = double to push
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , ostream& Str )
description:push an output stream on output
input parameters:
Out = reference on current output stream
Str = reference on output stream to push
return value: reference on current output stream
operator << :
prototype: friend ostream& operator << (ostream& , AbstractOutput& Out )
description:push an abstract output on output stream
input parameters:
Str = reference on current output stream
Out = reference on abstract output to push
return value: reference on current output stream
operator << :
prototype: friend AbstractOutput& operator << (AbstractOutput& , AbstractOutput& Out2 )
description:push an abstract ouput on output
input parameters:
Out1 = reference on current output stream
Out2 = abstract ouput to push
return value: reference on current output stream
Back to index.