24#ifndef PXR_USD_PCP_DYNAMIC_FILE_FORMAT_CONTEXT_H
25#define PXR_USD_PCP_DYNAMIC_FILE_FORMAT_CONTEXT_H
28#include "pxr/usd/pcp/api.h"
29#include "pxr/usd/pcp/node.h"
31PXR_NAMESPACE_OPEN_SCOPE
33class PcpPrimIndex_StackFrame;
46 using VtValueVector = std::vector<VtValue>;
69 VtValueVector *values)
const;
87 PcpPrimIndex_StackFrame *previousFrame,
99 bool _IsAllowedFieldForArguments(
100 const TfToken &field,
bool *fieldValueIsDictionary =
nullptr)
const;
104 PcpPrimIndex_StackFrame *_previousStackFrame;
114 class _ComposeValueHelper;
117PXR_NAMESPACE_CLOSE_SCOPE
PcpCache is the context required to make requests of the Pcp composition algorithm and cache the resu...
Context object for the current state of a prim index that is being built that allows implementations ...
PCP_API bool ComposeValue(const TfToken &field, VtValue *value) const
Compose the value of the given field and return its current strongest opinion.
PCP_API bool ComposeValueStack(const TfToken &field, VtValueVector *values) const
Compose the values of the given field returning all available opinions ordered from strongest to weak...
PCP_API bool ComposeAttributeDefaultValue(const TfToken &attributeName, VtValue *value) const
Compose the value of the default field of the attribute with the given attributeName and return its c...
PcpNode represents a node in an expression tree for compositing scene description.
Token for efficient comparison, assignment, and hashing of known strings.
std::set< TfToken, TfTokenFastArbitraryLessThan > Set
Predefined type for set of tokens, for when faster lookup is desired, without paying the memory or in...
Provides a container which may hold any type, and provides introspection and iteration over array typ...