7 #ifndef PXR_USD_PCP_ERRORS_H
8 #define PXR_USD_PCP_ERRORS_H
76 virtual std::string
ToString()
const = 0;
122 typedef std::shared_ptr<PcpErrorArcPermissionDenied>
155 typedef std::shared_ptr<PcpErrorArcToProhibitedChild>
237 typedef std::shared_ptr<PcpErrorInconsistentPropertyType>
268 typedef std::shared_ptr<PcpErrorInconsistentAttributeType>
299 typedef std::shared_ptr<PcpErrorInconsistentAttributeVariability>
330 typedef std::shared_ptr<PcpErrorInvalidPrimPath>
367 typedef std::shared_ptr<PcpErrorInvalidAssetPathBase>
405 typedef std::shared_ptr<PcpErrorInvalidAssetPath>
430 typedef std::shared_ptr<PcpErrorMutedAssetPath>
455 typedef std::shared_ptr<PcpErrorTargetPathBase>
490 typedef std::shared_ptr<PcpErrorInvalidInstanceTargetPath>
516 typedef std::shared_ptr<PcpErrorInvalidExternalTargetPath>
545 typedef std::shared_ptr<PcpErrorInvalidTargetPath>
570 typedef std::shared_ptr<PcpErrorInvalidSublayerOffset>
599 typedef std::shared_ptr<PcpErrorInvalidReferenceOffset>
641 typedef std::shared_ptr<PcpErrorInvalidSublayerOwnership>
670 typedef std::shared_ptr<PcpErrorInvalidSublayerPath>
699 typedef std::shared_ptr<PcpErrorRelocationBase>
719 typedef std::shared_ptr<PcpErrorInvalidAuthoredRelocation>
755 typedef std::shared_ptr<PcpErrorInvalidConflictingRelocation>
809 typedef std::shared_ptr<PcpErrorInvalidSameTargetRelocations>
849 typedef std::shared_ptr<PcpErrorOpinionAtRelocationSource>
877 typedef std::shared_ptr<PcpErrorPrimPermissionDenied>
907 typedef std::shared_ptr<PcpErrorPropertyPermissionDenied>
963 typedef std::shared_ptr<PcpErrorTargetPermissionDenied>
988 typedef std::shared_ptr<PcpErrorUnresolvedPrimPath>
1028 typedef std::shared_ptr<PcpErrorVariableExpressionError>
1073 #endif // PXR_USD_PCP_ERRORS_H
PcpErrorTargetPathBase(PcpErrorType errorType)
SdfPath conflictTargetPath
The target path of the relocation this conflicts with.
PCP_API ~PcpErrorInvalidAssetPath() override
Destructor.
PCP_API ~PcpErrorInconsistentAttributeType() override
Destructor.
SdfPath composedTargetPath
PcpSite site
The site where the invalid arc was expressed.
PcpSite site
The site where the invalid arc was expressed.
SdfLayerHandle sourceLayer
std::shared_ptr< PcpErrorMutedAssetPath > PcpErrorMutedAssetPathPtr
PCP_API ~PcpErrorInvalidSublayerOwnership() override
Destructor.
Info about each relocate source that has the same target path.
SdfPath owningPath
The path to the prim where the relocates is authored.
std::shared_ptr< PcpErrorInvalidAssetPath > PcpErrorInvalidAssetPathPtr
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorOpinionAtRelocationSource() override
Destructor.
SdfLayerHandle layer
The layer containing the authored relocates.
std::string conflictingLayerIdentifier
The identifier of the layer with the conflicting property spec.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
PcpErrorInvalidAssetPathBase(PcpErrorType errorType)
Constructor.
SdfPath sourcePath
The source path of the invalid relocation.
static PcpErrorInconsistentAttributeTypePtr New()
Returns a new error object.
static PcpErrorTargetPermissionDeniedPtr New()
Returns a new error object.
std::shared_ptr< PcpErrorTargetPermissionDenied > PcpErrorTargetPermissionDeniedPtr
PCP_API std::string ToString() const override
Converts error to string message.
std::vector< RelocationSource > sources
The sources of all relocates that relocate to the target path.
SdfPath owningPath
The path to the property where the target was authored.
PCP_API ~PcpErrorInvalidAssetPathBase() override
Destructor.
std::string assetPath
The target asset path of the arc as authored.
PCP_API ~PcpErrorInconsistentAttributeVariability() override
Destructor.
static PcpErrorInvalidSublayerOwnershipPtr New()
Returns a new error object.
SdfPath targetPath
The invalid target or connection path that was authored.
SdfVariability conflictingVariability
The variability of the conflicting spec.
std::shared_ptr< PcpErrorPropertyPermissionDenied > PcpErrorPropertyPermissionDeniedPtr
static PcpErrorInconsistentAttributeVariabilityPtr New()
Returns a new error object.
SdfPath primPath
The target prim path of the arc that is invalid.
std::shared_ptr< PcpErrorInvalidSublayerOwnership > PcpErrorInvalidSublayerOwnershipPtr
std::shared_ptr< PcpErrorOpinionAtRelocationSource > PcpErrorOpinionAtRelocationSourcePtr
PCP_API std::string ToString() const override
Converts error to string message.
SdfLayerHandleVector sublayers
PCP_API ~PcpErrorTargetPermissionDenied() override
Destructor.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorInvalidTargetPath() override
Destructor.
std::shared_ptr< PcpErrorInvalidSameTargetRelocations > PcpErrorInvalidSameTargetRelocationsPtr
std::shared_ptr< PcpErrorInconsistentPropertyType > PcpErrorInconsistentPropertyTypePtr
SdfLayerHandle layer
The layer containing the authored relocates.
static PcpErrorInvalidSameTargetRelocationsPtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidReferenceOffset() override
Destructor.
PCP_API ~PcpErrorInconsistentPropertyType() override
Destructor.
virtual std::string ToString() const =0
Converts error to string message.
std::shared_ptr< PcpErrorInvalidTargetPath > PcpErrorInvalidTargetPathPtr
SdfPath unresolvedPath
The prim path that cannot be resolved on the target layer stack.
virtual PCP_API ~PcpErrorBase()
Destructor.
const PcpErrorType errorType
The error code.
PcpSite targetSite
The target site of the invalid arc which is a prohibited child.
std::shared_ptr< PcpErrorInvalidSublayerOffset > PcpErrorInvalidSublayerOffsetPtr
SdfSpecType definingSpecType
The type of the defining spec.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
SdfPath definingSpecPath
The path of the defining property spec.
std::shared_ptr< PcpErrorInvalidConflictingRelocation > PcpErrorInvalidConflictingRelocationPtr
static PcpErrorMutedAssetPathPtr New()
Returns a new error object.
PCP_API ~PcpErrorMutedAssetPath() override
Destructor.
SdfLayerHandle sourceLayer
The source layer where the expression was authored.
SdfPath sourcePath
The source path of the spec that caused this arc to be introduced.
SdfLayerHandle layer
The layer containing the authored relocates.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorSublayerCycle() override
Destructor.
std::string expression
The expression that was evaluated.
PCP_API std::string ToString() const override
Converts error to string message.
std::shared_ptr< PcpErrorBase > PcpErrorBasePtr
std::shared_ptr< PcpErrorInvalidAuthoredRelocation > PcpErrorInvalidAuthoredRelocationPtr
PCP_API ~PcpErrorInvalidInstanceTargetPath() override
Destructor.
PCP_API ~PcpErrorInvalidExternalTargetPath() override
Destructor.
static PcpErrorInvalidReferenceOffsetPtr New()
Returns a new error object.
PcpArcType arcType
The type of arc.
static PcpErrorSublayerCyclePtr New()
Returns a new error object.
PcpErrorBase(PcpErrorType errorType)
Constructor.
PCP_API ~PcpErrorInvalidAuthoredRelocation() override
Destructor.
TfToken definingValueType
The value type from the defining spec.
static PcpErrorInvalidPrimPathPtr New()
Returns a new error object.
static PcpErrorInvalidTargetPathPtr New()
Returns a new error object.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorArcPermissionDenied() override
Destructor.
PCP_API ~PcpErrorPropertyPermissionDenied() override
Destructor.
PCP_API ~PcpErrorUnresolvedPrimPath() override
Destructor.
SdfLayerHandle sourceLayer
std::shared_ptr< PcpErrorInvalidReferenceOffset > PcpErrorInvalidReferenceOffsetPtr
static PcpErrorCapacityExceededPtr New(PcpErrorType errorType)
Returns a new error object.
std::shared_ptr< PcpErrorTargetPathBase > PcpErrorTargetPathBasePtr
SdfPath targetPath
The target path of the invalid relocation.
PCP_API std::string ToString() const override
Converts error to string message.
SdfPath sourcePath
The source path of the invalid relocation.
PCP_API std::string ToString() const override
Converts error to string message.
SdfPath sourcePath
The source path of the invalid relocation.
SdfPath owningPath
The path to the prim where the relocates is authored.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
SdfVariability definingVariability
The variability of the defining spec.
SdfPath targetPath
The target path of the invalid relocation.
PCP_API ~PcpErrorTargetPathBase() override
Destructor.
std::shared_ptr< PcpErrorInconsistentAttributeVariability > PcpErrorInconsistentAttributeVariabilityPtr
std::shared_ptr< PcpErrorArcCycle > PcpErrorArcCyclePtr
PCP_API ~PcpErrorCapacityExceeded() override
Destructor.
PCP_API ~PcpErrorInvalidConflictingRelocation() override
Destructor.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorVariableExpressionError() override
PcpSite privateSite
The private, invalid target of the arc.
PcpSite relocationSourceSite
std::shared_ptr< PcpErrorInvalidExternalTargetPath > PcpErrorInvalidExternalTargetPathPtr
std::shared_ptr< PcpErrorInvalidSublayerPath > PcpErrorInvalidSublayerPathPtr
static PcpErrorInconsistentPropertyTypePtr New()
Returns a new error object.
std::string expressionError
The error generated during evaluation.
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
std::shared_ptr< PcpErrorInvalidInstanceTargetPath > PcpErrorInvalidInstanceTargetPathPtr
PcpSite site
The site where the invalid arc was expressed.
SdfPath conflictingSpecPath
The path of the conflicting property spec.
std::shared_ptr< PcpErrorCapacityExceeded > PcpErrorCapacityExceededPtr
static PcpErrorPrimPermissionDeniedPtr New()
Returns a new error object.
SdfSpecType conflictingSpecType
The type of the conflicting spec.
std::shared_ptr< PcpErrorPrimPermissionDenied > PcpErrorPrimPermissionDeniedPtr
static PcpErrorInvalidAssetPathPtr New()
Returns a new error object.
std::string definingLayerIdentifier
The identifier of the layer with the defining property spec.
std::string assetPath
Target asset path of the arc.
PCP_API ~PcpErrorInconsistentPropertyBase() override
Destructor.
PcpErrorRelocationBase(PcpErrorType errorType)
std::shared_ptr< PcpErrorArcToProhibitedChild > PcpErrorArcToProhibitedChildPtr
SdfPath conflictSourcePath
The source path of the relocation this conflicts with.
static PcpErrorInvalidAuthoredRelocationPtr New()
Returns a new error object.
std::vector< PcpErrorBasePtr > PcpErrorVector
SdfLayerHandle targetLayer
The target layer of the arc.
static PcpErrorInvalidInstanceTargetPathPtr New()
Returns a new error object.
PCP_API ~PcpErrorPrimPermissionDenied() override
Destructor.
static PcpErrorArcCyclePtr New()
Returns a new error object.
SdfLayerOffset offset
The invalid layer offset expressed on the arc.
std::shared_ptr< PcpErrorSublayerCycle > PcpErrorSublayerCyclePtr
static PcpErrorVariableExpressionErrorPtr New()
PCP_API std::string ToString() const override
Converts error to string message.
static PcpErrorInvalidExternalTargetPathPtr New()
Returns a new error object.
SdfPath targetPath
Target prim path of the arc.
std::shared_ptr< PcpErrorInconsistentAttributeType > PcpErrorInconsistentAttributeTypePtr
PCP_API std::string ToString() const override
Converts error to string message.
TfToken conflictingValueType
The value type from the conflicting spec.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static PcpErrorInvalidConflictingRelocationPtr New()
Returns a new error object.
std::string messages
Additional provided error information.
PCP_API std::string ToString() const override
Converts error to string message.
PcpErrorInconsistentPropertyBase(PcpErrorType errorType)
Constructor.
PCP_API std::string ToString() const override
Converts error to string message.
std::vector< PcpSiteTrackerSegment > PcpSiteTracker
PCP_API std::string ToString() const override
Converts error to string message.
PcpSite privateSite
The private, invalid target of the arc.
PCP_API void PcpRaiseErrors(const PcpErrorVector &errors)
Raise the given errors as runtime errors.
#define PXR_NAMESPACE_CLOSE_SCOPE
SdfPath conflictOwningPath
The path to the prim where the relocation this conflicts with is authored.
std::shared_ptr< PcpErrorVariableExpressionError > PcpErrorVariableExpressionErrorPtr
static PcpErrorInvalidSublayerOffsetPtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidSameTargetRelocations() override
Destructor.
SdfSpecType ownerSpecType
The spec type of the property where the target was authored.
PCP_API std::string ToString() const override
Converts error to string message.
SdfPath targetPath
The target prim path of the arc.
SdfPath owningPath
The path to the prim where the relocates is authored.
static PcpErrorPropertyPermissionDeniedPtr New()
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
static PcpErrorArcToProhibitedChildPtr New()
Returns a new error object.
std::shared_ptr< PcpErrorInvalidAssetPathBase > PcpErrorInvalidAssetPathBasePtr
std::shared_ptr< PcpErrorInvalidPrimPath > PcpErrorInvalidPrimPathPtr
PCP_API ~PcpErrorInvalidSublayerPath() override
Destructor.
std::string messages
Additional messages about the error.
PCP_API ~PcpErrorArcToProhibitedChild() override
Destructor.
std::string resolvedAssetPath
The resolved target asset path of the arc.
PcpSite site
The site where the invalid arc was expressed.
static PcpErrorUnresolvedPrimPathPtr New()
Returns a new error object.
static PcpErrorArcPermissionDeniedPtr New()
Returns a new error object.
static PcpErrorInvalidSublayerPathPtr New()
Returns a new error object.
PcpArcType arcType
The type of arc.
SdfPath targetPath
The target path of the multiple invalid relocations.
std::shared_ptr< PcpErrorUnresolvedPrimPath > PcpErrorUnresolvedPrimPathPtr
SdfLayerHandle conflictLayer
The layer containing the authored relocation this conflicts with.
std::shared_ptr< PcpErrorArcPermissionDenied > PcpErrorArcPermissionDeniedPtr
PCP_API ~PcpErrorInvalidPrimPath() override
Destructor.
ConflictReason conflictReason
The reason the relocate is a conflict.
PCP_API std::string ToString() const override
Converts error to string message.
static PcpErrorOpinionAtRelocationSourcePtr New()
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
PCP_API ~PcpErrorInvalidSublayerOffset() override
Destructor.
SdfLayerHandle sourceLayer
PCP_API ~PcpErrorRelocationBase() override
Destructor.
PCP_API ~PcpErrorArcCycle() override
Destructor.
SdfLayerHandle layer
The layer containing the property where the target was authored.
std::shared_ptr< PcpErrorRelocationBase > PcpErrorRelocationBasePtr
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
PCP_API std::string ToString() const override
Converts error to string message.