FnUsdAbstractionLib 0.6.0
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
usg::CollectionAPI Class Reference

Public Member Functions

 CollectionAPI (const Prim &prim, const Token &name)
 
bool validate ()
 
 operator bool () const
 
void apply ()
 
Relationship createExcludesRel ()
 
Relationship getExcludesRel () const
 
void setExcludes (const PathArray &value)
 
PathArray getExcludes () const
 
Attribute createExpansionRuleAttr (const Value &defaultValue=Value())
 
Attribute getExpansionRuleAttr () const
 
void setExpansionRule (const Token &value, fdk::TimeValue time=fdk::defaultTimeValue())
 
Token getExpansionRule (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Attribute createIncludeRootAttr (const Value &defaultValue=Value())
 
Attribute getIncludeRootAttr () const
 
void setIncludeRoot (bool value, fdk::TimeValue time=fdk::defaultTimeValue())
 
bool getIncludeRoot (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Relationship createIncludesRel ()
 
Relationship getIncludesRel () const
 
void setIncludes (const PathArray &value)
 
PathArray getIncludes () const
 
Token getName () const
 
Attribute createMembershipExpressionAttr (const Value &defaultValue=Value())
 
Attribute getMembershipExpressionAttr () const
 
void setMembershipExpression (const PathExpr &value, fdk::TimeValue time=fdk::defaultTimeValue())
 
PathExpr getMembershipExpression (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
bool isInRelationshipsMode () const
 
bool isInExpressionMode () const
 
usg::PathArray computeIncludedPaths () const
 

Static Public Member Functions

static bool isValidPrim (const Prim &prim, const Token &instanceName=Token())
 
static std::vector< CollectionAPIgetAll (const usg::Prim &prim)
 
static std::vector< TokengetAllNames (const usg::Prim &prim)
 

Protected Attributes

Prim _prim
 
Token _name
 


©2025 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk