openshot-audio  0.1.7
Classes | Macros | Functions | Variables
juce_NewLine.h File Reference

Go to the source code of this file.

Classes

class  NewLine
 

Macros

#define JUCE_NEWLINE_H_INCLUDED
 

Functions

JUCE_API String &JUCE_CALLTYPE operator<< (String &string1, const NewLine &)
 
String operator+ (String s1, const NewLine &)
 

Variables

NewLine newLine
 

Macro Definition Documentation

◆ JUCE_NEWLINE_H_INCLUDED

#define JUCE_NEWLINE_H_INCLUDED

Function Documentation

◆ operator+()

String operator+ ( String  s1,
const NewLine  
)
inline

◆ operator<<()

JUCE_API String& JUCE_CALLTYPE operator<< ( String string1,
const NewLine  
)

Writes a new-line sequence to a string. You can use the predefined object 'newLine' to invoke this, e.g.

myString << "Hello World" << newLine << newLine;

Variable Documentation

◆ newLine

NewLine newLine

A predefined object representing a new-line, which can be written to a string or stream.

To write a new-line to a stream, you can use the predefined 'newLine' variable like this:

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