PCL
Console Insertion and Extraction Operators

Functions

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

Detailed Description

Function Documentation

◆ operator<<() [1/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 769 of file Console.h.

◆ operator<<() [2/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 780 of file Console.h.

References pcl::Console::Write().

◆ operator<<() [3/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 791 of file Console.h.

References pcl::Console::Write().

◆ 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 802 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 813 of file Console.h.

References pcl::Console::ReadString().