QElectroTech  0.70
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NumStrategy Class Referenceabstract

#include <numerotationcontextcommands.h>

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. More...
 
NumerotationContext nextNumber (const NumerotationContext &, const int) const
 NumStrategy::nextNumber. More...
 
NumerotationContext previousNumber (const NumerotationContext &, const int) const
 NumStrategy::previousNumber. More...
 

Protected Attributes

Diagramdiagram_
 

Detailed Description

Definition at line 46 of file numerotationcontextcommands.h.

Constructor & Destructor Documentation

◆ NumStrategy()

NumStrategy::NumStrategy ( Diagram d = nullptr)

Constructor

Definition at line 154 of file numerotationcontextcommands.cpp.

◆ ~NumStrategy()

NumStrategy::~NumStrategy ( )
virtual

Definition at line 158 of file numerotationcontextcommands.cpp.

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

◆ nextString()

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

◆ previous()

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

◆ previousNumber()

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

◆ toRepresentedString()

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

Member Data Documentation

◆ diagram_

Diagram* NumStrategy::diagram_
protected

Definition at line 60 of file numerotationcontextcommands.h.


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