sc_core::sc_time Class Reference
#include <sysc/kernel/sc_time.h>
List of all members.
Public Types |
| typedef sc_dt::uint64 | value_type |
Public Member Functions |
| | sc_time () |
| | sc_time (double, sc_time_unit) |
| | sc_time (double, sc_time_unit, sc_simcontext *) |
| | sc_time (const sc_time &) |
| | sc_time (double, bool scale) |
| | sc_time (value_type, bool scale) |
| sc_time & | operator= (const sc_time &) |
| value_type | value () const |
| double | to_double () const |
| double | to_default_time_units () const |
| double | to_seconds () const |
| const std::string | to_string () const |
| bool | operator== (const sc_time &) const |
| bool | operator!= (const sc_time &) const |
| bool | operator< (const sc_time &) const |
| bool | operator<= (const sc_time &) const |
| bool | operator> (const sc_time &) const |
| bool | operator>= (const sc_time &) const |
| sc_time & | operator+= (const sc_time &) |
| sc_time & | operator-= (const sc_time &) |
| sc_time & | operator*= (double) |
| sc_time & | operator/= (double) |
| sc_time & | operator%= (const sc_time &) |
| void | print (::std::ostream &os=std::cout) const |
Static Public Member Functions |
| static sc_time | from_value (value_type) |
Friends |
| const sc_time | operator+ (const sc_time &, const sc_time &) |
| const sc_time | operator- (const sc_time &, const sc_time &) |
| const sc_time | operator* (const sc_time &, double) |
| const sc_time | operator* (double, const sc_time &) |
| const sc_time | operator/ (const sc_time &, double) |
| double | operator/ (const sc_time &, const sc_time &) |
| const sc_time | operator% (const sc_time &, const sc_time &) |
Detailed Description
Definition at line 73 of file sc_time.h.
Member Typedef Documentation
Constructor & Destructor Documentation
| sc_core::sc_time::sc_time |
( |
|
) |
[inline] |
| sc_core::sc_time::sc_time |
( |
const sc_time & |
t |
) |
[inline] |
| sc_core::sc_time::sc_time |
( |
double |
, |
|
|
bool |
scale | |
|
) |
| | |
| sc_core::sc_time::sc_time |
( |
value_type |
, |
|
|
bool |
scale | |
|
) |
| | |
Member Function Documentation
| bool sc_core::sc_time::operator!= |
( |
const sc_time & |
t |
) |
const [inline] |
| sc_time & sc_core::sc_time::operator*= |
( |
double |
d |
) |
[inline] |
| sc_time & sc_core::sc_time::operator/= |
( |
double |
d |
) |
[inline] |
| bool sc_core::sc_time::operator< |
( |
const sc_time & |
t |
) |
const [inline] |
| bool sc_core::sc_time::operator<= |
( |
const sc_time & |
t |
) |
const [inline] |
| bool sc_core::sc_time::operator== |
( |
const sc_time & |
t |
) |
const [inline] |
| bool sc_core::sc_time::operator> |
( |
const sc_time & |
t |
) |
const [inline] |
| bool sc_core::sc_time::operator>= |
( |
const sc_time & |
t |
) |
const [inline] |
| void sc_core::sc_time::print |
( |
::std::ostream & |
os = std::cout |
) |
const |
| double sc_core::sc_time::to_default_time_units |
( |
|
) |
const |
| double sc_core::sc_time::to_double |
( |
|
) |
const [inline] |
| double sc_core::sc_time::to_seconds |
( |
|
) |
const |
| const std::string sc_core::sc_time::to_string |
( |
|
) |
const |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: