Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

type_time Class Reference

Special type for time. More...

#include <type.h>

Inheritance diagram for type_time:

Inheritance graph
[legend]
Collaboration diagram for type_time:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 type_time (uint unit=time_bad_time)
void set_unit (uint unit)
uint get_unit (void)
const uint get_ty_kind (void)

Private Attributes

uint time_unit

Detailed Description

Special type for time.

Time is always 64-bits and, as a result, is outside of what can be represented by a standard range.

Definition at line 280 of file type.h.


Constructor & Destructor Documentation

type_time::type_time uint  unit = time_bad_time  )  [inline]
 

Definition at line 285 of file type.h.

References time_unit.

00285                                           : type()
00286     {
00287         time_unit = unit;
00288     }


Member Function Documentation

const uint type_time::get_ty_kind void   )  [inline, virtual]
 

Reimplemented from type.

Definition at line 299 of file type.h.

References ty_time, and uint.

00300     {
00301         return ty_time;
00302     }

uint type_time::get_unit void   )  [inline, virtual]
 

Reimplemented from type.

Definition at line 294 of file type.h.

References time_unit, and uint.

Referenced by typetable::find_time().

00295     {
00296         return time_unit;
00297     }

void type_time::set_unit uint  unit  )  [inline, virtual]
 

Reimplemented from type.

Definition at line 290 of file type.h.

References time_unit.

00291     {
00292         time_unit = unit;
00293     }


Member Data Documentation

uint type_time::time_unit [private]
 

Definition at line 282 of file type.h.

Referenced by get_unit(), set_unit(), and type_time().


The documentation for this class was generated from the following file:
Generated on Wed Mar 31 21:16:14 2004 for Data Structures for a VHDL Compiler by doxygen 1.3.3