QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | List of all members
UnitFNum Class Reference

#include <numerotationcontextcommands.h>

Inheritance diagram for UnitFNum:
Inheritance graph
Collaboration diagram for UnitFNum:
Collaboration graph

Public Member Functions

 UnitFNum (Diagram *)
 
QString toRepresentedString (const QString) const override
 UnitFNum::toRepresentedString.
 
NumerotationContext next (const NumerotationContext &, const int) const override
 UnitFNum::next.
 
NumerotationContext previous (const NumerotationContext &, const int) const override
 UnitFNum::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
Diagramdiagram_
 

Constructor & Destructor Documentation

◆ UnitFNum()

UnitFNum::UnitFNum ( Diagram d)

Constructor

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.

Here is the call graph for this function:

◆ previous()

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

UnitFNum::previous.

Returns
the previous NumerotationContext nc at posiiton i

Implements NumStrategy.

Here is the call graph for this function:

◆ toRepresentedString()

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

UnitFNum::toRepresentedString.

Returns
the represented string of num

Implements NumStrategy.


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