System::ConsoleOutput class

ConsoleOutput class

Represents the standard output stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ConsoleOutput : public System::IO::TextWriter

Methods

MethodDescription
get_Encoding() overrideAlways returns ASCII encoding.
Write(bool) overrideOutputs the string representation of the specified bool value to the output stream represented by the current object.
Write(const SharedPtr<Object>&) overrideOutputs the string representation of the specified object to the output stream represented by the current object.
Write(char_t) overrideOutputs the specified character value to the output stream represented by the current object.
Write(Decimal) overrideOutputs the string representation of Decimal value to the output stream represented by the current object.
Write(double) overrideOutputs the string representation of double-precision floating-point value to the output stream represented by the current object.
Write(int32_t) overrideOutputs the string representation of 32-bit integer value to the output stream represented by the current object.
Write(int64_t) overrideOutputs the string representation of 64-bit integer value to the output stream represented by the current object.
Write(float) overrideOutputs the string representation of single-precision floating-point value to the output stream represented by the current object.
Write(const String&) overrideOutputs the specified string object to the output stream represented by the current object.
Write(uint32_t) overrideOutputs the string representation of unsigned 32-bit integer value to the output stream represented by the current object.
Write(uint64_t) overrideOutputs the string representation of unsigned 64-bit integer value to the output stream represented by the current object.
Write(const ArrayPtr<char_t>&) overrideOutputs the string representation of the specified character array to the output stream represented by the current object.
Write(const ArrayPtr<char_t>&, int32_t, int32_t) overrideOutputs the string representation of a range of values of the specified character array to the output stream represented by the current object.
Write(const char_t *) overrideOutputs the specified c-string to the output stream represented by the current object.
Write(const TypeInfo&) overrideOutputs the string representation of the specified TypeInfo object to the output stream represented by the current object.
Write(const char *)
WriteLine() overrideOutputs the current line terminator to the output stream represented by the current object.
WriteLine(const SharedPtr<Object>&) overrideOutputs the string representation of the specified object followed by the current line terminator to the output stream represented by the current object.
WriteLine(bool) overrideOutputs the string representation of the specified bool value followed by the current line terminator to the output stream represented by the current object.
WriteLine(char_t) overrideOutputs the specified character value followed by the current line terminator to the output stream represented by the current object.
WriteLine(Decimal) overrideOutputs the string representation of Decimal value followed by the current line terminator to the output stream represented by the current object.
WriteLine(double) overrideOutputs the string representation of double-precision floating-point value followed by the current line terminator to the output stream represented by the current object.
WriteLine(int) overrideOutputs the string representation of 32-bit integer value followed by the current line terminator to the output stream represented by the current object.
WriteLine(int64_t) overrideOutputs the string representation of 64-bit integer value followed by the current line terminator to the output stream represented by the current object.
WriteLine(float) overrideOutputs the string representation of single-precision floating-point value followed by the current line terminator to the output stream represented by the current object.
WriteLine(const String&) overrideOutputs the specified string object followed by the current line terminator to the output stream represented by the current object.
WriteLine(uint32_t) overrideOutputs the string representation of unsigned 32-bit integer value followed by the current line terminator to the output stream represented by the current object.
WriteLine(uint64_t) overrideOutputs the string representation of unsigned 64-bit integer value followed by the current line terminator to the output stream represented by the current object.
WriteLine(const ArrayPtr<char_t>&) overrideOutputs the string representation of the specified character array followed by the current line terminator to the output stream represented by the current object.
WriteLine(const ArrayPtr<char_t>&, int32_t, int32_t) overrideOutputs the string representation of a range of values of the specified character array followed by the current line terminator to the output stream represented by the current object.
WriteLine(const char_t *) overrideOutputs the specified c-string followed by the current line terminator to the output stream represented by the current object.
WriteLine(const TypeInfo&) overrideOutputs the string representation of the specified TypeInfo object followed by the current line terminator to the output stream represented by the current object.
WriteLine(const char *)

See Also