File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ struct HSPLASMA_EXPORT hsMatrix44
4545 float operator ()(int y, int x) const { return data[y+(x*4 )]; }
4646 float & operator ()(int y, int x) { return data[y+(x*4 )]; }
4747 bool operator ==(const hsMatrix44& other) const ;
48+ bool operator !=(const hsMatrix44& other) const { return !operator ==(other); }
4849 const float * glMatrix () const { return data; }
4950
5051 hsMatrix44 operator *(const hsMatrix44& right) const ;
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ class HSPLASMA_EXPORT plKeyData
8383 */
8484 bool operator ==(const plKeyData& other) const { return (fUoid == other.fUoid ); }
8585
86+ bool operator !=(const plKeyData& other) const { return !operator ==(other); }
87+
8688 /* *
8789 * Read a key directly from the key index of a PRP file. This will
8890 * include the file offset and size where the hsKeyedObject is stored.
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ class HSPLASMA_EXPORT hsBitVector
6969 /* * Comparison operator */
7070 bool operator ==(bool value) const ;
7171
72+ bool operator !=(bool value) const { return !operator ==(value); }
73+
7274 /* * Assignment operator -- modifies the hsBitVector */
7375 Bit& operator =(bool value);
7476 };
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ struct HSPLASMANET_EXPORT pnVaultNodeRef
127127 void read (const unsigned char * buffer);
128128 void write (unsigned char * buffer);
129129 bool operator ==(const pnVaultNodeRef& ref) const ;
130+ bool operator !=(const pnVaultNodeRef& ref) const { return !operator ==(ref); }
130131};
131132
132133#endif
You can’t perform that action at this time.
0 commit comments