JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions
NewLine Class Reference

This class is used for represent a new-line character sequence. More...

List of all members.

Public Member Functions

 operator String () const
 Returns the default new-line sequence that the library uses.

Static Public Member Functions

static const char * getDefault () noexcept
 Returns the default new-line sequence that the library uses.

Detailed Description

This class is used for represent a new-line character sequence.

To write a new-line to a stream, you can use the predefined 'newLine' variable, e.g.

    myOutputStream << "Hello World" << newLine << newLine;

The exact character sequence that will be used for the new-line can be set and retrieved with OutputStream::setNewLineString() and OutputStream::getNewLineString().


Member Function Documentation

static const char* NewLine::getDefault ( ) [static]

Returns the default new-line sequence that the library uses.

See also:
OutputStream::setNewLineString()
NewLine::operator String ( ) const

Returns the default new-line sequence that the library uses.

See also:
getDefault()

The documentation for this class was generated from the following file: