Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
concepts::Z4 Class Reference

Algebraic group with four elements: 0, 1, 2 and 3. More...

#include <Zm.hh>

List of all members.

Public Member Functions

 operator int () const
 Conversion operator.
int operator++ ()
 Increment operator.
int operator-- ()
 Decrement operator.
int operator= (int i)
 Assignment operator.
Z4 pred () const
 Returns the predecessor.
Z4 succ () const
 Returns the successor.
 Z4 ()
 Default constructor. Initialises to 0.
 Z4 (uint i)
 Constructor.

Private Attributes

uchar i_
 Data.

Detailed Description

Algebraic group with four elements: 0, 1, 2 and 3.

Definition at line 66 of file Zm.hh.


Constructor & Destructor Documentation

concepts::Z4::Z4 ( ) [inline]

Default constructor. Initialises to 0.

Definition at line 71 of file Zm.hh.

concepts::Z4::Z4 ( uint  i) [inline]

Constructor.

Definition at line 73 of file Zm.hh.


Member Function Documentation

concepts::Z4::operator int ( ) const [inline]

Conversion operator.

Definition at line 76 of file Zm.hh.

int concepts::Z4::operator++ ( ) [inline]

Increment operator.

Definition at line 81 of file Zm.hh.

int concepts::Z4::operator-- ( ) [inline]

Decrement operator.

Definition at line 83 of file Zm.hh.

int concepts::Z4::operator= ( int  i) [inline]

Assignment operator.

Definition at line 79 of file Zm.hh.

Z4 concepts::Z4::pred ( ) const [inline]

Returns the predecessor.

Definition at line 87 of file Zm.hh.

Z4 concepts::Z4::succ ( ) const [inline]

Returns the successor.

Definition at line 85 of file Zm.hh.


Member Data Documentation

Data.

Definition at line 68 of file Zm.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)