12 #if __cplusplus>=201103L
18 #include <pv/pvType.h>
19 #include <pv/serialize.h>
24 namespace epics {
namespace pvData {
27 typedef std::tr1::shared_ptr<BitSet> BitSetPtr;
58 POINTER_DEFINITIONS(
BitSet);
59 static BitSetPtr create(
uint32 nbits);
74 #if __cplusplus>=201103L
117 void set(
uint32 bitIndex,
bool value);
127 bool get(
uint32 bitIndex)
const;
168 bool isEmpty()
const;
175 uint32 cardinality()
const;
187 bool logical_and(
const BitSet& other)
const;
189 bool logical_or(
const BitSet& other)
const;
269 void recalculateWordsInUse();
275 void ensureCapacity(
uint32 wordsRequired);
284 void expandTo(
uint32 wordIndex);
basic_ostream< _CharT, _Traits > & operator<<(basic_ostream< _CharT, _Traits > &__os, const basic_string< _CharT, _Traits, _Alloc > &__str)
valarray< size_t > size() const
Callback class for serialization.
constexpr complex< _Tp > & operator=(const _Tp &)
valarray< _Tp > & operator&=(const _Tp &)
valarray< _Tp > & operator|=(const _Tp &)
This class implements a Bytebuffer that is like the java.nio.ByteBuffer.
bool operator==(const _CharT *__lhs, const basic_string< _CharT, _Traits, _Alloc > &__rhs)
Callback class for deserialization.
bool operator!=(const _CharT *__lhs, const basic_string< _CharT, _Traits, _Alloc > &__rhs)
valarray< _Tp > & operator^=(const _Tp &)
Base class for serialization.