SystemC 3.0.0
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)
 
sc_bit operator~ (const sc_bit &a)
 
sc_bit operator| (const sc_bit &a, const sc_bit &b)
 
sc_bit operator& (const sc_bit &a, const sc_bit &b)
 
sc_bit operator^ (const sc_bit &a, const sc_bit &b)
 

Detailed Description

Definition at line 88 of file sc_bit.h.

Constructor & Destructor Documentation

◆ sc_bit() [1/3]

sc_dt::sc_bit::sc_bit ( )
inline

Definition at line 130 of file sc_bit.h.

◆ sc_bit() [2/3]

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

◆ sc_bit() [3/3]

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

Definition at line 158 of file sc_bit.h.

◆ ~sc_bit()

sc_dt::sc_bit::~sc_bit ( )
inline

Definition at line 166 of file sc_bit.h.

Member Function Documentation

◆ b_not()

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

Definition at line 249 of file sc_bit.h.

◆ operator bool()

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

Definition at line 216 of file sc_bit.h.

◆ operator!()

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

Definition at line 219 of file sc_bit.h.

◆ operator&=()

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

Definition at line 195 of file sc_bit.h.

◆ operator=() [1/2]

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

Definition at line 173 of file sc_bit.h.

◆ operator=() [2/2]

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

◆ operator^=()

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

Definition at line 201 of file sc_bit.h.

◆ operator|=()

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

Definition at line 198 of file sc_bit.h.

◆ print()

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

Definition at line 260 of file sc_bit.h.

◆ scan()

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

◆ to_bool()

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

Definition at line 225 of file sc_bit.h.

◆ to_char()

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

Definition at line 228 of file sc_bit.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 288 of file sc_bit.h.

◆ operator&

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

Definition at line 331 of file sc_bit.h.

◆ operator==

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

Definition at line 285 of file sc_bit.h.

◆ operator^

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

Definition at line 337 of file sc_bit.h.

◆ operator|

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

Definition at line 334 of file sc_bit.h.

◆ operator~

sc_bit operator~ ( const sc_bit a)
friend

Definition at line 312 of file sc_bit.h.


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