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

#include <numerotationcontextcommands.h>

Public Member Functions

 PlantNum (Diagram *)
 
QString toRepresentedString (const QString) const override
 PlantNum::toRepresentedString. More...
 
NumerotationContext next (const NumerotationContext &, const int) const override
 PlantNum::next. More...
 
NumerotationContext previous (const NumerotationContext &, const int) const override
 PlantNum::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 144 of file numerotationcontextcommands.h.

Constructor & Destructor Documentation

◆ PlantNum()

PlantNum::PlantNum ( Diagram d)

Constructor

Definition at line 502 of file numerotationcontextcommands.cpp.

Member Function Documentation

◆ next()

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

PlantNum::next.

Returns
the next NumerotationContext nc at position i

Implements NumStrategy.

Definition at line 519 of file numerotationcontextcommands.cpp.

References NumStrategy::nextString().

◆ previous()

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

PlantNum::previous.

Returns
the previous NumerotationContext nc at posiiton i

Implements NumStrategy.

Definition at line 527 of file numerotationcontextcommands.cpp.

References NumStrategy::nextString().

◆ toRepresentedString()

QString PlantNum::toRepresentedString ( const QString  str) const
overridevirtual

PlantNum::toRepresentedString.

Returns
the represented string of folio

Implements NumStrategy.

Definition at line 510 of file numerotationcontextcommands.cpp.


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