37#ifndef Foam_topoBitSet_H
38#define Foam_topoBitSet_H
131 virtual bool found(
const label
id)
const;
134 virtual bool set(
const label
id);
137 virtual bool unset(
const label
id);
147 virtual void invert(
const label maxLen);
label size() const noexcept
The number of elements in table.
void reset()
Clear all bits but do not adjust the addressable size.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Mesh consisting of general polyhedral cells.
Base for a special purpose topoSet using labels stored as a bitSet.
virtual ~topoBitSet()=default
Destructor.
virtual void invert(const label maxLen)
Invert contents.
virtual bool unset(const label id)
Unset an index.
virtual void subtractSet(const topoSet &set)
Subtract elements present in set.
bitSet & addressing() noexcept
Access the bitSet.
virtual void addSet(const topoSet &set)
Add elements present in set.
const bitSet & addressing() const noexcept
Return the bitSet.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
void reset()
Set values to false, leaving the size untouched.
virtual void updateLabels(const labelUList &map)
Update map from map.
virtual bool set(const label id)
Set an index.
virtual void check(const label maxSize)
Check limits on addressable range.
General set of labels of mesh quantity (points, cells, faces).
virtual label maxSize(const polyMesh &mesh) const =0
Return max allowable index (+1). Not implemented.
A class for handling words, derived from Foam::string.