Debian Codegraph @

CodeLite/clBitset.hpp

raw
1 #ifndef CLBITSET_HPP
2 #define CLBITSET_HPP
3
4 #include "codelite_exports.h"
5
6 #include <string.h>
7 #include <wx/string.h>
8
9 #define BITS_SIZE 64
10
11 class WXDLLIMPEXP_CL clBitset
12 {
13 unsigned char bits[BITS_SIZE];
14
15 public:
16 clBitset();
17 ~clBitset();
18
19 void set(size_t pos, bool b = true);
20 bool test(size_t pos) const;
21 void rese();
22 wxString to_string() const;
23 void from_string(const wxString& str);
24 };
25
26 #endif // CLBITSET_HPP