added operator!=
Convert.cpp almost done
This commit is contained in:
@@ -27,6 +27,7 @@ namespace epics { namespace pvData {
|
||||
virtual void toString(StringBuilder buf);
|
||||
virtual void toString(StringBuilder buf,int indentLevel);
|
||||
virtual bool operator==(PVField *pv) ;
|
||||
virtual bool operator!=(PVField *pv) ;
|
||||
private:
|
||||
String value;
|
||||
};
|
||||
@@ -66,5 +67,10 @@ namespace epics { namespace pvData {
|
||||
return getConvert()->equals(this,pvField);
|
||||
}
|
||||
|
||||
bool BasePVString::operator!=(PVField *pvField)
|
||||
{
|
||||
return !(getConvert()->equals(this,pvField));
|
||||
}
|
||||
|
||||
}}
|
||||
#endif /* BASEPVSTRING_H */
|
||||
|
||||
Reference in New Issue
Block a user