HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
proxyTypes.h
Go to the documentation of this file.
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"
16 #include "pxr/usd/sdf/listProxy.h"
19 
21 
23 
30 
41 
51 
56 
57 
58 /// Returns a name list editor proxy for the name list op in the given
59 /// \p nameField on \p spec. If the value doesn't exist or \p spec is
60 /// invalid then this returns an invalid list editor.
63  const SdfSpecHandle& spec, const TfToken& nameField);
64 
65 /// Returns a path list editor proxy for the path list op in the given
66 /// \p pathField on \p spec. If the value doesn't exist or \p spec is
67 /// invalid then this returns an invalid list editor.
70  const SdfSpecHandle& spec, const TfToken& pathField);
71 
72 /// Returns a reference list editor proxy for the references list op in the
73 /// given \p referenceField on \p spec. If the value doesn't exist or the object
74 /// is invalid then this returns an invalid list editor.
77  const SdfSpecHandle& spec, const TfToken& referenceField);
78 
79 /// Returns a payload list editor proxy for the payloads list op in the given
80 /// \p payloadField on \p spec. If the value doesn't exist or the object is
81 /// invalid then this returns an invalid list editor.
84  const SdfSpecHandle& spec, const TfToken& payloadField);
85 
86 /// Returns a name order list proxy for the ordering specified in the given
87 /// \p orderField on \p spec. If the value doesn't exist or the object is
88 /// invalid then this returns an invalid list editor.
91  const SdfSpecHandle& spec, const TfToken& orderField);
92 
94 
95 #endif // PXR_USD_SDF_PROXY_TYPES_H
SdfNameOrderProxy SdfPropertyOrderProxy
Definition: proxyTypes.h:43
SdfNameEditorProxy SdfVariantSetNamesProxy
Definition: proxyTypes.h:50
SdfReferenceEditorProxy SdfGetReferenceEditorProxy(const SdfSpecHandle &spec, const TfToken &referenceField)
SdfNameEditorProxy SdfGetNameEditorProxy(const SdfSpecHandle &spec, const TfToken &nameField)
PXR_NAMESPACE_OPEN_SCOPE SDF_DECLARE_HANDLES(SdfSpec)
std::map< SdfPath, SdfPath > SdfRelocatesMap
A map of source SdfPaths to target SdfPaths for relocation.
Definition: types.h:270
SdfChildrenView< Sdf_RelationshipChildPolicy, SdfRelationshipViewPredicate > SdfRelationshipSpecView
Definition: proxyTypes.h:37
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
SdfMapEditProxy< VtDictionary > SdfDictionaryProxy
Definition: proxyTypes.h:52
Definition: spec.h:32
SdfReferenceEditorProxy SdfReferencesProxy
Definition: proxyTypes.h:49
SdfPathEditorProxy SdfConnectionsProxy
Definition: proxyTypes.h:44
SdfPayloadEditorProxy SdfGetPayloadEditorProxy(const SdfSpecHandle &spec, const TfToken &payloadField)
SdfListProxy< SdfSubLayerTypePolicy > SdfSubLayerProxy
Definition: proxyTypes.h:25
SdfChildrenView< Sdf_PropertyChildPolicy > SdfPropertySpecView
Definition: proxyTypes.h:34
Definition: token.h:70
SdfListEditorProxy< SdfPayloadTypePolicy > SdfPayloadEditorProxy
Definition: proxyTypes.h:28
SdfChildrenProxy< SdfVariantSetView > SdfVariantSetsProxy
Definition: proxyTypes.h:40
SdfListProxy< SdfNameTokenKeyPolicy > SdfNameOrderProxy
Definition: proxyTypes.h:24
SdfListEditorProxy< SdfPathKeyPolicy > SdfPathEditorProxy
Definition: proxyTypes.h:27
SdfMapEditProxy< SdfVariantSelectionMap > SdfVariantSelectionProxy
Definition: proxyTypes.h:53
SdfNameOrderProxy SdfNameChildrenOrderProxy
Definition: proxyTypes.h:42
SdfMapEditProxy< SdfRelocatesMap, SdfRelocatesMapProxyValuePolicy > SdfRelocatesMapProxy
Definition: proxyTypes.h:55
SdfChildrenView< Sdf_VariantChildPolicy > SdfVariantView
Definition: proxyTypes.h:38
SdfPayloadEditorProxy SdfPayloadsProxy
Definition: proxyTypes.h:48
SdfNameOrderProxy SdfGetNameOrderProxy(const SdfSpecHandle &spec, const TfToken &orderField)
SdfListEditorProxy< SdfNameKeyPolicy > SdfNameEditorProxy
Definition: proxyTypes.h:26
SdfChildrenView< Sdf_AttributeChildPolicy, SdfAttributeViewPredicate > SdfAttributeSpecView
Definition: proxyTypes.h:32
SdfListEditorProxy< SdfReferenceTypePolicy > SdfReferenceEditorProxy
Definition: proxyTypes.h:29
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
SdfChildrenView< Sdf_VariantSetChildPolicy > SdfVariantSetView
Definition: proxyTypes.h:39
SdfPathEditorProxy SdfTargetsProxy
Definition: proxyTypes.h:47
SdfChildrenView< Sdf_PrimChildPolicy > SdfPrimSpecView
Definition: proxyTypes.h:33
SdfPathEditorProxy SdfInheritsProxy
Definition: proxyTypes.h:45
SdfChildrenView< Sdf_AttributeChildPolicy > SdfRelationalAttributeSpecView
Definition: proxyTypes.h:35
SdfPathEditorProxy SdfGetPathEditorProxy(const SdfSpecHandle &spec, const TfToken &pathField)
SdfPathEditorProxy SdfSpecializesProxy
Definition: proxyTypes.h:46