Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CMa::Int_int Class Reference

#include <arch_int.h>

List of all members.

Public Methods

 Int_int (const Word_int &w)
int convertToint () const


Detailed Description

Machine word class based on type "int"(signed integer). To be used as template parameter.

Implements signed integer aritmetics and conversions:

Aritmetic operations shoud be implemented like int operations.

Author:
OM/modified by SL
STATUS: NOT TESTED


Constructor & Destructor Documentation

CMa::Int_int::Int_int const Word_int   w [inline, explicit]
 

Constructs an integer form a word. Newer fails.


Member Function Documentation

int CMa::Int_int::convertToint   const [inline]
 

Converts the integer to int, if possible. May return incorrect result if the result does not fit into int.


The documentation for this class was generated from the following file:
Generated on Tue Oct 12 03:30:45 1999 by doxygen1.2.18