QElectroTech  0.70
Public Member Functions | List of all members
UnitFNum Class Reference

#include <numerotationcontextcommands.h>

Public Member Functions

 UnitFNum (Diagram *)
 
QString toRepresentedString (const QString) const override
 UnitFNum::toRepresentedString. More...
 
NumerotationContext next (const NumerotationContext &, const int) const override
 UnitFNum::next. More...
 
NumerotationContext previous (const NumerotationContext &, const int) const override
 UnitFNum::previous. More...
 
- 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. More...
 
NumerotationContext nextNumber (const NumerotationContext &, const int) const
 NumStrategy::nextNumber. More...
 
NumerotationContext previousNumber (const NumerotationContext &, const int) const
 NumStrategy::previousNumber. More...
 
- Protected Attributes inherited from NumStrategy
Diagramdiagram_
 

Detailed Description

Definition at line 72 of file numerotationcontextcommands.h.

Constructor & Destructor Documentation

◆ UnitFNum()

UnitFNum::UnitFNum ( Diagram d)

Constructor

Definition at line 229 of file numerotationcontextcommands.cpp.

Member Function Documentation

◆ next()

NumerotationContext UnitFNum::next ( const NumerotationContext nc,
const int  i 
) const
overridevirtual

UnitFNum::next.

Returns
the next NumerotationContext nc at position i

Implements NumStrategy.

Definition at line 245 of file numerotationcontextcommands.cpp.

References NumStrategy::nextNumber().

◆ previous()

NumerotationContext UnitFNum::previous ( const NumerotationContext nc,
const int  i 
) const
overridevirtual

UnitFNum::previous.

Returns
the previous NumerotationContext nc at posiiton i

Implements NumStrategy.

Definition at line 253 of file numerotationcontextcommands.cpp.

References NumStrategy::previousNumber().

◆ toRepresentedString()

QString UnitFNum::toRepresentedString ( const QString  num) const
overridevirtual

UnitFNum::toRepresentedString.

Returns
the represented string of num

Implements NumStrategy.

Definition at line 237 of file numerotationcontextcommands.cpp.


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