2017-12-25 23:49:48 +00:00
|
|
|
#ifndef VARBIT_HPP_INCLUDED
|
|
|
|
#define VARBIT_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "CacheableNode.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class Varbit : public CacheableNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Varbit(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
Varbit() = default;
|
|
|
|
Varbit(Varbit&& Obj) = default;
|
|
|
|
Varbit(const Varbit& Obj) = default;
|
|
|
|
Varbit& operator=(Varbit&& Obj) = default;
|
|
|
|
Varbit& operator=(const Varbit& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetLSB() const;
|
|
|
|
std::int32_t GetMSB() const;
|
|
|
|
std::int32_t GetSettingID() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // VARBIT_HPP_INCLUDED
|