SystemC  2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Friends | List of all members
sc_dt::sc_bit Class Reference

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

Public Member Functions

 sc_bit ()
 
 sc_bit (const sc_logic &a)
 
 sc_bit (const sc_bit &a)
 
 ~sc_bit ()
 
sc_bitoperator= (const sc_bit &b)
 
sc_bitoperator= (const sc_logic &b)
 
sc_bitoperator&= (const sc_bit &b)
 
sc_bitoperator|= (const sc_bit &b)
 
sc_bitoperator^= (const sc_bit &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, const sc_bit &b)
 
const sc_bit operator~ (const sc_bit &a)
 
const sc_bit operator| (const sc_bit &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, const sc_bit &b)
 

Detailed Description

Definition at line 86 of file sc_bit.h.

Constructor & Destructor Documentation

sc_dt::sc_bit::sc_bit ( )
inline

Definition at line 128 of file sc_bit.h.

sc_dt::sc_bit::sc_bit ( const sc_logic a)
explicit
sc_dt::sc_bit::sc_bit ( const sc_bit a)
inline

Definition at line 156 of file sc_bit.h.

sc_dt::sc_bit::~sc_bit ( )
inline

Definition at line 164 of file sc_bit.h.

Member Function Documentation

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

Definition at line 247 of file sc_bit.h.

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

Definition at line 214 of file sc_bit.h.

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

Definition at line 217 of file sc_bit.h.

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

Definition at line 193 of file sc_bit.h.

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

Definition at line 171 of file sc_bit.h.

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

Definition at line 199 of file sc_bit.h.

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

Definition at line 196 of file sc_bit.h.

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

Definition at line 258 of file sc_bit.h.

void sc_dt::sc_bit::scan ( ::std::istream &  = ::std::cin)
bool sc_dt::sc_bit::to_bool ( ) const
inline

Definition at line 223 of file sc_bit.h.

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

Definition at line 226 of file sc_bit.h.

Friends And Related Function Documentation

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

Definition at line 286 of file sc_bit.h.

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

Definition at line 329 of file sc_bit.h.

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

Definition at line 283 of file sc_bit.h.

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

Definition at line 335 of file sc_bit.h.

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

Definition at line 332 of file sc_bit.h.

const sc_bit operator~ ( const sc_bit a)
friend

Definition at line 310 of file sc_bit.h.


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