#include <ncbistr.hpp>
Case sensitivity can be turned on and off at runtime.
Used as arguments to template functions for specifying the type of comparison.
Definition at line 3112 of file ncbistr.hpp.
Public Member Functions | |
| PNocase_Conditional_Generic (NStr::ECase case_sens=NStr::eCase) | |
| Construction. | |
| NStr::ECase | GetCase () const |
| Get comparison type. | |
| void | SetCase (NStr::ECase case_sens) |
| Set comparison type. | |
| int | Compare (const T &s1, const T &s2) const |
| Return difference between "s1" and "s2". | |
| bool | Less (const T &s1, const T &s2) const |
| Return TRUE if s1 < s2. | |
| bool | Equals (const T &s1, const T &s2) const |
| Return TRUE if s1 == s2. | |
| bool | operator() (const T &s1, const T &s2) const |
| Return TRUE if s1 < s2 ignoring case. | |
Private Attributes | |
| NStr::ECase | m_CaseSensitive |
| case sensitive when TRUE | |
|
||||||||||
|
Construction.
Definition at line 3741 of file ncbistr.hpp. |
|
||||||||||||||||
|
Return difference between "s1" and "s2".
Definition at line 3747 of file ncbistr.hpp. References NStr::Compare(), and PNocase_Conditional_Generic< T >::m_CaseSensitive. Referenced by PNocase_Conditional_Generic< T >::Equals(), and PNocase_Conditional_Generic< T >::Less(). |
|
||||||||||||||||
|
Return TRUE if s1 == s2.
Definition at line 3761 of file ncbistr.hpp. References PNocase_Conditional_Generic< T >::Compare(). |
|
|||||||||
|
Get comparison type.
Definition at line 3119 of file ncbistr.hpp. References PNocase_Conditional_Generic< T >::m_CaseSensitive. |
|
||||||||||||||||
|
Return TRUE if s1 < s2.
Definition at line 3754 of file ncbistr.hpp. References PNocase_Conditional_Generic< T >::Compare(). Referenced by PNocase_Conditional_Generic< T >::operator()(). |
|
||||||||||||||||
|
Return TRUE if s1 < s2 ignoring case.
Definition at line 3768 of file ncbistr.hpp. References PNocase_Conditional_Generic< T >::Less(). |
|
||||||||||
|
Set comparison type.
Definition at line 3122 of file ncbistr.hpp. References PNocase_Conditional_Generic< T >::m_CaseSensitive. |
|
|||||
|
case sensitive when TRUE
Definition at line 3136 of file ncbistr.hpp. Referenced by PNocase_Conditional_Generic< T >::Compare(), PNocase_Conditional_Generic< T >::GetCase(), and PNocase_Conditional_Generic< T >::SetCase(). |
1.4.6
Modified on Mon Dec 07 16:24:29 2009 by modify_doxy.py rev. 173732