![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
PNM Header class. More...
#include <PNMHeader.hpp>

Public Member Functions | |
| void | Comment (const std::string &cmt, const size_t line) |
| Set comment of line 'line' with contents cmt. More... | |
| std::string | Comment (const size_t line) const |
| Returns comment contents from line 'line'. More... | |
| int | First () const |
| Returns the line of the first comment. If there are no comments, returns -1. More... | |
| int | Last () const |
| Returns the line of the last comment. If there are no comments, returns -1. More... | |
PNM Header class.
Definition at line 26 of file PNMHeader.hpp.
Set comment of line 'line' with contents cmt.
| cmt | Comment contents |
| line | Comment line |
| std::string Bial::PNMHeader::Comment | ( | const size_t | line | ) | const |
Returns comment contents from line 'line'.
| line | Comment line |
| int Bial::PNMHeader::First | ( | ) | const |
Returns the line of the first comment. If there are no comments, returns -1.
| none. |
| int Bial::PNMHeader::Last | ( | ) | const |
Returns the line of the last comment. If there are no comments, returns -1.
| none. |