MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / ok

Method ok

src/openms/source/CONCEPT/FuzzyStringComparator.cpp:734–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732 }
733
734 bool FuzzyStringComparator::InputLine::ok() const
735 {
736 return !line_.fail(); // failbit AND badbit are both NOT set; using fail() seems the only portable solution for both C++98 and C++11
737 // operator bool() (C++11 only) and operator void*() (C++98 only) are both not very sexy since they are not "safe bool idiomatic" and would require
738 // a macro here... So we use a real function name (both internally and externally)
739 }
740
741 FuzzyStringComparator::PrefixInfo_::PrefixInfo_(const InputLine& input_line, const int this_tab_width_, const int this_first_column_) :
742 prefix(input_line.line_.str()), line_column(0)

Callers 1

compareLines_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected