1 #ifndef CMODULONCOUNTER_H_
+
2 #define CMODULONCOUNTER_H_
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Defines the CModuloNDigit class, representing a single digit in a modulo counter.
+
Definition: CModuloNCounter.h:15
+
CModuloNCounter & operator++()
Prefix increment operator for CModuloNCounter.
Definition: CModuloNCounter.cpp:73
+
unsigned int m_numDigits
Number of digits in the counter.
Definition: CModuloNCounter.h:18
+
void print() const
Print the current state of the counter.
Definition: CModuloNCounter.cpp:103
+
unsigned int m_base
Base for the counter (2, 8, 10 or 16).
Definition: CModuloNCounter.h:17
+
~CModuloNCounter()
Destructor for CModuloNCounter.
Definition: CModuloNCounter.cpp:40
+
CModuloNCounter & operator=(const CModuloNCounter &other)
Overloaded assignment operator for CModuloNCounter.
Definition: CModuloNCounter.cpp:50
+
CModuloNDigit * m_pDigits
Array of CModuloNDigit objects.
Definition: CModuloNCounter.h:20
+
CModuloNCounter(unsigned int base, unsigned int numDigits)
Constructor for CModuloNCounter.
Definition: CModuloNCounter.cpp:12
+
Definition: CModuloNDigit.h:14
+