24 #ifndef PXR_USD_PCP_ERRORS_H
25 #define PXR_USD_PCP_ERRORS_H
135 typedef std::shared_ptr<PcpErrorArcPermissionDenied>
214 typedef std::shared_ptr<PcpErrorInconsistentPropertyType>
245 typedef std::shared_ptr<PcpErrorInconsistentAttributeType>
276 typedef std::shared_ptr<PcpErrorInconsistentAttributeVariability>
307 typedef std::shared_ptr<PcpErrorInvalidPrimPath>
344 typedef std::shared_ptr<PcpErrorInvalidAssetPathBase>
382 typedef std::shared_ptr<PcpErrorInvalidAssetPath>
407 typedef std::shared_ptr<PcpErrorMutedAssetPath>
432 typedef std::shared_ptr<PcpErrorTargetPathBase>
467 typedef std::shared_ptr<PcpErrorInvalidInstanceTargetPath>
493 typedef std::shared_ptr<PcpErrorInvalidExternalTargetPath>
522 typedef std::shared_ptr<PcpErrorInvalidTargetPath>
547 typedef std::shared_ptr<PcpErrorInvalidSublayerOffset>
576 typedef std::shared_ptr<PcpErrorInvalidReferenceOffset>
618 typedef std::shared_ptr<PcpErrorInvalidSublayerOwnership>
647 typedef std::shared_ptr<PcpErrorInvalidSublayerPath>
676 typedef std::shared_ptr<PcpErrorOpinionAtRelocationSource>
704 typedef std::shared_ptr<PcpErrorPrimPermissionDenied>
734 typedef std::shared_ptr<PcpErrorPropertyPermissionDenied>
790 typedef std::shared_ptr<PcpErrorTargetPermissionDenied>
815 typedef std::shared_ptr<PcpErrorUnresolvedPrimPath>
855 typedef std::shared_ptr<PcpErrorVariableExpressionError>
900 #endif // PXR_USD_PCP_ERRORS_H
PcpErrorTargetPathBase(PcpErrorType errorType)
PCP_API ~PcpErrorInvalidAssetPath() override
Destructor.
PCP_API ~PcpErrorInconsistentAttributeType() override
Destructor.
SdfPath composedTargetPath
PcpSite site
The site where the invalid arc was expressed.
SdfLayerHandle sourceLayer
std::shared_ptr< PcpErrorMutedAssetPath > PcpErrorMutedAssetPathPtr
PCP_API ~PcpErrorInvalidSublayerOwnership() override
Destructor.
std::shared_ptr< PcpErrorInvalidAssetPath > PcpErrorInvalidAssetPathPtr
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorOpinionAtRelocationSource() override
Destructor.
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.
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.
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.
GLsizei const GLchar *const * string
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorInvalidTargetPath() override
Destructor.
std::shared_ptr< PcpErrorInconsistentPropertyType > PcpErrorInconsistentPropertyTypePtr
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.
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.
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.
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
PCP_API ~PcpErrorInvalidInstanceTargetPath() override
Destructor.
PCP_API ~PcpErrorInvalidExternalTargetPath() override
Destructor.
static PcpErrorInvalidReferenceOffsetPtr New()
Returns a new error object.
static PcpErrorSublayerCyclePtr New()
Returns a new error object.
PcpErrorBase(PcpErrorType errorType)
Constructor.
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 ~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
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 std::string ToString() const override
Converts error to string message.
SdfVariability definingVariability
The variability of the defining spec.
PCP_API ~PcpErrorTargetPathBase() override
Destructor.
std::shared_ptr< PcpErrorInconsistentAttributeVariability > PcpErrorInconsistentAttributeVariabilityPtr
std::shared_ptr< PcpErrorArcCycle > PcpErrorArcCyclePtr
PCP_API ~PcpErrorCapacityExceeded() 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.
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.
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
std::string messages
Additional provided error information.
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
std::shared_ptr< PcpErrorVariableExpressionError > PcpErrorVariableExpressionErrorPtr
static PcpErrorInvalidSublayerOffsetPtr New()
Returns a new error object.
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.
static PcpErrorPropertyPermissionDeniedPtr New()
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
std::shared_ptr< PcpErrorInvalidAssetPathBase > PcpErrorInvalidAssetPathBasePtr
std::shared_ptr< PcpErrorInvalidPrimPath > PcpErrorInvalidPrimPathPtr
PCP_API ~PcpErrorInvalidSublayerPath() 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.
std::shared_ptr< PcpErrorUnresolvedPrimPath > PcpErrorUnresolvedPrimPathPtr
std::shared_ptr< PcpErrorArcPermissionDenied > PcpErrorArcPermissionDeniedPtr
PCP_API ~PcpErrorInvalidPrimPath() override
Destructor.
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 ~PcpErrorArcCycle() override
Destructor.
SdfLayerHandle layer
The layer containing the property where the target was authored.
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.