PCL
Console Insertion and Extraction Operators

Functions

Consolepcl::operator<< (Console &o, const char *s)
 
Consolepcl::operator<< (Console &o, const String &s)
 
template<typename T >
Consolepcl::operator<< (Console &o, T t)
 
Consolepcl::operator>> (Console &o, char &c)
 
Consolepcl::operator>> (Console &o, String &s)
 

Detailed Description

Function Documentation

◆ operator<<() [1/3]

Console& pcl::operator<< ( Console o,
const char *  s 
)
inline

Writes a null-terminated string s to the console o. Returns a reference to the console o.

Definition at line 781 of file Console.h.

References pcl::Console::Write().

◆ operator<<() [2/3]

Console& pcl::operator<< ( Console o,
const String s 
)
inline

Writes a string s to the console o. Returns a reference to the console o.

Definition at line 792 of file Console.h.

References pcl::Console::Write().

◆ operator<<() [3/3]

template<typename T >
Console& pcl::operator<< ( Console o,
t 
)
inline

Writes an object t to the console o. The type T must have convert-to-string semantics. Returns a reference to the console o.

Definition at line 770 of file Console.h.

◆ operator>>() [1/2]

Console& pcl::operator>> ( Console o,
char &  c 
)
inline

Reads a character c from the console o. Returns a reference to the console o.

Definition at line 803 of file Console.h.

References pcl::Console::ReadChar().

◆ operator>>() [2/2]

Console& pcl::operator>> ( Console o,
String s 
)
inline

Reads a string s from the console o. Returns a reference to the console o.

Definition at line 814 of file Console.h.

References pcl::Console::ReadString().