7 #ifndef PXR_EXEC_VDF_NODE_SET_H
8 #define PXR_EXEC_VDF_NODE_SET_H
60 return index < _bits.
GetSize() ? _bits.
IsSet(index) :
false;
99 lhs._bits.
Swap(rhs._bits);
107 void _Grow(
size_t size);
121 if (index >= _bits.
GetSize()) {
#define PXR_NAMESPACE_OPEN_SCOPE
const_iterator end() const
const_iterator begin() const
Fast bit array that keeps track of the number of bits set and can find the next set in a timely manne...
VDF_API bool Remove(const VdfNode &node)
const_iterator end() const
bool Contains(const VdfNode &node) const
static VdfIndex GetIndexFromId(const VdfId id)
const_iterator begin() const
TfBits::View< TfBits::AllSet >::const_iterator const_iterator
friend void swap(VdfNodeSet &lhs, VdfNodeSet &rhs)
void Insert(const VdfNode &node)
AllSetView GetAllSetView() const
#define PXR_NAMESPACE_CLOSE_SCOPE
bool Contains(const VdfIndex index) const
bool IsSet(size_t index) const
TfBits::View< TfBits::AllSet >::const_iterator iterator
uint32_t VdfIndex
The index type for Vdf objects.