QElectroTech  0.8-dev
Public Member Functions | List of all members
ElementPrefixNum Class Reference

#include <numerotationcontextcommands.h>

Inheritance diagram for ElementPrefixNum:
Inheritance graph
Collaboration diagram for ElementPrefixNum:
Collaboration graph

Public Member Functions

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

Constructor & Destructor Documentation

◆ ElementPrefixNum()

ElementPrefixNum::ElementPrefixNum ( Diagram d)

Constructor

Member Function Documentation

◆ next()

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

ElementPrefixNum::next.

Returns
the next NumerotationContext nc at position i

Implements NumStrategy.

Here is the call graph for this function:

◆ previous()

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

ElementPrefixNum::previous.

Returns
the previous NumerotationContext nc at posiiton i

Implements NumStrategy.

Here is the call graph for this function:

◆ toRepresentedString()

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

ElementPrefixNum::toRepresentedString.

Returns
the represented string of folio

Implements NumStrategy.


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