12#if __cplusplus>=201103L
19#include <pv/serialize.h>
24namespace 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
269 void recalculateWordsInUse();
275 void ensureCapacity(
uint32 wordsRequired);
284 void expandTo(
uint32 wordIndex);
312 epicsShareExtern std::ostream&
operator<<(std::ostream& o,
const BitSet& b);
bool operator!=(const multimap< _Key, _Tp, _Compare, _Alloc > &__x, const multimap< _Key, _Tp, _Compare, _Alloc > &__y)
basic_ostream< _CharT, _Traits > & operator<<(basic_ostream< _CharT, _Traits > &__os, const basic_string< _CharT, _Traits, _Alloc > &__str)
BitSet & operator=(const BitSet &set)
virtual void serialize(ByteBuffer *buffer, SerializableControl *flusher) const
BitSet & set(uint32 bitIndex)
int32 nextSetBit(uint32 fromIndex) const
BitSet & operator|=(const BitSet &set)
bool get(uint32 bitIndex) const
void set(uint32 bitIndex, bool value)
bool logical_and(const BitSet &other) const
Returns true if any bit is set in both *this and other.
BitSet & operator&=(const BitSet &set)
void or_and(const BitSet &set1, const BitSet &set2)
uint32 cardinality() const
BitSet & operator^=(const BitSet &set)
void swap(BitSet &set)
Swap contents.
BitSet & flip(uint32 bitIndex)
virtual void deserialize(ByteBuffer *buffer, DeserializableControl *flusher)
int32 nextClearBit(uint32 fromIndex) const
bool operator==(const BitSet &set) const
bool logical_or(const BitSet &other) const
Returns true if any bit is set in both *this or other.
BitSet & clear(uint32 bitIndex)
This class implements a Bytebuffer that is like the java.nio.ByteBuffer.
Callback class for deserialization.
Callback class for serialization.
Base class for serialization.