27 lines
691 B
C++
27 lines
691 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <boost/container/vector.hpp>
|
|
|
|
#include <values/value.hpp>
|
|
|
|
struct IkarusToggleValue final : IkarusValue {
|
|
public:
|
|
explicit IkarusToggleValue();
|
|
|
|
IkarusToggleValue(IkarusToggleValue const&) = default;
|
|
IkarusToggleValue(IkarusToggleValue&&) = default;
|
|
|
|
IkarusToggleValue& operator=(IkarusToggleValue const&) = default;
|
|
IkarusToggleValue& operator=(IkarusToggleValue&&) = default;
|
|
|
|
~IkarusToggleValue() override = default;
|
|
|
|
public:
|
|
[[nodiscard]] boost::container::vector<bool>& get_value();
|
|
[[nodiscard]] boost::container::vector<bool> const& get_value() const;
|
|
|
|
private:
|
|
boost::container::vector<bool> _value{};
|
|
};
|