QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NumStrategy Class Referenceabstract

#include <numerotationcontextcommands.h>

Inheritance diagram for NumStrategy:
Inheritance graph
Collaboration diagram for NumStrategy:
Collaboration graph

Public Member Functions

 NumStrategy (Diagram *=nullptr)
 
virtual ~NumStrategy ()
 
virtual QString toRepresentedString (const QString) const =0
 
virtual NumerotationContext next (const NumerotationContext &, const int) const =0
 
virtual NumerotationContext previous (const NumerotationContext &, const int) const =0
 

Protected Member Functions

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

Diagramdiagram_
 

Constructor & Destructor Documentation

◆ NumStrategy()

NumStrategy::NumStrategy ( Diagram d = nullptr)

Constructor

◆ ~NumStrategy()

NumStrategy::~NumStrategy ( )
virtual

Member Function Documentation

◆ next()

virtual NumerotationContext NumStrategy::next ( const NumerotationContext ,
const int   
) const
pure virtual

◆ nextNumber()

NumerotationContext NumStrategy::nextNumber ( const NumerotationContext nc,
const int  i 
) const
protected

NumStrategy::nextNumber.

Returns
the next value of nc at position i
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextString()

NumerotationContext NumStrategy::nextString ( const NumerotationContext nc,
const int  i 
) const
protected

NumStrategy::nextString.

Returns
the next value of nc at position i
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previous()

virtual NumerotationContext NumStrategy::previous ( const NumerotationContext ,
const int   
) const
pure virtual

◆ previousNumber()

NumerotationContext NumStrategy::previousNumber ( const NumerotationContext nc,
const int  i 
) const
protected

NumStrategy::previousNumber.

Returns
the previous value of nc at position i
Here is the call graph for this function:
Here is the caller graph for this function:

◆ toRepresentedString()

virtual QString NumStrategy::toRepresentedString ( const QString  ) const
pure virtual

Member Data Documentation

◆ diagram_

Diagram* NumStrategy::diagram_
protected

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