Auxiliary data structure for line.
More...
Auxiliary data structure for line.
Definition at line 17 of file JText.cc.
◆ operator>>
std::istream & operator>> |
( |
std::istream & | in, |
|
|
JText & | text ) |
|
friend |
Read text from input stream.
- Parameters
-
- Returns
- input stream
Definition at line 26 of file JText.cc.
27 {
29
31 }
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JText & | text ) |
|
friend |
Write text to output stream.
- Parameters
-
out | output stream |
text | text |
- Returns
- output stream
Definition at line 40 of file JText.cc.
41 {
42 return out <<
text.x1 <<
' ' <<
text.y1 <<
' ' <<
text.text;
43 }
◆ x1
◆ y1
◆ text
The documentation for this struct was generated from the following file: