blob: b91254056eed81704a59e8b40f41736963451a70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef BIT_HPP
#define BIT_HPP
#include <mcubase.hpp>
#include <string>
class bit : public mcubase
{
public:
bit(const std::string &name, const std::string &access,
const std::string &pos);
virtual ~bit() = default;
protected:
const struct off {unsigned int upper, lower;} off;
static struct off get(const std::string &pos);
std::string comment;
};
#endif /* BIT_HPP */
|