5 #include <libutl/Vector.h> 49 initialize(size, numBits);
52 virtual size_t innerAllocatedSize()
const;
58 virtual void steal(
Object& rhs);
80 if (size > this->size()) setSize(size);
148 #include <libutl/BitArrayElem.h> uint64_t size() const
Get the array size.
void grow(uint64_t size)
Grow to the given size.
Reference to a value stored in a BitArray.
void serialize(bool &b, Stream &stream, uint_t io, uint_t mode=ser_default)
Serialize a boolean.
BitArray(uint64_t size, uint_t numBits=1)
Constructor.
void deInit()
De-initialize UTL++.
default representation (via getSerializeMode())
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
uint64_t operator[](uint64_t idx) const
Return the value at the given index.
long int64_t
Signed 64-bit integer.
void copy(T *dest, const T *src, size_t len)
Copy one array of objects to another.
uint64_t operator[](int idx) const
Return the value at the given index.
unsigned long uint64_t
Unsigned 64-bit integer.
unsigned int uint_t
Unsigned integer.
const uint_t uint_t_max
Maximum uint_t value.
uint64_t operator[](uint_t idx) const
Return the value at the given index.
Root of UTL++ class hierarchy.
int compare(bool lhs, bool rhs)
Compare two boolean values.
uint64_t operator[](int64_t idx) const
Return the value at the given index.
void dump(const FwdIt &begin, const FwdIt &end, Stream &os, uint_t level=uint_t_max, bool key=false, bool printClassName=false, uint_t indent=0, const char *separator=nullptr)
Dump objects to the given stream (with Object::dump()).
void init()
Initialize UTL++.