This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
56
61SdfGetPathEditorProxy(
62 const SdfSpecHandle& spec, const TfToken& pathField);
63
68SdfGetReferenceEditorProxy(
69 const SdfSpecHandle& spec, const TfToken& referenceField);
70
75SdfGetPayloadEditorProxy(
76 const SdfSpecHandle& spec, const TfToken& payloadField);
77
82SdfGetNameOrderProxy(
83 const SdfSpecHandle& spec, const TfToken& orderField);
84
85PXR_NAMESPACE_CLOSE_SCOPE
86
87#endif // PXR_USD_SDF_PROXY_TYPES_H
Predicate for viewing attributes.
Provides a view onto an object's children.
Definition: childrenView.h:205
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.
Definition: mapEditProxy.h:101
Map edit proxy value policy for relocates maps.
Base class for all Sdf spec classes.
Definition: spec.h:33
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
std::map< SdfPath, SdfPath > SdfRelocatesMap
A map of source SdfPaths to target SdfPaths for relocation.
Definition: types.h:267