PosibErr<const char *> operator() (ParmStr str) { if (conv) { buf.clear(); RET_ON_ERR(conv->convert_ec(str, -1, buf, buf0, str)); return buf.mstr(); } else { return str.str(); } }
static inline bool operator!= (const char * s1, ParmStr s2) { if (s1 == 0 || s2.str() == 0) return s1 != s2.str(); return strcmp(s1,s2) != 0; }
static inline bool operator!= (ParmStr s1, ParmStr s2) { if (s1.str() == 0 || s2.str() == 0) return s1.str() != s2.str(); return strcmp(s1,s2) != 0; }
static inline bool operator== (ParmStr s1, const char * s2) { if (s1.str() == 0 || s2 == 0) return s1.str() == s2; return strcmp(s1,s2) == 0; }