Lines Matching refs:ArgA
43 * @param ArgA The base value.
44 * @param ArgB The value to compare ArgA against.
48 * the "<" operator. It works like strcmp and returns a negative value if ArgA
49 * is less than ArgB, zero if ArgA is equal to ArgB and a positive value if
50 * ArgA is greater than ArgB.
53 int CmpAny(const TYPE& ArgA, const TYPE& ArgB)
55 if ( ArgA < ArgB ) {
57 } else if ( ArgB < ArgA ) {
65 inline int CmpAny(const wxString& ArgA, const wxString& ArgB)
67 if (ArgA.IsEmpty() && !ArgB.IsEmpty()) {
69 } else if (!ArgA.IsEmpty() && ArgB.IsEmpty()) {
71 } else if (ArgA.IsEmpty() && ArgB.IsEmpty()) {
74 return ArgA.CmpNoCase( ArgB );
79 inline int CmpAny(const wxChar* ArgA, const wxChar* ArgB)
81 return CmpAny(wxString( ArgA ), wxString( ArgB ));