18#ifndef PXR_IMAGING_HD_COLLECTION_SCHEMA_H
19#define PXR_IMAGING_HD_COLLECTION_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_COLLECTION_SCHEMA_TOKENS \
37 (membershipExpression) \
40 HD_COLLECTION_SCHEMA_TOKENS);
45class HdCollectionSchema :
public HdSchema
51 HdCollectionSchema(HdContainerDataSourceHandle container)
60 static HdCollectionSchema GetFromParent(
61 const HdContainerDataSourceHandle &fromParentContainer);
72 HdPathExpressionDataSourceHandle GetMembershipExpression()
const;
82 static const TfToken &GetSchemaToken();
102 static HdContainerDataSourceHandle
104 const HdPathExpressionDataSourceHandle &membershipExpression
117 Builder &SetMembershipExpression(
118 const HdPathExpressionDataSourceHandle &membershipExpression);
122 HdContainerDataSourceHandle
Build();
125 HdPathExpressionDataSourceHandle _membershipExpression;
132PXR_NAMESPACE_CLOSE_SCOPE
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.