7#ifndef PXR_USD_PCP_DYNAMIC_FILE_FORMAT_CONTEXT_H
8#define PXR_USD_PCP_DYNAMIC_FILE_FORMAT_CONTEXT_H
11#include "pxr/usd/pcp/api.h"
12#include "pxr/usd/pcp/node.h"
14PXR_NAMESPACE_OPEN_SCOPE
16class PcpPrimIndex_StackFrame;
29 using VtValueVector = std::vector<VtValue>;
52 VtValueVector *values)
const;
72 PcpPrimIndex_StackFrame *previousFrame,
84 bool _IsAllowedFieldForArguments(
85 const TfToken &field,
bool *fieldValueIsDictionary =
nullptr)
const;
91 PcpPrimIndex_StackFrame *_previousStackFrame;
101 class _ComposeValueHelper;
104PXR_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.
A path value used to locate objects in layers or scenegraphs.
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...