aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/FixBitVec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert/FixBitVec.hpp')
-rw-r--r--chilbert/FixBitVec.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp
index 2106aa5..ac02e40 100644
--- a/chilbert/FixBitVec.hpp
+++ b/chilbert/FixBitVec.hpp
@@ -43,6 +43,13 @@ public:
/// Return the size in bits
int size() const { return FBV_BITS; }
+ /// Set all bits to one
+ CFixBitVec& set()
+ {
+ m_rack = FBV1S;
+ return *this;
+ }
+
/// Set all bits to zero
CFixBitVec& reset()
{