Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
AbstractRetroMimicElement.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MIMICS_RETRO_ELEMENTS_ABSTRACTRETROMIMICELEMENT_HPP_
2#define IV_SRC_MIMICS_RETRO_ELEMENTS_ABSTRACTRETROMIMICELEMENT_HPP_
3
7
9{
10
12{
13public:
14 virtual ~AbstractRetroMimicElement() = default;
15
16 virtual bool load(const iv::file::xml::node &nodeControlMimic) = 0;
17 virtual bool save(iv::file::xml::node &nodeControlMimic) const = 0;
18
19 [[nodiscard]] virtual std::shared_ptr<AbstractRetroMimicElement> toNextVersion() const = 0;
20 [[nodiscard]] virtual std::shared_ptr<iv::mimics::AbstractMimicElement> toMimicElement() const = 0;
21
23
25};
26
27}// namespace iv::mimics::retro
28
29#endif//IV_SRC_MIMICS_RETRO_ELEMENTS_ABSTRACTRETROMIMICELEMENT_HPP_
Definition xmlFile.hpp:15
Definition AbstractRetroMimicElement.hpp:12
virtual bool load(const iv::file::xml::node &nodeControlMimic)=0
iv::types::mimicElementVersion m_version
Definition AbstractRetroMimicElement.hpp:24
virtual iv::mimics::retro::stringMimicElementType getElementType() const =0
virtual std::shared_ptr< AbstractRetroMimicElement > toNextVersion() const =0
virtual std::shared_ptr< iv::mimics::AbstractMimicElement > toMimicElement() const =0
virtual bool save(iv::file::xml::node &nodeControlMimic) const =0
Definition AbstractRetroMimicElement.hpp:9
std::string stringMimicElementType
Definition types.hpp:9
std::string mimicElementVersion
Definition types.hpp:74