|
MVC
0.0.1
|
There is class of model of the graphic editor. Подробнее...
#include <model.h>
Граф наследования:Model:
Граф связей класса Model:Открытые члены | |
| Model ()=default | |
| ~Model ()=default | |
| void | newModel () override |
| Create new suite. Подробнее... | |
| void | saveModel () override |
| Save suite. Подробнее... | |
| void | openModel (std::string &) override |
| Open new suite. Подробнее... | |
| void | addPoint (const Point &) override |
| Add Point to suite. Подробнее... | |
| void | addLine (const Point &, const Point &) override |
| Add line to suite. Подробнее... | |
| void | addCircle (const Point &, const int &) override |
| Add circle to suite. Подробнее... | |
| void | removeLast () override |
| Removes last shape from suite. Подробнее... | |
| void | draw (std::shared_ptr< IPainter >) const override |
| Draw all primitive from suite. Подробнее... | |
Открытые члены унаследованные от IModel | |
| virtual | ~IModel ()=default |
Открытые члены унаследованные от Observable | |
| Observable ()=default | |
| virtual | ~Observable ()=default |
| void | subscribe (IViewSptr in_observer) noexcept |
| void | unsubscribe (IViewSptr in_observer) noexcept |
| void | notifyUpdate () noexcept |
There is class of model of the graphic editor.
|
default |
|
default |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Create new suite.
Замещает IModel.
|
overridevirtual |
|
overridevirtual |
Removes last shape from suite.
Замещает IModel.
|
overridevirtual |
Save suite.
Замещает IModel.
1.8.17