Lines Matching defs:operator
120 // friend operator declarations
124 inline bool operator == (const sc_int_base &a, const sc_int_base &b);
125 inline bool operator != (const sc_int_base &a, const sc_int_base &b);
126 inline bool operator < (const sc_int_base &a, const sc_int_base &b);
127 inline bool operator <= (const sc_int_base &a, const sc_int_base &b);
128 inline bool operator > (const sc_int_base &a, const sc_int_base &b);
129 inline bool operator >= (const sc_int_base &a, const sc_int_base &b);
193 if (operator uint64()) {
205 return operator uint64();
210 operator uint64 () const;
211 bool operator ! () const;
212 bool operator ~ () const;
216 uint64 value() const { return operator uint64(); }
218 bool to_bool() const { return operator uint64(); }
230 sc_int_bitref_r &operator = (const sc_int_bitref_r &);
234 inline ::std::ostream &operator << (::std::ostream &, const sc_int_bitref_r &);
256 sc_int_bitref &operator = (const sc_int_bitref_r &b);
257 sc_int_bitref &operator = (const sc_int_bitref &b);
258 sc_int_bitref &operator = (bool b);
260 sc_int_bitref &operator &= (bool b);
261 sc_int_bitref &operator |= (bool b);
262 sc_int_bitref &operator ^= (bool b);
279 inline ::std::istream &operator >> (::std::istream &, sc_int_bitref &);
333 uint64 val = operator uint_type();
349 operator uint_type () const;
352 uint_type value() const { return operator uint_type(); }
380 const sc_int_subref_r &operator = (const sc_int_subref_r &);
383 inline ::std::ostream &operator << (::std::ostream &, const sc_int_subref_r &);
406 sc_int_subref &operator = (int_type v);
407 sc_int_subref &operator = (const sc_int_base &a);
410 operator = (const sc_int_subref_r &a)
412 return operator = (a.operator uint_type());
416 operator = (const sc_int_subref &a)
418 return operator = (a.operator uint_type());
423 operator = (const sc_generic_base<T> &a)
425 return operator = (a->to_int64());
428 sc_int_subref &operator = (const char *a);
431 operator = (unsigned long a)
433 return operator = ((int_type)a);
437 operator = (long a)
439 return operator = ((int_type)a);
443 operator = (unsigned int a)
445 return operator = ((int_type)a);
449 operator = (int a)
451 return operator = ((int_type)a);
455 operator = (uint64 a)
457 return operator = ((int_type)a);
461 operator = (double a)
463 return operator = ((int_type)a);
466 sc_int_subref &operator = (const sc_signed &);
467 sc_int_subref &operator = (const sc_unsigned &);
468 sc_int_subref &operator = (const sc_bv_base &);
469 sc_int_subref &operator = (const sc_lv_base &);
485 inline ::std::istream &operator >> (::std::istream &, sc_int_subref &);
590 operator = (int_type v)
598 operator = (const sc_int_base &a)
606 operator = (const sc_int_subref_r &a)
615 operator = (const sc_generic_base<T> &a)
622 sc_int_base &operator = (const sc_signed &a);
623 sc_int_base &operator = (const sc_unsigned &a);
625 sc_int_base &operator = (const sc_fxval &a);
626 sc_int_base &operator = (const sc_fxval_fast &a);
627 sc_int_base &operator = (const sc_fxnum &a);
628 sc_int_base &operator = (const sc_fxnum_fast &a);
630 sc_int_base &operator = (const sc_bv_base &a);
631 sc_int_base &operator = (const sc_lv_base &a);
633 sc_int_base &operator = (const char *a);
636 operator = (unsigned long a)
644 operator = (long a)
652 operator = (unsigned int a)
660 operator = (int a)
668 operator = (uint64 a)
676 operator = (double a)
685 operator += (int_type v)
693 operator -= (int_type v)
701 operator *= (int_type v)
709 operator /= (int_type v)
717 operator %= (int_type v)
727 operator &= (int_type v)
735 operator |= (int_type v)
743 operator ^= (int_type v)
752 operator <<= (int_type v)
760 operator >>= (int_type v)
770 operator ++ () // prefix
778 operator ++ (int) // postfix
787 operator -- () // prefix
795 operator -- ( int ) // postfix
806 operator == (const sc_int_base &a, const sc_int_base &b)
812 operator != (const sc_int_base &a, const sc_int_base &b)
818 operator < (const sc_int_base &a, const sc_int_base &b)
824 operator <= (const sc_int_base &a, const sc_int_base &b)
830 operator > (const sc_int_base &a, const sc_int_base &b)
836 operator >= (const sc_int_base &a, const sc_int_base &b)
843 sc_int_bitref &operator [] (int i);
844 const sc_int_bitref_r &operator [] (int i) const;
851 sc_int_subref &operator () (int left, int right);
852 const sc_int_subref_r &operator () (int left, int right) const;
906 operator int_type() const { return m_val; }
910 int_type value() const { return operator int_type(); }
942 inline ::std::ostream &operator << (::std::ostream &, const sc_int_base &);
943 inline ::std::istream &operator >> (::std::istream &, sc_int_base &);
954 inline sc_int_bitref_r::operator uint64 () const
960 sc_int_bitref_r::operator ! () const
966 sc_int_bitref_r::operator ~ () const
973 operator << (::std::ostream &os, const sc_int_bitref_r &a)
989 sc_int_bitref::operator = (const sc_int_bitref_r &b)
997 sc_int_bitref::operator = (const sc_int_bitref &b)
1005 sc_int_bitref::operator = (bool b)
1014 sc_int_bitref::operator &= (bool b)
1024 sc_int_bitref::operator |= (bool b)
1034 sc_int_bitref::operator ^= (bool b)
1046 operator >> (::std::istream &is, sc_int_bitref &a)
1061 inline sc_int_subref_r::operator uint_type() const
1099 int result = static_cast<int>(operator uint_type());
1106 unsigned int result = static_cast<unsigned int>(operator uint_type());
1113 long result = static_cast<long>(operator uint_type());
1120 unsigned long result = static_cast<unsigned long>(operator uint_type());
1127 int64 result = operator uint_type();
1134 uint64 result = operator uint_type();
1141 double result = static_cast<double>(operator uint_type());
1152 a = operator uint_type();
1160 a = operator uint_type();
1206 operator << (::std::ostream &os, const sc_int_subref_r &a)
1222 sc_int_subref::operator = (const sc_int_base &a)
1224 return operator = (a.operator int_type());
1228 sc_int_subref::operator = (const char *a)
1237 operator >> (::std::istream &is, sc_int_subref &a)
1253 sc_int_base::operator [] (int i)
1262 sc_int_base::operator [] (int i) const
1293 sc_int_base::operator () (int left, int right)
1302 sc_int_base::operator () (int left, int right) const
1371 operator << (::std::ostream &os, const sc_int_base &a)
1378 operator >> (::std::istream &is, sc_int_base &a)