sc_dt::sc_bit Class Reference

#include <sysc/datatypes/bit/sc_bit.h>

Collaboration diagram for sc_dt::sc_bit:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_bit ()
 sc_bit (uint64 a)
 sc_bit (bool a)
 sc_bit (int a)
 sc_bit (char a)
 sc_bit (const sc_logic &a)
 sc_bit (const sc_bit &a)
 ~sc_bit ()
sc_bitoperator= (const sc_bit &b)
sc_bitoperator= (int64 b)
sc_bitoperator= (uint64 b)
sc_bitoperator= (long b)
sc_bitoperator= (unsigned long b)
sc_bitoperator= (int b)
sc_bitoperator= (bool b)
sc_bitoperator= (char b)
sc_bitoperator= (const sc_logic &b)
sc_bitoperator &= (const sc_bit &b)
sc_bitoperator &= (int b)
sc_bitoperator &= (bool b)
sc_bitoperator &= (char b)
sc_bitoperator|= (const sc_bit &b)
sc_bitoperator|= (int b)
sc_bitoperator|= (bool b)
sc_bitoperator|= (char b)
sc_bitoperator^= (const sc_bit &b)
sc_bitoperator^= (int b)
sc_bitoperator^= (bool b)
sc_bitoperator^= (char b)
 operator bool () const
bool operator! () const
bool to_bool () const
char to_char () const
sc_bitb_not ()
void print (::std::ostream &os=::std::cout) const
void scan (::std::istream &=::std::cin)

Friends

bool operator== (const sc_bit &a, const sc_bit &b)
bool operator== (const sc_bit &a, int b)
bool operator== (const sc_bit &a, bool b)
bool operator== (const sc_bit &a, char b)
bool operator== (int a, const sc_bit &b)
bool operator== (bool a, const sc_bit &b)
bool operator== (char a, const sc_bit &b)
bool equal (const sc_bit &a, const sc_bit &b)
bool equal (const sc_bit &a, int b)
bool equal (const sc_bit &a, bool b)
bool equal (const sc_bit &a, char b)
bool equal (int a, const sc_bit &b)
bool equal (bool a, const sc_bit &b)
bool equal (char a, const sc_bit &b)
bool operator!= (const sc_bit &a, const sc_bit &b)
bool operator!= (const sc_bit &a, int b)
bool operator!= (const sc_bit &a, bool b)
bool operator!= (const sc_bit &a, char b)
bool operator!= (int a, const sc_bit &b)
bool operator!= (bool a, const sc_bit &b)
bool operator!= (char a, const sc_bit &b)
bool not_equal (const sc_bit &a, const sc_bit &b)
bool not_equal (const sc_bit &a, int b)
bool not_equal (const sc_bit &a, bool b)
bool not_equal (const sc_bit &a, char b)
bool not_equal (int a, const sc_bit &b)
bool not_equal (bool a, const sc_bit &b)
bool not_equal (char a, const sc_bit &b)
const sc_bit operator~ (const sc_bit &a)
const sc_bit b_not (const sc_bit &a)
void b_not (sc_bit &r, const sc_bit &a)
const sc_bit operator| (const sc_bit &a, const sc_bit &b)
const sc_bit operator| (const sc_bit &a, int b)
const sc_bit operator| (const sc_bit &a, bool b)
const sc_bit operator| (const sc_bit &a, char b)
const sc_bit operator| (int a, const sc_bit &b)
const sc_bit operator| (bool a, const sc_bit &b)
const sc_bit operator| (char a, const sc_bit &b)
const sc_bit b_or (const sc_bit &a, const sc_bit &b)
const sc_bit b_or (const sc_bit &a, int b)
const sc_bit b_or (const sc_bit &a, bool b)
const sc_bit b_or (const sc_bit &a, char b)
const sc_bit b_or (int a, const sc_bit &b)
const sc_bit b_or (bool a, const sc_bit &b)
const sc_bit b_or (char a, const sc_bit &b)
void b_or (sc_bit &r, const sc_bit &a, const sc_bit &b)
void b_or (sc_bit &r, const sc_bit &a, int b)
void b_or (sc_bit &r, const sc_bit &a, bool b)
void b_or (sc_bit &r, const sc_bit &a, char b)
void b_or (sc_bit &r, int a, const sc_bit &b)
void b_or (sc_bit &r, bool a, const sc_bit &b)
void b_or (sc_bit &r, char a, const sc_bit &b)
const sc_bit operator & (const sc_bit &a, const sc_bit &b)
const sc_bit operator & (const sc_bit &a, int b)
const sc_bit operator & (const sc_bit &a, bool b)
const sc_bit operator & (const sc_bit &a, char b)
const sc_bit operator & (int a, const sc_bit &b)
const sc_bit operator & (bool a, const sc_bit &b)
const sc_bit operator & (char a, const sc_bit &b)
const sc_bit b_and (const sc_bit &a, const sc_bit &b)
const sc_bit b_and (const sc_bit &a, int b)
const sc_bit b_and (const sc_bit &a, bool b)
const sc_bit b_and (const sc_bit &a, char b)
const sc_bit b_and (int a, const sc_bit &b)
const sc_bit b_and (bool a, const sc_bit &b)
const sc_bit b_and (char a, const sc_bit &b)
void b_and (sc_bit &r, const sc_bit &a, const sc_bit &b)
void b_and (sc_bit &r, const sc_bit &a, int b)
void b_and (sc_bit &r, const sc_bit &a, bool b)
void b_and (sc_bit &r, const sc_bit &a, char b)
void b_and (sc_bit &r, int a, const sc_bit &b)
void b_and (sc_bit &r, bool a, const sc_bit &b)
void b_and (sc_bit &r, char a, const sc_bit &b)
const sc_bit operator^ (const sc_bit &a, const sc_bit &b)
const sc_bit operator^ (const sc_bit &a, int b)
const sc_bit operator^ (const sc_bit &a, bool b)
const sc_bit operator^ (const sc_bit &a, char b)
const sc_bit operator^ (int a, const sc_bit &b)
const sc_bit operator^ (bool a, const sc_bit &b)
const sc_bit operator^ (char a, const sc_bit &b)
const sc_bit b_xor (const sc_bit &a, const sc_bit &b)
const sc_bit b_xor (const sc_bit &a, int b)
const sc_bit b_xor (const sc_bit &a, bool b)
const sc_bit b_xor (const sc_bit &a, char b)
const sc_bit b_xor (int a, const sc_bit &b)
const sc_bit b_xor (bool a, const sc_bit &b)
const sc_bit b_xor (char a, const sc_bit &b)
void b_xor (sc_bit &r, const sc_bit &a, const sc_bit &b)
void b_xor (sc_bit &r, const sc_bit &a, int b)
void b_xor (sc_bit &r, const sc_bit &a, bool b)
void b_xor (sc_bit &r, const sc_bit &a, char b)
void b_xor (sc_bit &r, int a, const sc_bit &b)
void b_xor (sc_bit &r, bool a, const sc_bit &b)
void b_xor (sc_bit &r, char a, const sc_bit &b)


Detailed Description

Definition at line 238 of file sc_bit.h.


Constructor & Destructor Documentation

sc_dt::sc_bit::sc_bit (  )  [inline]

Definition at line 266 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( uint64  a  )  [inline, explicit]

Definition at line 272 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( bool  a  )  [inline, explicit]

Definition at line 278 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( int  a  )  [inline, explicit]

Definition at line 284 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( char  a  )  [inline, explicit]

Definition at line 290 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( const sc_logic a  )  [explicit]

Definition at line 96 of file sc_bit.cpp.

sc_dt::sc_bit::sc_bit ( const sc_bit a  )  [inline]

Definition at line 302 of file sc_bit.h.

sc_dt::sc_bit::~sc_bit (  )  [inline]

Definition at line 310 of file sc_bit.h.


Member Function Documentation

sc_bit& sc_dt::sc_bit::operator= ( const sc_bit b  )  [inline]

Definition at line 317 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( int64  b  )  [inline]

Definition at line 320 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( uint64  b  )  [inline]

Definition at line 323 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( long  b  )  [inline]

Definition at line 326 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( unsigned long  b  )  [inline]

Definition at line 329 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( int  b  )  [inline]

Definition at line 332 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( bool  b  )  [inline]

Definition at line 335 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator= ( char  b  )  [inline]

Definition at line 338 of file sc_bit.h.

sc_bit & sc_dt::sc_bit::operator= ( const sc_logic b  ) 

Definition at line 106 of file sc_bit.cpp.

sc_bit& sc_dt::sc_bit::operator &= ( const sc_bit b  )  [inline]

Definition at line 346 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator &= ( int  b  )  [inline]

Definition at line 349 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator &= ( bool  b  )  [inline]

Definition at line 352 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator &= ( char  b  )  [inline]

Definition at line 355 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator|= ( const sc_bit b  )  [inline]

Definition at line 359 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator|= ( int  b  )  [inline]

Definition at line 362 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator|= ( bool  b  )  [inline]

Definition at line 365 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator|= ( char  b  )  [inline]

Definition at line 368 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator^= ( const sc_bit b  )  [inline]

Definition at line 372 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator^= ( int  b  )  [inline]

Definition at line 375 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator^= ( bool  b  )  [inline]

Definition at line 378 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::operator^= ( char  b  )  [inline]

Definition at line 381 of file sc_bit.h.

sc_dt::sc_bit::operator bool (  )  const [inline]

Definition at line 390 of file sc_bit.h.

bool sc_dt::sc_bit::operator! (  )  const [inline]

Definition at line 393 of file sc_bit.h.

bool sc_dt::sc_bit::to_bool (  )  const [inline]

Definition at line 399 of file sc_bit.h.

char sc_dt::sc_bit::to_char (  )  const [inline]

Definition at line 402 of file sc_bit.h.

sc_bit& sc_dt::sc_bit::b_not (  )  [inline]

Definition at line 512 of file sc_bit.h.

void sc_dt::sc_bit::print ( ::std::ostream &  os = ::std::cout  )  const [inline]

Definition at line 744 of file sc_bit.h.

void sc_dt::sc_bit::scan ( ::std::istream &  is = ::std::cin  ) 

Definition at line 115 of file sc_bit.cpp.


Friends And Related Function Documentation

bool operator== ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 410 of file sc_bit.h.

bool operator== ( const sc_bit a,
int  b 
) [friend]

Definition at line 413 of file sc_bit.h.

bool operator== ( const sc_bit a,
bool  b 
) [friend]

Definition at line 416 of file sc_bit.h.

bool operator== ( const sc_bit a,
char  b 
) [friend]

Definition at line 419 of file sc_bit.h.

bool operator== ( int  a,
const sc_bit b 
) [friend]

Definition at line 422 of file sc_bit.h.

bool operator== ( bool  a,
const sc_bit b 
) [friend]

Definition at line 425 of file sc_bit.h.

bool operator== ( char  a,
const sc_bit b 
) [friend]

Definition at line 428 of file sc_bit.h.

bool equal ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 433 of file sc_bit.h.

bool equal ( const sc_bit a,
int  b 
) [friend]

Definition at line 436 of file sc_bit.h.

bool equal ( const sc_bit a,
bool  b 
) [friend]

Definition at line 439 of file sc_bit.h.

bool equal ( const sc_bit a,
char  b 
) [friend]

Definition at line 442 of file sc_bit.h.

bool equal ( int  a,
const sc_bit b 
) [friend]

Definition at line 445 of file sc_bit.h.

bool equal ( bool  a,
const sc_bit b 
) [friend]

Definition at line 448 of file sc_bit.h.

bool equal ( char  a,
const sc_bit b 
) [friend]

Definition at line 451 of file sc_bit.h.

bool operator!= ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 456 of file sc_bit.h.

bool operator!= ( const sc_bit a,
int  b 
) [friend]

Definition at line 459 of file sc_bit.h.

bool operator!= ( const sc_bit a,
bool  b 
) [friend]

Definition at line 462 of file sc_bit.h.

bool operator!= ( const sc_bit a,
char  b 
) [friend]

Definition at line 465 of file sc_bit.h.

bool operator!= ( int  a,
const sc_bit b 
) [friend]

Definition at line 468 of file sc_bit.h.

bool operator!= ( bool  a,
const sc_bit b 
) [friend]

Definition at line 471 of file sc_bit.h.

bool operator!= ( char  a,
const sc_bit b 
) [friend]

Definition at line 474 of file sc_bit.h.

bool not_equal ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 479 of file sc_bit.h.

bool not_equal ( const sc_bit a,
int  b 
) [friend]

Definition at line 482 of file sc_bit.h.

bool not_equal ( const sc_bit a,
bool  b 
) [friend]

Definition at line 485 of file sc_bit.h.

bool not_equal ( const sc_bit a,
char  b 
) [friend]

Definition at line 488 of file sc_bit.h.

bool not_equal ( int  a,
const sc_bit b 
) [friend]

Definition at line 491 of file sc_bit.h.

bool not_equal ( bool  a,
const sc_bit b 
) [friend]

Definition at line 494 of file sc_bit.h.

bool not_equal ( char  a,
const sc_bit b 
) [friend]

Definition at line 497 of file sc_bit.h.

const sc_bit operator~ ( const sc_bit a  )  [friend]

Definition at line 507 of file sc_bit.h.

const sc_bit b_not ( const sc_bit a  )  [friend]

Definition at line 517 of file sc_bit.h.

void b_not ( sc_bit r,
const sc_bit a 
) [friend]

Definition at line 522 of file sc_bit.h.

const sc_bit operator| ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 530 of file sc_bit.h.

const sc_bit operator| ( const sc_bit a,
int  b 
) [friend]

Definition at line 533 of file sc_bit.h.

const sc_bit operator| ( const sc_bit a,
bool  b 
) [friend]

Definition at line 536 of file sc_bit.h.

const sc_bit operator| ( const sc_bit a,
char  b 
) [friend]

Definition at line 539 of file sc_bit.h.

const sc_bit operator| ( int  a,
const sc_bit b 
) [friend]

Definition at line 542 of file sc_bit.h.

const sc_bit operator| ( bool  a,
const sc_bit b 
) [friend]

Definition at line 545 of file sc_bit.h.

const sc_bit operator| ( char  a,
const sc_bit b 
) [friend]

Definition at line 548 of file sc_bit.h.

const sc_bit b_or ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 553 of file sc_bit.h.

const sc_bit b_or ( const sc_bit a,
int  b 
) [friend]

Definition at line 556 of file sc_bit.h.

const sc_bit b_or ( const sc_bit a,
bool  b 
) [friend]

Definition at line 559 of file sc_bit.h.

const sc_bit b_or ( const sc_bit a,
char  b 
) [friend]

Definition at line 562 of file sc_bit.h.

const sc_bit b_or ( int  a,
const sc_bit b 
) [friend]

Definition at line 565 of file sc_bit.h.

const sc_bit b_or ( bool  a,
const sc_bit b 
) [friend]

Definition at line 568 of file sc_bit.h.

const sc_bit b_or ( char  a,
const sc_bit b 
) [friend]

Definition at line 571 of file sc_bit.h.

void b_or ( sc_bit r,
const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 576 of file sc_bit.h.

void b_or ( sc_bit r,
const sc_bit a,
int  b 
) [friend]

Definition at line 579 of file sc_bit.h.

void b_or ( sc_bit r,
const sc_bit a,
bool  b 
) [friend]

Definition at line 582 of file sc_bit.h.

void b_or ( sc_bit r,
const sc_bit a,
char  b 
) [friend]

Definition at line 585 of file sc_bit.h.

void b_or ( sc_bit r,
int  a,
const sc_bit b 
) [friend]

Definition at line 588 of file sc_bit.h.

void b_or ( sc_bit r,
bool  a,
const sc_bit b 
) [friend]

Definition at line 591 of file sc_bit.h.

void b_or ( sc_bit r,
char  a,
const sc_bit b 
) [friend]

Definition at line 594 of file sc_bit.h.

const sc_bit operator & ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 602 of file sc_bit.h.

const sc_bit operator & ( const sc_bit a,
int  b 
) [friend]

Definition at line 605 of file sc_bit.h.

const sc_bit operator & ( const sc_bit a,
bool  b 
) [friend]

Definition at line 608 of file sc_bit.h.

const sc_bit operator & ( const sc_bit a,
char  b 
) [friend]

Definition at line 611 of file sc_bit.h.

const sc_bit operator & ( int  a,
const sc_bit b 
) [friend]

Definition at line 614 of file sc_bit.h.

const sc_bit operator & ( bool  a,
const sc_bit b 
) [friend]

Definition at line 617 of file sc_bit.h.

const sc_bit operator & ( char  a,
const sc_bit b 
) [friend]

Definition at line 620 of file sc_bit.h.

const sc_bit b_and ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 625 of file sc_bit.h.

const sc_bit b_and ( const sc_bit a,
int  b 
) [friend]

Definition at line 628 of file sc_bit.h.

const sc_bit b_and ( const sc_bit a,
bool  b 
) [friend]

Definition at line 631 of file sc_bit.h.

const sc_bit b_and ( const sc_bit a,
char  b 
) [friend]

Definition at line 634 of file sc_bit.h.

const sc_bit b_and ( int  a,
const sc_bit b 
) [friend]

Definition at line 637 of file sc_bit.h.

const sc_bit b_and ( bool  a,
const sc_bit b 
) [friend]

Definition at line 640 of file sc_bit.h.

const sc_bit b_and ( char  a,
const sc_bit b 
) [friend]

Definition at line 643 of file sc_bit.h.

void b_and ( sc_bit r,
const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 648 of file sc_bit.h.

void b_and ( sc_bit r,
const sc_bit a,
int  b 
) [friend]

Definition at line 651 of file sc_bit.h.

void b_and ( sc_bit r,
const sc_bit a,
bool  b 
) [friend]

Definition at line 654 of file sc_bit.h.

void b_and ( sc_bit r,
const sc_bit a,
char  b 
) [friend]

Definition at line 657 of file sc_bit.h.

void b_and ( sc_bit r,
int  a,
const sc_bit b 
) [friend]

Definition at line 660 of file sc_bit.h.

void b_and ( sc_bit r,
bool  a,
const sc_bit b 
) [friend]

Definition at line 663 of file sc_bit.h.

void b_and ( sc_bit r,
char  a,
const sc_bit b 
) [friend]

Definition at line 666 of file sc_bit.h.

const sc_bit operator^ ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 674 of file sc_bit.h.

const sc_bit operator^ ( const sc_bit a,
int  b 
) [friend]

Definition at line 677 of file sc_bit.h.

const sc_bit operator^ ( const sc_bit a,
bool  b 
) [friend]

Definition at line 680 of file sc_bit.h.

const sc_bit operator^ ( const sc_bit a,
char  b 
) [friend]

Definition at line 683 of file sc_bit.h.

const sc_bit operator^ ( int  a,
const sc_bit b 
) [friend]

Definition at line 686 of file sc_bit.h.

const sc_bit operator^ ( bool  a,
const sc_bit b 
) [friend]

Definition at line 689 of file sc_bit.h.

const sc_bit operator^ ( char  a,
const sc_bit b 
) [friend]

Definition at line 692 of file sc_bit.h.

const sc_bit b_xor ( const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 697 of file sc_bit.h.

const sc_bit b_xor ( const sc_bit a,
int  b 
) [friend]

Definition at line 700 of file sc_bit.h.

const sc_bit b_xor ( const sc_bit a,
bool  b 
) [friend]

Definition at line 703 of file sc_bit.h.

const sc_bit b_xor ( const sc_bit a,
char  b 
) [friend]

Definition at line 706 of file sc_bit.h.

const sc_bit b_xor ( int  a,
const sc_bit b 
) [friend]

Definition at line 709 of file sc_bit.h.

const sc_bit b_xor ( bool  a,
const sc_bit b 
) [friend]

Definition at line 712 of file sc_bit.h.

const sc_bit b_xor ( char  a,
const sc_bit b 
) [friend]

Definition at line 715 of file sc_bit.h.

void b_xor ( sc_bit r,
const sc_bit a,
const sc_bit b 
) [friend]

Definition at line 720 of file sc_bit.h.

void b_xor ( sc_bit r,
const sc_bit a,
int  b 
) [friend]

Definition at line 723 of file sc_bit.h.

void b_xor ( sc_bit r,
const sc_bit a,
bool  b 
) [friend]

Definition at line 726 of file sc_bit.h.

void b_xor ( sc_bit r,
const sc_bit a,
char  b 
) [friend]

Definition at line 729 of file sc_bit.h.

void b_xor ( sc_bit r,
int  a,
const sc_bit b 
) [friend]

Definition at line 732 of file sc_bit.h.

void b_xor ( sc_bit r,
bool  a,
const sc_bit b 
) [friend]

Definition at line 735 of file sc_bit.h.

void b_xor ( sc_bit r,
char  a,
const sc_bit b 
) [friend]

Definition at line 738 of file sc_bit.h.


The documentation for this class was generated from the following files:

Generated on Wed Jan 21 15:32:17 2009 for SystemC by  doxygen 1.5.5