#include <collectionMembershipQuery.h>
Definition at line 54 of file collectionMembershipQuery.h.
Holds an unordered map describing membership of paths in this collection and the associated expansionRule for how the paths are to be expanded. Valid expansionRules are UsdTokens->explicitOnly, UsdTokens->expandPrims, and UsdTokens->expandPrimsAndProperties. For more information on the expansion rules, please see the expansionRule attribute on UsdCollectionAPI. If a collection includes another collection, the included collection's PathExpansionRuleMap is merged into this one. If a path is excluded, its expansion rule is set to UsdTokens->exclude.
Definition at line 67 of file collectionMembershipQuery.h.
Usd_CollectionMembershipQueryBase::Usd_CollectionMembershipQueryBase |
( |
| ) |
|
|
default |
Usd_CollectionMembershipQueryBase::Usd_CollectionMembershipQueryBase |
( |
const PathExpansionRuleMap & |
pathExpansionRuleMap, |
|
|
const SdfPathSet & |
includedCollections |
|
) |
| |
Usd_CollectionMembershipQueryBase::Usd_CollectionMembershipQueryBase |
( |
PathExpansionRuleMap && |
pathExpansionRuleMap, |
|
|
SdfPathSet && |
includedCollections |
|
) |
| |
Constructor that takes a path expansion rule map as an rvalue reference.
Usd_CollectionMembershipQueryBase::Usd_CollectionMembershipQueryBase |
( |
const PathExpansionRuleMap & |
pathExpansionRuleMap, |
|
|
const SdfPathSet & |
includedCollections, |
|
|
const TfToken & |
topExpansionRule |
|
) |
| |
Constructor that additionally takes an additional expression evaluator and a top-level expansion rule.
Usd_CollectionMembershipQueryBase::Usd_CollectionMembershipQueryBase |
( |
PathExpansionRuleMap && |
pathExpansionRuleMap, |
|
|
SdfPathSet && |
includedCollections, |
|
|
TfToken const & |
topExpansionRule |
|
) |
| |
Constructor that additionally takes an additional expression evaluator as an rvalue reference and a top-level expansion rule.
size_t Usd_CollectionMembershipQueryBase::_GetHash |
( |
| ) |
const |
|
inlineprotected |
USD_API bool Usd_CollectionMembershipQueryBase::_HasEmptyRuleMap |
( |
| ) |
const |
|
protected |
USD_API bool Usd_CollectionMembershipQueryBase::_IsPathIncludedByRuleMap |
( |
const SdfPath & |
path, |
|
|
TfToken * |
expansionRule = nullptr |
|
) |
| const |
|
protected |
USD_API bool Usd_CollectionMembershipQueryBase::_IsPathIncludedByRuleMap |
( |
const SdfPath & |
path, |
|
|
const TfToken & |
parentExpansionRule, |
|
|
TfToken * |
expansionRule = nullptr |
|
) |
| const |
|
protected |
Returns a raw map of the paths included or excluded in the collection along with the expansion rules for the included paths.
Definition at line 110 of file collectionMembershipQuery.h.
const SdfPathSet& Usd_CollectionMembershipQueryBase::GetIncludedCollections |
( |
| ) |
const |
|
inline |
TfToken Usd_CollectionMembershipQueryBase::GetTopExpansionRule |
( |
| ) |
const |
|
inline |
Return the top expansion rule for this query object. This rule is the expansion rule from the UsdCollectionAPI instance that was used to build this query object. The top expansion rule is used when evaluating the expression associated with this query, to determine whether it should match prims only, or both prims and properties.
Definition at line 129 of file collectionMembershipQuery.h.
bool Usd_CollectionMembershipQueryBase::HasExcludes |
( |
| ) |
const |
|
inline |
bool Usd_CollectionMembershipQueryBase::_hasExcludes =false |
|
protected |
SdfPathSet Usd_CollectionMembershipQueryBase::_includedCollections |
|
protected |
TfToken Usd_CollectionMembershipQueryBase::_topExpansionRule |
|
protected |
The documentation for this class was generated from the following file: