Loading...
Searching...
No Matches
proxyTypes.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_SDF_PROXY_TYPES_H
8#define PXR_USD_SDF_PROXY_TYPES_H
9
10#include "pxr/pxr.h"
13#include "pxr/usd/sdf/childrenPolicies.h"
19
20PXR_NAMESPACE_OPEN_SCOPE
21
22SDF_DECLARE_HANDLES(SdfSpec);
23
30
31typedef SdfChildrenView<Sdf_AttributeChildPolicy,
40typedef SdfChildrenProxy<SdfVariantSetView> SdfVariantSetsProxy;
41
51
54
59SdfGetNameEditorProxy(
60 const SdfSpecHandle& spec, const TfToken& nameField);
61
66SdfGetPathEditorProxy(
67 const SdfSpecHandle& spec, const TfToken& pathField);
68
73SdfGetReferenceEditorProxy(
74 const SdfSpecHandle& spec, const TfToken& referenceField);
75
80SdfGetPayloadEditorProxy(
81 const SdfSpecHandle& spec, const TfToken& payloadField);
82
87SdfGetNameOrderProxy(
88 const SdfSpecHandle& spec, const TfToken& orderField);
89
90PXR_NAMESPACE_CLOSE_SCOPE
91
92#endif // PXR_USD_SDF_PROXY_TYPES_H
Predicate for viewing attributes.
Provides a view onto an object's children.
Represents a set of list editing operations.
Represents a single list of list editing operations.
Definition listProxy.h:37
A proxy for editing map-like values.
Base class for all Sdf spec classes.
Definition spec.h:33
Token for efficient comparison, assignment, and hashing of known strings.
Definition token.h:81