Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
utils.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MIMICS_RETRO_UTILS_HPP_
2#define IV_SRC_MIMICS_RETRO_UTILS_HPP_
3
4#include "core/types.hpp"
5
6#include <string>
7
8namespace iv::mimics::retro
9{
10
11bool isRetroElement(const std::string &elementType, const iv::types::mimicElementVersion &version);
12
13iv::types::mimicElementVersion getCurrentElementVersion(const std::string &elementType);
14
15}// namespace iv::mimics::retro
16
17#endif//IV_SRC_MIMICS_RETRO_UTILS_HPP_
Definition AbstractRetroMimicElement.hpp:9
iv::types::mimicElementVersion getCurrentElementVersion(const std::string &elementType)
Retrieves the current version of the specified element type.
Definition utils.cpp:36
bool isRetroElement(const std::string &elementType, const iv::types::mimicElementVersion &version)
Checks if the given element type and version correspond to a retro element.
Definition utils.cpp:15
std::string mimicElementVersion
Definition types.hpp:74