idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
Version.h
1//
2// Created by henri on 30/01/23.
3//
4
5#ifndef IDOL_VERSION_H
6#define IDOL_VERSION_H
7
8namespace idol {
9 class Version;
10}
11
13 unsigned int m_index;
14public:
15 explicit Version(unsigned int t_index) : m_index(t_index) {}
16
17 [[nodiscard]] unsigned int index() const { return m_index; }
18
19 void set_index(unsigned int t_index) { m_index = t_index; }
20};
21
22#endif //IDOL_VERSION_H