Auxiliary class for end of line.
More...
#include <JEquationFacet.hh>
Auxiliary class for end of line.
Definition at line 424 of file JEquationFacet.hh.
◆ JEndOfLine()
JLANG::JEndOfLine::JEndOfLine |
( |
| ) |
|
|
inline |
◆ operator()()
const JEndOfLine & JLANG::JEndOfLine::operator() |
( |
const unsigned int | i | ) |
const |
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | out, |
|
|
const JEndOfLine & | eol ) |
|
friend |
Print end of line.
- Parameters
-
out | output stream |
eol | end of line |
- Returns
- output stream
Definition at line 455 of file JEquationFacet.hh.
456 {
458
459 if (has_facet<JEquationFacet>(out.getloc()))
460 out << use_facet<JEquationFacet>(out.getloc()).getPreferredEndOfLine(eol.index);
461 else
462 out << '\n';
463
464 eol.index = 0;
465
466 return out;
467 }
◆ index
unsigned int JLANG::JEndOfLine::index |
|
mutableprivate |
The documentation for this struct was generated from the following file: