This class is used for represent a new-line character sequence. More...
#include <juce_NewLine.h>
Public Member Functions | |
operator String () const | |
Returns the default new-line sequence that the library uses. | |
operator StringRef () const noexcept | |
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. | |
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.
The exact character sequence that will be used for the new-line can be set and retrieved with OutputStream::setNewLineString() and OutputStream::getNewLineString().
|
staticnoexcept |
Returns the default new-line sequence that the library uses.
Referenced by operator+(), operator+(), operator+(), operator+=(), and operator<<().
NewLine::operator String | ( | ) | const |
Returns the default new-line sequence that the library uses.
|
noexcept |
Returns the default new-line sequence that the library uses.