Lines Matching defs:operator
156 operator = (const sc_bit &b)
163 sc_bit &operator op(tp b) { return (*this op sc_bit(b)); }
175 sc_bit &operator = (const sc_logic &b); // non-VSIA
179 operator &= (const sc_bit &b)
186 operator |= (const sc_bit &b)
193 operator ^= (const sc_bit &b)
210 operator bool () const { return m_val; }
213 bool operator ! () const { return !m_val; }
222 friend bool operator == (const sc_bit &a, const sc_bit &b);
223 friend bool operator != (const sc_bit &a, const sc_bit &b);
229 friend const sc_bit operator ~ (const sc_bit &a);
240 friend const sc_bit operator | (const sc_bit &a, const sc_bit &b);
241 friend const sc_bit operator & (const sc_bit &a, const sc_bit &b);
242 friend const sc_bit operator ^ (const sc_bit &a, const sc_bit &b);
266 operator == (const sc_bit &a, const sc_bit &b)
272 operator != (const sc_bit &a, const sc_bit &b)
277 DEFN_BIN_FUN(bool, operator ==)
278 DEFN_BIN_FUN(bool, operator !=)
295 inline const sc_bit operator ~ (const sc_bit &a) { return sc_bit(!a.m_val); }
306 operator & (const sc_bit &a, const sc_bit &b)
312 operator | (const sc_bit &a, const sc_bit &b)
318 operator ^ (const sc_bit &a, const sc_bit &b)
323 DEFN_BIN_FUN(const sc_bit,operator&)
324 DEFN_BIN_FUN(const sc_bit,operator|)
325 DEFN_BIN_FUN(const sc_bit,operator^)
366 operator << (::std::ostream &os, const sc_bit &a)
373 operator >> (::std::istream &is, sc_bit &a)