errors.h
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the Apache License, Version 2.0 (the "Apache License")
5 // with the following modification; you may not use this file except in
6 // compliance with the Apache License and the following modification to it:
7 // Section 6. Trademarks. is deleted and replaced with:
8 //
9 // 6. Trademarks. This License does not grant permission to use the trade
10 // names, trademarks, service marks, or product names of the Licensor
11 // and its affiliates, except as required to comply with Section 4(c) of
12 // the License and to reproduce the content of the NOTICE file.
13 //
14 // You may obtain a copy of the Apache License at
15 //
16 // http://www.apache.org/licenses/LICENSE-2.0
17 //
18 // Unless required by applicable law or agreed to in writing, software
19 // distributed under the Apache License with the above modification is
20 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 // KIND, either express or implied. See the Apache License for the specific
22 // language governing permissions and limitations under the Apache License.
23 //
24 #ifndef PXR_USD_PCP_ERRORS_H
25 #define PXR_USD_PCP_ERRORS_H
26 
27 #include "pxr/pxr.h"
28 #include "pxr/usd/pcp/api.h"
29 #include "pxr/usd/pcp/site.h"
30 #include "pxr/usd/pcp/types.h"
31 #include "pxr/usd/sdf/layer.h"
33 #include "pxr/usd/sdf/path.h"
34 
35 #include <memory>
36 #include <string>
37 #include <vector>
38 
39 PXR_NAMESPACE_OPEN_SCOPE
40 
45 enum PcpErrorType {
46  PcpErrorType_ArcCycle,
47  PcpErrorType_ArcPermissionDenied,
48  PcpErrorType_IndexCapacityExceeded,
49  PcpErrorType_ArcCapacityExceeded,
50  PcpErrorType_ArcNamespaceDepthCapacityExceeded,
51  PcpErrorType_InconsistentPropertyType,
52  PcpErrorType_InconsistentAttributeType,
53  PcpErrorType_InconsistentAttributeVariability,
54  PcpErrorType_InternalAssetPath,
55  PcpErrorType_InvalidPrimPath,
56  PcpErrorType_InvalidAssetPath,
57  PcpErrorType_InvalidInstanceTargetPath,
58  PcpErrorType_InvalidExternalTargetPath,
59  PcpErrorType_InvalidTargetPath,
60  PcpErrorType_InvalidReferenceOffset,
61  PcpErrorType_InvalidSublayerOffset,
62  PcpErrorType_InvalidSublayerOwnership,
63  PcpErrorType_InvalidSublayerPath,
64  PcpErrorType_InvalidVariantSelection,
65  PcpErrorType_MutedAssetPath,
66  PcpErrorType_OpinionAtRelocationSource,
67  PcpErrorType_PrimPermissionDenied,
68  PcpErrorType_PropertyPermissionDenied,
69  PcpErrorType_SublayerCycle,
70  PcpErrorType_TargetPermissionDenied,
71  PcpErrorType_UnresolvedPrimPath
72 };
73 
74 // Forward declarations:
75 class PcpErrorBase;
76 typedef std::shared_ptr<PcpErrorBase> PcpErrorBasePtr;
77 typedef std::vector<PcpErrorBasePtr> PcpErrorVector;
78 
83 class PcpErrorBase {
84 public:
86  PCP_API virtual ~PcpErrorBase();
88  virtual std::string ToString() const = 0;
89 
91  const PcpErrorType errorType;
92 
98 
99 protected:
101  explicit PcpErrorBase(PcpErrorType errorType);
102 };
103 
105 
106 // Forward declarations:
107 class PcpErrorArcCycle;
108 typedef std::shared_ptr<PcpErrorArcCycle> PcpErrorArcCyclePtr;
109 
115 public:
117  static PcpErrorArcCyclePtr New();
119  PCP_API ~PcpErrorArcCycle() override;
121  PCP_API std::string ToString() const override;
122 
123  PcpSiteTracker cycle;
124 
125 private:
128 };
129 
131 
132 // Forward declarations:
134 typedef std::shared_ptr<PcpErrorArcPermissionDenied>
135  PcpErrorArcPermissionDeniedPtr;
136 
143 public:
145  static PcpErrorArcPermissionDeniedPtr New();
147  PCP_API ~PcpErrorArcPermissionDenied() override;
149  PCP_API std::string ToString() const override;
150 
157 
158 private:
161 };
162 
164 
165 // Forward declarations:
167 typedef std::shared_ptr<PcpErrorCapacityExceeded> PcpErrorCapacityExceededPtr;
168 
174 public:
176  static PcpErrorCapacityExceededPtr New(PcpErrorType errorType);
178  PCP_API ~PcpErrorCapacityExceeded() override;
180  PCP_API std::string ToString() const override;
181 
182 private:
184  PcpErrorCapacityExceeded(PcpErrorType errorType);
185 };
186 
188 
189 class PcpErrorInconsistentPropertyBase : public PcpErrorBase {
190 public:
192  PCP_API ~PcpErrorInconsistentPropertyBase() override;
193 
195  std::string definingLayerIdentifier;
197  SdfPath definingSpecPath;
198 
200  std::string conflictingLayerIdentifier;
202  SdfPath conflictingSpecPath;
203 
204 protected:
206  PcpErrorInconsistentPropertyBase(PcpErrorType errorType);
207 };
208 
210 
211 // Forward declarations:
213 typedef std::shared_ptr<PcpErrorInconsistentPropertyType>
214  PcpErrorInconsistentPropertyTypePtr;
215 
221  public PcpErrorInconsistentPropertyBase {
222 public:
224  static PcpErrorInconsistentPropertyTypePtr New();
226  PCP_API ~PcpErrorInconsistentPropertyType() override;
228  PCP_API std::string ToString() const override;
229 
234 
235 private:
238 };
239 
241 
242 // Forward declarations:
244 typedef std::shared_ptr<PcpErrorInconsistentAttributeType>
245  PcpErrorInconsistentAttributeTypePtr;
246 
252  public PcpErrorInconsistentPropertyBase {
253 public:
255  static PcpErrorInconsistentAttributeTypePtr New();
257  PCP_API ~PcpErrorInconsistentAttributeType() override;
259  PCP_API std::string ToString() const override;
260 
265 
266 private:
269 };
270 
272 
273 // Forward declarations:
275 typedef std::shared_ptr<PcpErrorInconsistentAttributeVariability>
276  PcpErrorInconsistentAttributeVariabilityPtr;
277 
283  public PcpErrorInconsistentPropertyBase {
284 public:
286  static PcpErrorInconsistentAttributeVariabilityPtr New();
290  PCP_API std::string ToString() const override;
291 
296 
297 private:
300 };
301 
303 
304 // Forward declarations:
306 typedef std::shared_ptr<PcpErrorInvalidPrimPath>
307  PcpErrorInvalidPrimPathPtr;
308 
314 public:
316  static PcpErrorInvalidPrimPathPtr New();
318  PCP_API ~PcpErrorInvalidPrimPath() override;
320  PCP_API std::string ToString() const override;
321 
324 
327 
330  SdfLayerHandle sourceLayer;
331 
332  PcpArcType arcType;
333 
334 private:
337 };
338 
340 
341 // Forward declarations:
342 class PcpErrorInvalidAssetPathBase;
343 typedef std::shared_ptr<PcpErrorInvalidAssetPathBase>
344  PcpErrorInvalidAssetPathBasePtr;
345 
346 class PcpErrorInvalidAssetPathBase : public PcpErrorBase {
347 public:
349  PCP_API ~PcpErrorInvalidAssetPathBase() override;
350 
352  PcpSite site;
353 
355  SdfPath targetPath;
356 
358  std::string assetPath;
359 
361  std::string resolvedAssetPath;
362 
365  SdfLayerHandle sourceLayer;
366 
367  PcpArcType arcType;
368 
370  std::string messages;
371 
372 protected:
374  PcpErrorInvalidAssetPathBase(PcpErrorType errorType);
375 };
376 
378 
379 // Forward declarations:
381 typedef std::shared_ptr<PcpErrorInvalidAssetPath>
382  PcpErrorInvalidAssetPathPtr;
383 
388 class PcpErrorInvalidAssetPath : public PcpErrorInvalidAssetPathBase {
389 public:
391  static PcpErrorInvalidAssetPathPtr New();
393  PCP_API ~PcpErrorInvalidAssetPath() override;
395  PCP_API std::string ToString() const override;
396 
397 private:
400 };
401 
403 
404 // Forward declarations:
406 typedef std::shared_ptr<PcpErrorMutedAssetPath>
407  PcpErrorMutedAssetPathPtr;
408 
413 class PcpErrorMutedAssetPath : public PcpErrorInvalidAssetPathBase {
414 public:
416  static PcpErrorMutedAssetPathPtr New();
418  PCP_API ~PcpErrorMutedAssetPath() override;
420  PCP_API std::string ToString() const override;
421 
422 private:
425 };
426 
428 
429 // Forward declarations:
431 typedef std::shared_ptr<PcpErrorTargetPathBase>
432  PcpErrorTargetPathBasePtr;
433 
439 public:
441  PCP_API ~PcpErrorTargetPathBase() override;
442 
450  SdfLayerHandle layer;
451 
457 
458 protected:
459  PcpErrorTargetPathBase(PcpErrorType errorType);
460 };
461 
463 
464 // Forward declarations:
466 typedef std::shared_ptr<PcpErrorInvalidInstanceTargetPath>
467  PcpErrorInvalidInstanceTargetPathPtr;
468 
475 public:
477  static PcpErrorInvalidInstanceTargetPathPtr New();
479  PCP_API ~PcpErrorInvalidInstanceTargetPath() override;
481  PCP_API std::string ToString() const override;
482 
483 private:
486 };
487 
489 
490 // Forward declarations:
492 typedef std::shared_ptr<PcpErrorInvalidExternalTargetPath>
493  PcpErrorInvalidExternalTargetPathPtr;
494 
501 public:
503  static PcpErrorInvalidExternalTargetPathPtr New();
505  PCP_API ~PcpErrorInvalidExternalTargetPath() override;
507  PCP_API std::string ToString() const override;
508 
509  PcpArcType ownerArcType;
510  SdfPath ownerIntroPath;
511 
512 private:
515 };
516 
518 
519 // Forward declarations:
521 typedef std::shared_ptr<PcpErrorInvalidTargetPath>
522  PcpErrorInvalidTargetPathPtr;
523 
529 public:
531  static PcpErrorInvalidTargetPathPtr New();
533  PCP_API ~PcpErrorInvalidTargetPath() override;
535  PCP_API std::string ToString() const override;
536 
537 private:
540 };
541 
543 
544 // Forward declarations:
546 typedef std::shared_ptr<PcpErrorInvalidSublayerOffset>
547  PcpErrorInvalidSublayerOffsetPtr;
548 
554 public:
556  static PcpErrorInvalidSublayerOffsetPtr New();
558  PCP_API ~PcpErrorInvalidSublayerOffset() override;
560  PCP_API std::string ToString() const override;
561 
562  SdfLayerHandle layer;
563  SdfLayerHandle sublayer;
564  SdfLayerOffset offset;
565 
566 private:
569 };
570 
572 
573 // Forward declarations:
575 typedef std::shared_ptr<PcpErrorInvalidReferenceOffset>
576  PcpErrorInvalidReferenceOffsetPtr;
577 
583 public:
585  static PcpErrorInvalidReferenceOffsetPtr New();
587  PCP_API ~PcpErrorInvalidReferenceOffset() override;
589  PCP_API std::string ToString() const override;
590 
592  SdfLayerHandle sourceLayer;
593 
596 
598  std::string assetPath;
599 
602 
605 
606  PcpArcType arcType;
607 
608 private:
611 };
612 
614 
615 // Forward declarations:
617 typedef std::shared_ptr<PcpErrorInvalidSublayerOwnership>
618  PcpErrorInvalidSublayerOwnershipPtr;
619 
625 public:
627  static PcpErrorInvalidSublayerOwnershipPtr New();
629  PCP_API ~PcpErrorInvalidSublayerOwnership() override;
631  PCP_API std::string ToString() const override;
632 
633  std::string owner;
634  SdfLayerHandle layer;
635  SdfLayerHandleVector sublayers;
636 
637 private:
640 };
641 
643 
644 // Forward declarations:
646 typedef std::shared_ptr<PcpErrorInvalidSublayerPath>
647  PcpErrorInvalidSublayerPathPtr;
648 
654 public:
656  static PcpErrorInvalidSublayerPathPtr New();
658  PCP_API ~PcpErrorInvalidSublayerPath() override;
660  PCP_API std::string ToString() const override;
661 
662  SdfLayerHandle layer;
663  std::string sublayerPath;
664  std::string messages;
665 
666 private:
669 };
670 
672 
673 // Forward declarations:
675 typedef std::shared_ptr<PcpErrorOpinionAtRelocationSource>
676  PcpErrorOpinionAtRelocationSourcePtr;
677 
683 public:
685  static PcpErrorOpinionAtRelocationSourcePtr New();
687  PCP_API ~PcpErrorOpinionAtRelocationSource() override;
689  PCP_API std::string ToString() const override;
690 
691  SdfLayerHandle layer;
692  SdfPath path;
693 
694 private:
697 };
698 
700 
701 // Forward declarations:
703 typedef std::shared_ptr<PcpErrorPrimPermissionDenied>
704  PcpErrorPrimPermissionDeniedPtr;
705 
711 public:
713  static PcpErrorPrimPermissionDeniedPtr New();
715  PCP_API ~PcpErrorPrimPermissionDenied() override;
717  PCP_API std::string ToString() const override;
718 
723 
724 private:
727 };
728 
730 
731 // Forward declarations:
733 typedef std::shared_ptr<PcpErrorPropertyPermissionDenied>
734  PcpErrorPropertyPermissionDeniedPtr;
735 
741 public:
743  static PcpErrorPropertyPermissionDeniedPtr New();
745  PCP_API ~PcpErrorPropertyPermissionDenied() override;
747  PCP_API std::string ToString() const override;
748 
749  SdfPath propPath;
750  SdfSpecType propType;
751  std::string layerPath;
752 
753 private:
756 };
757 
759 
760 // Forward declarations:
762 typedef std::shared_ptr<PcpErrorSublayerCycle> PcpErrorSublayerCyclePtr;
763 
769 public:
771  static PcpErrorSublayerCyclePtr New();
773  PCP_API ~PcpErrorSublayerCycle() override;
775  PCP_API std::string ToString() const override;
776 
777  SdfLayerHandle layer;
778  SdfLayerHandle sublayer;
779 
780 private:
783 };
784 
786 
787 // Forward declarations:
789 typedef std::shared_ptr<PcpErrorTargetPermissionDenied>
790  PcpErrorTargetPermissionDeniedPtr;
791 
797 public:
799  static PcpErrorTargetPermissionDeniedPtr New();
801  PCP_API ~PcpErrorTargetPermissionDenied() override;
803  PCP_API std::string ToString() const override;
804 
805 private:
808 };
809 
811 
812 // Forward declarations:
814 typedef std::shared_ptr<PcpErrorUnresolvedPrimPath>
815  PcpErrorUnresolvedPrimPathPtr;
816 
822 public:
824  static PcpErrorUnresolvedPrimPathPtr New();
826  PCP_API ~PcpErrorUnresolvedPrimPath() override;
828  PCP_API std::string ToString() const override;
829 
832 
835  SdfLayerHandle sourceLayer;
836 
838  SdfLayerHandle targetLayer;
839 
842 
843  PcpArcType arcType;
844 
845 private:
848 };
849 
851 PCP_API
852 void PcpRaiseErrors(const PcpErrorVector &errors);
853 
854 PXR_NAMESPACE_CLOSE_SCOPE
855 
856 #endif // PXR_USD_PCP_ERRORS_H
static PcpErrorInvalidInstanceTargetPathPtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidAssetPath() override
Destructor.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:152
Invalid asset paths used by references or payloads.
Definition: errors.h:388
static PcpErrorInvalidSublayerPathPtr New()
Returns a new error object.
PcpSite privateSite
The private, invalid target of the arc.
Definition: errors.h:154
PCP_API std::string ToString() const override
Converts error to string message.
SdfPath owningPath
The path to the property where the target was authored.
Definition: errors.h:446
SdfLayerHandle layer
The layer containing the property where the target was authored.
Definition: errors.h:450
PCP_API ~PcpErrorOpinionAtRelocationSource() override
Destructor.
SdfSpecType definingSpecType
The type of the defining spec.
Definition: errors.h:231
PCP_API std::string ToString() const override
Converts error to string message.
Exceeded the capacity for composition arcs at a single site.
Definition: errors.h:173
References or payloads that use invalid layer offsets.
Definition: errors.h:582
static PcpErrorInvalidSublayerOwnershipPtr New()
Returns a new error object.
static PcpErrorPropertyPermissionDeniedPtr New()
Returns a new error object.
static PcpErrorInvalidSublayerOffsetPtr New()
Returns a new error object.
PcpSite rootSite
The site of the composed prim or property being computed when the error was encountered.
Definition: errors.h:97
Arcs that were not made between PcpNodes because of permission restrictions.
Definition: errors.h:142
static PcpErrorOpinionAtRelocationSourcePtr New()
Returns a new error object.
PCP_API std::string ToString() const override
Converts error to string message.
SdfLayerHandle targetLayer
The target layer of the arc.
Definition: errors.h:838
PCP_API ~PcpErrorPrimPermissionDenied() override
Destructor.
PCP_API std::string ToString() const override
Converts error to string message.
static PcpErrorInvalidReferenceOffsetPtr New()
Returns a new error object.
static PcpErrorArcCyclePtr New()
Returns a new error object.
static PcpErrorCapacityExceededPtr New(PcpErrorType errorType)
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:323
PCP_API ~PcpErrorInconsistentAttributeVariability() override
Destructor.
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:330
A site specifies a path in a layer stack of scene description.
Definition: site.h:46
PCP_API ~PcpErrorInvalidTargetPath() override
Destructor.
static PcpErrorMutedAssetPathPtr New()
Returns a new error object.
PCP_API ~PcpErrorMutedAssetPath() override
Destructor.
Attributes that have specs with conflicting variability.
Definition: errors.h:282
Invalid target or connection path authored in an inherited class that points to an instance of that c...
Definition: errors.h:474
Layers that recursively sublayer themselves.
Definition: errors.h:768
PCP_API std::string ToString() const override
Converts error to string message.
Asset paths that could not be both resolved and loaded.
Definition: errors.h:653
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorArcPermissionDenied() override
Destructor.
TfToken definingValueType
The value type from the defining spec.
Definition: errors.h:262
PCP_API std::string ToString() const override
Converts error to string message.
Layers with illegal opinions about private prims.
Definition: errors.h:710
static PcpErrorPrimPermissionDeniedPtr New()
Returns a new error object.
static PcpErrorInvalidPrimPathPtr New()
Returns a new error object.
static PcpErrorUnresolvedPrimPathPtr New()
Returns a new error object.
Properties that have specs with conflicting definitions.
Definition: errors.h:220
PCP_API ~PcpErrorUnresolvedPrimPath() override
Destructor.
SdfLayerOffset offset
The invalid layer offset expressed on the arc.
Definition: errors.h:604
PcpSite privateSite
The private, invalid target of the arc.
Definition: errors.h:722
static PcpErrorInvalidExternalTargetPathPtr New()
Returns a new error object.
Opinions were found at a relocation source path.
Definition: errors.h:682
static PcpErrorInvalidTargetPathPtr New()
Returns a new error object.
PCP_API std::string ToString() const override
Converts error to string message.
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:87
PCP_API ~PcpErrorInconsistentPropertyType() override
Destructor.
PCP_API std::string ToString() const override
Converts error to string message.
Sublayers that use invalid layer offsets.
Definition: errors.h:553
PCP_API std::string ToString() const override
Converts error to string message.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:720
Paths with illegal opinions about private targets.
Definition: errors.h:796
virtual std::string ToString() const =0
Converts error to string message.
SdfPath targetPath
The invalid target or connection path that was authored.
Definition: errors.h:444
PCP_API ~PcpErrorInvalidSublayerOwnership() override
Destructor.
static PcpErrorArcPermissionDeniedPtr New()
Returns a new error object.
Base class for composition errors related to target or connection paths.
Definition: errors.h:438
Invalid target or connection path.
Definition: errors.h:528
Invalid target or connection path in some scope that points to an object outside of that scope.
Definition: errors.h:500
SdfPath sourcePath
The source path of the spec that caused this arc to be introduced.
Definition: errors.h:595
static PcpErrorInconsistentAttributeTypePtr New()
Returns a new error object.
static PcpErrorInconsistentAttributeVariabilityPtr New()
Returns a new error object.
Invalid prim paths used by references or payloads.
Definition: errors.h:313
PcpArcType arcType
The type of arc.
Definition: errors.h:156
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API ~PcpErrorInvalidSublayerOffset() override
Destructor.
TfToken conflictingValueType
The value type from the conflicting spec.
Definition: errors.h:264
PCP_API ~PcpErrorInconsistentAttributeType() override
Destructor.
PCP_API ~PcpErrorTargetPermissionDenied() override
Destructor.
Muted asset paths used by references or payloads.
Definition: errors.h:413
PCP_API std::string ToString() const override
Converts error to string message.
PcpErrorBase(PcpErrorType errorType)
Constructor.
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:592
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:290
static PcpErrorInvalidAssetPathPtr New()
Returns a new error object.
PCP_API std::string ToString() const override
Converts error to string message.
static PcpErrorSublayerCyclePtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidPrimPath() override
Destructor.
SdfPath primPath
The target prim path of the arc that is invalid.
Definition: errors.h:326
PCP_API std::string ToString() const override
Converts error to string message.
PCP_API std::string ToString() const override
Converts error to string message.
static PcpErrorTargetPermissionDeniedPtr New()
Returns a new error object.
Asset paths that could not be both resolved and loaded.
Definition: errors.h:821
SdfVariability
An enum that identifies variability types for attributes.
Definition: types.h:178
static PcpErrorInconsistentPropertyTypePtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidReferenceOffset() override
Destructor.
Sibling layers that have the same owner.
Definition: errors.h:624
const PcpErrorType errorType
The error code.
Definition: errors.h:91
PCP_API ~PcpErrorPropertyPermissionDenied() override
Destructor.
SdfPath targetPath
Target prim path of the arc.
Definition: errors.h:601
Layers with illegal opinions about private properties.
Definition: errors.h:740
SdfSpecType
An enum that specifies the type of an object.
Definition: types.h:90
Attributes that have specs with conflicting definitions.
Definition: errors.h:251
PCP_API std::string ToString() const override
Converts error to string message.
virtual PCP_API ~PcpErrorBase()
Destructor.
std::vector< PcpSiteTrackerSegment > PcpSiteTracker
Represents a single path through the composition tree.
Definition: types.h:130
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 ~PcpErrorInvalidInstanceTargetPath() override
Destructor.
PCP_API ~PcpErrorInvalidExternalTargetPath() 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.
Arcs between PcpNodes that form a cycle.
Definition: errors.h:114
PCP_API ~PcpErrorArcCycle() override
Destructor.
SdfPath composedTargetPath
The target or connection path in the composed scene.
Definition: errors.h:456
SdfLayerHandle sourceLayer
The source layer of the spec that caused this arc to be introduced.
Definition: errors.h:835
PCP_API std::string ToString() const override
Converts error to string message.
Represents a time offset and scale between layers.
Definition: layerOffset.h:61
PCP_API std::string ToString() const override
Converts error to string message.
SdfVariability conflictingVariability
The variability of the conflicting spec.
Definition: errors.h:295
PCP_API ~PcpErrorSublayerCycle() override
Destructor.
PCP_API ~PcpErrorCapacityExceeded() override
Destructor.
PCP_API ~PcpErrorInvalidSublayerPath() override
Destructor.
SdfVariability definingVariability
The variability of the defining spec.
Definition: errors.h:293
SdfPath unresolvedPath
The prim path that cannot be resolved on the target layer stack.
Definition: errors.h:841
PCP_API ~PcpErrorTargetPathBase() override
Destructor.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:831
std::string assetPath
Target asset path of the arc.
Definition: errors.h:598
SdfSpecType conflictingSpecType
The type of the conflicting spec.
Definition: errors.h:233
SdfSpecType ownerSpecType
The spec type of the property where the target was authored.
Definition: errors.h:448
Base class for all error types.
Definition: errors.h:83
PcpArcType
Describes the type of arc connecting two nodes in the prim index.
Definition: types.h:46