Jpp
|
Auxiliary class for comment. More...
#include <JComment.hh>
Public Member Functions | |
JComment () | |
Default constructor. More... | |
JComment & | add (const std::string &comment) |
Add comment. More... | |
JComment & | add (const JComment &comment) |
Add comment. More... | |
Static Public Attributes | |
static const char | START_COMMENT = '#' |
start of comment More... | |
static const char | CLOSE_COMMENT = '\n' |
close of comment More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JComment &comment) |
Read comment from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JComment &comment) |
Write comment to output. More... | |
Auxiliary class for comment.
A comment starts with a
JComment::START_COMMENT
and ends with a
JComment::CLOSE_COMMENT
. The comments are appended.
Definition at line 34 of file JComment.hh.
|
inline |
|
inline |
Add comment.
comment | comment |
Definition at line 55 of file JComment.hh.
Add comment.
comment | comment |
Definition at line 69 of file JComment.hh.
|
friend |
Read comment from input.
in | input stream |
comment | comment |
Definition at line 86 of file JComment.hh.
|
friend |
Write comment to output.
out | output stream |
comment | comment |
Definition at line 114 of file JComment.hh.
|
static |
start of comment
Definition at line 38 of file JComment.hh.
|
static |
close of comment
Definition at line 39 of file JComment.hh.