sc_core::sc_time Class Reference

#include <sysc/kernel/sc_time.h>

Collaboration diagram for sc_core::sc_time:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_time ()
 sc_time (double, sc_time_unit)
 sc_time (double, sc_time_unit, sc_simcontext *)
 sc_time (double, bool scale)
 sc_time (sc_dt::uint64, bool scale)
 sc_time (const sc_time &)
sc_timeoperator= (const sc_time &)
sc_dt::uint64 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_timeoperator+= (const sc_time &)
sc_timeoperator-= (const sc_time &)
sc_timeoperator*= (double)
sc_timeoperator/= (double)
void print (::std::ostream &os=std::cout) const

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 &)


Detailed Description

Definition at line 90 of file sc_time.h.


Constructor & Destructor Documentation

sc_core::sc_time::sc_time (  )  [inline]

Definition at line 165 of file sc_time.h.

sc_core::sc_time::sc_time ( double  v,
sc_time_unit  tu 
)

Definition at line 95 of file sc_time.cpp.

sc_core::sc_time::sc_time ( double  v,
sc_time_unit  tu,
sc_simcontext simc 
)

Definition at line 108 of file sc_time.cpp.

sc_core::sc_time::sc_time ( double  v,
bool  scale 
)

Definition at line 121 of file sc_time.cpp.

sc_core::sc_time::sc_time ( sc_dt::uint64  v,
bool  scale 
)

Definition at line 141 of file sc_time.cpp.

sc_core::sc_time::sc_time ( const sc_time t  )  [inline]

Definition at line 170 of file sc_time.h.


Member Function Documentation

sc_time & sc_core::sc_time::operator= ( const sc_time t  )  [inline]

Definition at line 179 of file sc_time.h.

sc_dt::uint64 sc_core::sc_time::value (  )  const [inline]

Definition at line 190 of file sc_time.h.

double sc_core::sc_time::to_double (  )  const [inline]

Definition at line 198 of file sc_time.h.

double sc_core::sc_time::to_default_time_units (  )  const

Definition at line 164 of file sc_time.cpp.

double sc_core::sc_time::to_seconds (  )  const

Definition at line 172 of file sc_time.cpp.

const std::string sc_core::sc_time::to_string (  )  const

Definition at line 180 of file sc_time.cpp.

bool sc_core::sc_time::operator== ( const sc_time t  )  const [inline]

Definition at line 208 of file sc_time.h.

bool sc_core::sc_time::operator!= ( const sc_time t  )  const [inline]

Definition at line 215 of file sc_time.h.

bool sc_core::sc_time::operator< ( const sc_time t  )  const [inline]

Definition at line 222 of file sc_time.h.

bool sc_core::sc_time::operator<= ( const sc_time t  )  const [inline]

Definition at line 229 of file sc_time.h.

bool sc_core::sc_time::operator> ( const sc_time t  )  const [inline]

Definition at line 236 of file sc_time.h.

bool sc_core::sc_time::operator>= ( const sc_time t  )  const [inline]

Definition at line 243 of file sc_time.h.

sc_time & sc_core::sc_time::operator+= ( const sc_time t  )  [inline]

Definition at line 253 of file sc_time.h.

sc_time & sc_core::sc_time::operator-= ( const sc_time t  )  [inline]

Definition at line 261 of file sc_time.h.

sc_time & sc_core::sc_time::operator*= ( double  d  )  [inline]

Definition at line 285 of file sc_time.h.

sc_time & sc_core::sc_time::operator/= ( double  d  )  [inline]

Definition at line 295 of file sc_time.h.

void sc_core::sc_time::print ( ::std::ostream &  os = std::cout  )  const

Definition at line 224 of file sc_time.cpp.


Friends And Related Function Documentation

const sc_time operator+ ( const sc_time t1,
const sc_time t2 
) [friend]

const sc_time operator- ( const sc_time t1,
const sc_time t2 
) [friend]

const sc_time operator* ( const sc_time t,
double  d 
) [friend]

const sc_time operator* ( double  d,
const sc_time t 
) [friend]

const sc_time operator/ ( const sc_time t,
double  d 
) [friend]

double operator/ ( const sc_time t1,
const sc_time t2 
) [friend]


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

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