asdm::CharComparator Class Reference
Functor class of for a comparison between a "given" character and a characted assumed to be read from a file.
More...
#include <Misc.h>
List of all members.
Detailed Description
Functor class of for a comparison between a "given" character and a characted assumed to be read from a file.
Instances of this class are meant to be used as binary bool functor comparing the uppercase version of the first (char) operand with the second (char) operand and returning the boolan result of the comparison as long as the read head position in the file passed as a parameter to the constructor is smaller than a limit also passed a parameter to the constructor. Once this limit is passed , the () operator which returns the result of the comparison will return systematically true.
Definition at line 432 of file Misc.h.
Constructor & Destructor Documentation
asdm::CharComparator::CharComparator |
( |
std::ifstream * |
is_p = NULL , |
|
|
off_t |
limit = 0 | |
|
) |
| | |
Member Function Documentation
bool asdm::CharComparator::operator() |
( |
char |
cl, |
|
|
char |
cr | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following file: