18 #ifndef __HUSD_PathSet_h__
19 #define __HUSD_PathSet_h__
26 #include <initializer_list>
55 explicit HUSD_PathSet(std::initializer_list<HUSD_Path> init);
74 bool containsPathOrAncestor(
const UT_StringRef &path)
const;
75 bool containsPathOrAncestor(
const HUSD_Path &path)
const;
76 bool containsAncestor(
const HUSD_Path &path)
const;
77 bool containsPathOrDescendant(
const UT_StringRef &path)
const;
78 bool containsPathOrDescendant(
const HUSD_Path &path)
const;
79 bool containsDescendant(
const HUSD_Path &path)
const;
92 void removeDescendants();
94 void removeAncestors();
97 {
return *myPathSet; }
99 {
return *myPathSet; }
102 void *getPythonPathList()
const;
104 bool setPythonPaths(
void *primpaths);
112 size_t getMemoryUsage()
const;
131 void *myInternalIterator;
141 PXR_NS::XUSD_PathSet *myPathSet;
const PXR_NS::XUSD_PathSet & sdfPathSet() const
HUSD_API std::ostream & operator<<(std::ostream &os, const HUSD_PathSet &pathset)
GLsizei const GLchar *const * path
void swap(T &lhs, T &rhs)
OIIO_FORCEINLINE vbool4 insert(const vbool4 &a, bool val)
Helper: substitute val for a[i].
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
IMATH_HOSTDEVICE constexpr Color4< T > operator*(S a, const Color4< T > &v) IMATH_NOEXCEPT
Reverse multiplication: S * Color4.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
LeafData & operator=(const LeafData &)=delete
PXR_NS::XUSD_PathSet & sdfPathSet()
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator!=(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
bool OIIO_UTIL_API contains(string_view a, string_view b)
Does 'a' contain the string 'b' within it?
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.