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

The NumerotationContextCommands class this class provide methods to handle content of NumerotationContext. More...

#include <numerotationcontextcommands.h>

Collaboration diagram for NumerotationContextCommands:
Collaboration graph

Public Member Functions

 NumerotationContextCommands (const NumerotationContext &, Diagram *=nullptr)
 Constructor.
 
 ~NumerotationContextCommands ()
 Destructor.
 
NumerotationContext next ()
 NumerotationContextCommands::next.
 
NumerotationContext previous ()
 NumerotationContextCommands::previous.
 
QString toRepresentedString ()
 NumerotationContextCommands::toFinalString.
 

Private Member Functions

void setNumStrategy (const QString &)
 NumerotationContextCommands::setNumStrategy apply the good strategy relative to str.
 

Private Attributes

Diagramdiagram_
 
NumerotationContext context_
 
NumStrategystrategy_
 

Detailed Description

The NumerotationContextCommands class this class provide methods to handle content of NumerotationContext.

Constructor & Destructor Documentation

◆ NumerotationContextCommands()

NumerotationContextCommands::NumerotationContextCommands ( const NumerotationContext nc,
Diagram d = nullptr 
)

Constructor.

◆ ~NumerotationContextCommands()

NumerotationContextCommands::~NumerotationContextCommands ( )

Destructor.

Member Function Documentation

◆ next()

NumerotationContext NumerotationContextCommands::next ( )

NumerotationContextCommands::next.

Returns
the next numerotation context
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previous()

NumerotationContext NumerotationContextCommands::previous ( )

NumerotationContextCommands::previous.

Returns
the previous numerotation context
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNumStrategy()

void NumerotationContextCommands::setNumStrategy ( const QString &  str)
private

NumerotationContextCommands::setNumStrategy apply the good strategy relative to str.

Here is the caller graph for this function:

◆ toRepresentedString()

QString NumerotationContextCommands::toRepresentedString ( )

NumerotationContextCommands::toFinalString.

Returns
the string represented by the numerotation context
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ context_

NumerotationContext NumerotationContextCommands::context_
private

◆ diagram_

Diagram* NumerotationContextCommands::diagram_
private

◆ strategy_

NumStrategy* NumerotationContextCommands::strategy_
private

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