43 #ifndef PackedBoolList_H 44 #define PackedBoolList_H 76 template<
class LabelListType>
77 label setIndices(
const LabelListType& indices);
81 template<
class LabelListType>
82 label unsetIndices(
const LabelListType& indices);
85 template<
class LabelListType>
86 label subsetIndices(
const LabelListType& indices);
PackedBoolList & operator &=(const PackedList< 1 > &)
And operator (lists may be dissimilar sizes)
void subset(const PackedList< 1 > &)
Subset with the specified list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< PackedBoolList > PackedBoolListList
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A dynamically allocatable list of packed unsigned integers.
void operator=(const bool val)
Assignment of all entries to the given value.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
PackedBoolList & operator^=(const PackedList< 1 > &)
Xor operator (lists may be dissimilar sizes)
PackedBoolList operator~() const
Complement operator.
PackedBoolList()
Construct null.
PackedBoolList & operator-=(const PackedList< 1 > &)
Remove entries from this list - unset the specified bits.
PackedBoolList & operator+=(const PackedList< 1 > &)
Add entries to this list, synonymous with the or operator.
void transfer(PackedBoolList &)
Transfer the contents of the argument list into this list.
A List with indirect addressing.
autoPtr< PackedBoolList > clone() const
Clone.
void unset(const PackedList< 1 > &)
Unset specified bits.
labelList used() const
Return indices of the used (true) elements as a list of labels.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
label size() const
Number of entries.
PackedBoolList & operator|=(const PackedList< 1 > &)
Or operator (lists may be dissimilar sizes)