StreamWriter Class

Writes character data to a ByteStream using UTF-8 encoding.

Definition

Line 10 of System.Base/StreamWriter.cm

Inheritance

Constructors & Destructor

public StreamWriter(const SharedPtr<ByteStream>& stream_)

Member Functions

public nothrow const SharedPtr<ByteStream>& ContainedStream()
public void Flush()
public override void Write(bool x)
public override void Write(byte x)
public override void Write(char x)
public override void Write(const Date& date)
public override void Write(const DateTime& dateTime)
public override void Write(const String<char>& x)
public override void Write(const String<uchar>& x)
public override void Write(const String<wchar>& x)
public void Write(const char* x, long length)
public override void Write(double x)
public override void Write(float x)
public override void Write(int x)
public override void Write(long x)
public override void Write(sbyte x)
public override void Write(short x)
public override void Write(uchar x)
public override void Write(uint x)
public override void Write(ulong x)
public override void Write(ushort x)
public override void Write(wchar x)
public override void WriteLine()
public override void WriteLine(bool x)
public override void WriteLine(byte x)
public override void WriteLine(const Date& date)
public override void WriteLine(const DateTime& dateTime)
public override void WriteLine(const String<char>& x)
public override void WriteLine(const String<uchar>& x)
public override void WriteLine(const String<wchar>& x)
public override void WriteLine(double x)
public override void WriteLine(float x)
public override void WriteLine(int x)
public override void WriteLine(long x)
public override void WriteLine(sbyte x)
public override void WriteLine(short x)
public override void WriteLine(uint x)
public override void WriteLine(ulong x)
public override void WriteLine(ushort x)

Member Variables

private SharedPtr<ByteStream> stream

Constructor& Destructor Details

StreamWriter Constructor

public StreamWriter(const SharedPtr<ByteStream>& stream_)

Definition
Line 12 of System.Base/StreamWriter.cm


Member Function Details

ContainedStream Member Function

public nothrow const SharedPtr<ByteStream>& ContainedStream()

Definition
Line 184 of System.Base/StreamWriter.cm


Flush Member Function

public void Flush()

Definition
Line 180 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(bool x)

Definition
Line 32 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(byte x)

Definition
Line 52 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(char x)

Definition
Line 36 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(const Date& date)

Definition
Line 88 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(const DateTime& dateTime)

Definition
Line 92 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(const String<char>& x)

Definition
Line 20 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(const String<uchar>& x)

Definition
Line 28 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(const String<wchar>& x)

Definition
Line 24 of System.Base/StreamWriter.cm


Write Member Function

public void Write(const char* x, long length)

Definition
Line 15 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(double x)

Definition
Line 84 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(float x)

Definition
Line 80 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(int x)

Definition
Line 64 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(long x)

Definition
Line 72 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(sbyte x)

Definition
Line 48 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(short x)

Definition
Line 56 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(uchar x)

Definition
Line 44 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(uint x)

Definition
Line 68 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(ulong x)

Definition
Line 76 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(ushort x)

Definition
Line 60 of System.Base/StreamWriter.cm


Write Member Function

public override void Write(wchar x)

Definition
Line 40 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine()

Definition
Line 96 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(bool x)

Definition
Line 115 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(byte x)

Definition
Line 125 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(const Date& date)

Definition
Line 170 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(const DateTime& dateTime)

Definition
Line 175 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(const String<char>& x)

Definition
Line 100 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(const String<uchar>& x)

Definition
Line 110 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(const String<wchar>& x)

Definition
Line 105 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(double x)

Definition
Line 165 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(float x)

Definition
Line 160 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(int x)

Definition
Line 140 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(long x)

Definition
Line 150 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(sbyte x)

Definition
Line 120 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(short x)

Definition
Line 130 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(uint x)

Definition
Line 145 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(ulong x)

Definition
Line 155 of System.Base/StreamWriter.cm


WriteLine Member Function

public override void WriteLine(ushort x)

Definition
Line 135 of System.Base/StreamWriter.cm