QElectroTech  0.8-dev
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. More...
 
 ~NumerotationContextCommands ()
 Destructor. More...
 
NumerotationContext next ()
 NumerotationContextCommands::next. More...
 
NumerotationContext previous ()
 NumerotationContextCommands::previous. More...
 
QString toRepresentedString ()
 NumerotationContextCommands::toFinalString. More...
 

Private Member Functions

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

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: