7 #ifndef PXR_USD_SDF_COPY_UTILS_H
8 #define PXR_USD_SDF_COPY_UTILS_H
65 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
66 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath);
90 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
bool fieldInSrc,
91 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath,
bool fieldInDst,
92 std::optional<VtValue>* valueToCopy)>;
111 std::function<void(const SdfLayerHandle&, const SdfPath&)>;
142 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
bool fieldInSrc,
143 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath,
bool fieldInDst,
144 std::optional<VtValue>* srcChildren,
145 std::optional<VtValue>* dstChildren)>;
160 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
bool fieldInSrc,
161 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath,
bool fieldInDst,
162 std::optional<VtValue>* valueToCopy);
177 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
bool fieldInSrc,
178 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath,
bool fieldInDst,
179 std::optional<VtValue>* srcChildren,
180 std::optional<VtValue>* dstChildren);
217 const SdfLayerHandle& srcLayer,
const SdfPath& srcPath,
218 const SdfLayerHandle& dstLayer,
const SdfPath& dstPath,
226 #endif // PXR_USD_SDF_COPY_UTILS_H
std::function< void(const SdfLayerHandle &, const SdfPath &)> EditFunction
SDF_API bool SdfShouldCopyChildren(const SdfPath &srcRootPath, const SdfPath &dstRootPath, const TfToken &childrenField, const SdfLayerHandle &srcLayer, const SdfPath &srcPath, bool fieldInSrc, const SdfLayerHandle &dstLayer, const SdfPath &dstPath, bool fieldInDst, std::optional< VtValue > *srcChildren, std::optional< VtValue > *dstChildren)
bool operator==(const SdfCopySpecsValueEdit &rhs) const
bool operator!=(const SdfCopySpecsValueEdit &rhs) const
SDF_API bool SdfShouldCopyValue(const SdfPath &srcRootPath, const SdfPath &dstRootPath, SdfSpecType specType, const TfToken &field, const SdfLayerHandle &srcLayer, const SdfPath &srcPath, bool fieldInSrc, const SdfLayerHandle &dstLayer, const SdfPath &dstPath, bool fieldInDst, std::optional< VtValue > *valueToCopy)
const EditFunction & GetEditFunction() const
SdfCopySpecsValueEdit(const EditFunction &edit)
std::function< bool(SdfSpecType specType, const TfToken &field, const SdfLayerHandle &srcLayer, const SdfPath &srcPath, bool fieldInSrc, const SdfLayerHandle &dstLayer, const SdfPath &dstPath, bool fieldInDst, std::optional< VtValue > *valueToCopy)> SdfShouldCopyValueFn
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
SDF_API bool SdfCopySpec(const SdfLayerHandle &srcLayer, const SdfPath &srcPath, const SdfLayerHandle &dstLayer, const SdfPath &dstPath)
#define PXR_NAMESPACE_CLOSE_SCOPE
std::function< bool(const TfToken &childrenField, const SdfLayerHandle &srcLayer, const SdfPath &srcPath, bool fieldInSrc, const SdfLayerHandle &dstLayer, const SdfPath &dstPath, bool fieldInDst, std::optional< VtValue > *srcChildren, std::optional< VtValue > *dstChildren)> SdfShouldCopyChildrenFn
SDF_DECLARE_HANDLES(SdfLayer)