Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TextStream Class Reference

Abstract baseclass for text streams. More...

#include <mtextstream.h>

Inheritance diagram for TextStream:

TextIStream TextOStream List of all members.

Public Types

enum  formattingFlags {
  skipws = 0x00000001, left = 0x00000002, right = 0x00000004, internal = 0x00000008,
  showbase = 0x00000010, uppercase = 0x00000020, showpos = 0x00000040, scientific = 0x00000080,
  fixed = 0x00000100
}

Public Methods

int width () const
int width (int w)

Detailed Description

Abstract baseclass for text streams.

Definition at line 45 of file mtextstream.h.


Member Enumeration Documentation

enum formattingFlags
 

Enumeration values:
skipws  Skip whitespace automatically.
left  Left alignment of numeric fields.
right  Right alignment of numeric fields.
internal  Padding should be placed between sign and value.
showbase  Base of the values should be denoted when possible.
uppercase  Use uppercase denotation of base.
showpos  Print sign also for positive values.
scientific  Use scientific number notation for floating-point values.
fixed  Use fixed-point notation for floating-point values.

Definition at line 60 of file mtextstream.h.


Member Function Documentation

int width int    w [inline]
 

Sets the field width and returns the old one.

Definition at line 51 of file mtextstream.h.

int width   const [inline]
 

Returns the current field width.

Definition at line 50 of file mtextstream.h.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:43 2005 for LibMagiC by doxygen1.2.18