![]() |
QElectroTech 0.200.1-dev
|
The AlphaNum class Alphabetic auto-numbering (a, b, ... z, aa, ab, ...). Unlike StringNum (a fixed, non-incrementing text segment), this is a real base-26 counter: next()/previous() carry/borrow entirely within this part's own value, the same self-contained shape every other incrementing NumStrategy already has. More...
#include <numerotationcontextcommands.h>


Public Member Functions | |
| AlphaNum (Diagram *) | |
| QString | toRepresentedString (const QString) const override |
| AlphaNum::toRepresentedString. | |
| NumerotationContext | next (const NumerotationContext &, const int) const override |
| AlphaNum::next. | |
| NumerotationContext | previous (const NumerotationContext &, const int) const override |
| AlphaNum::previous. | |
| Public Member Functions inherited from NumStrategy | |
| NumStrategy (Diagram *=nullptr) | |
| virtual | ~NumStrategy () |
Additional Inherited Members | |
| Protected Member Functions inherited from NumStrategy | |
| NumerotationContext | nextString (const NumerotationContext &, const int) const |
| NumStrategy::nextString. | |
| NumerotationContext | nextNumber (const NumerotationContext &, const int) const |
| NumStrategy::nextNumber. | |
| NumerotationContext | previousNumber (const NumerotationContext &, const int) const |
| NumStrategy::previousNumber. | |
| Protected Attributes inherited from NumStrategy | |
| Diagram * | diagram_ |
The AlphaNum class Alphabetic auto-numbering (a, b, ... z, aa, ab, ...). Unlike StringNum (a fixed, non-incrementing text segment), this is a real base-26 counter: next()/previous() carry/borrow entirely within this part's own value, the same self-contained shape every other incrementing NumStrategy already has.
| AlphaNum::AlphaNum | ( | Diagram * | d | ) |
Constructor

|
overridevirtual |
Implements NumStrategy.

|
overridevirtual |
Implements NumStrategy.

|
overridevirtual |