All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 "pxr/base/tf/enum.h"
36 
37 #include <memory>
38 #include <string>
39 #include <vector>
40 
41 PXR_NAMESPACE_OPEN_SCOPE
42 
43 // Forward declaration:
44 class PcpCache;
45 
50 enum PcpErrorType {
51  PcpErrorType_ArcCycle,
52  PcpErrorType_ArcPermissionDenied,
53  PcpErrorType_IndexCapacityExceeded,
54  PcpErrorType_ArcCapacityExceeded,
55  PcpErrorType_ArcNamespaceDepthCapacityExceeded,
56  PcpErrorType_InconsistentPropertyType,
57  PcpErrorType_InconsistentAttributeType,
58  PcpErrorType_InconsistentAttributeVariability,
59  PcpErrorType_InternalAssetPath,
60  PcpErrorType_InvalidPrimPath,
61  PcpErrorType_InvalidAssetPath,
62  PcpErrorType_InvalidInstanceTargetPath,
63  PcpErrorType_InvalidExternalTargetPath,
64  PcpErrorType_InvalidTargetPath,
65  PcpErrorType_InvalidReferenceOffset,
66  PcpErrorType_InvalidSublayerOffset,
67  PcpErrorType_InvalidSublayerOwnership,
68  PcpErrorType_InvalidSublayerPath,
69  PcpErrorType_InvalidVariantSelection,
70  PcpErrorType_MutedAssetPath,
71  PcpErrorType_OpinionAtRelocationSource,
72  PcpErrorType_PrimPermissionDenied,
73  PcpErrorType_PropertyPermissionDenied,
74  PcpErrorType_SublayerCycle,
75  PcpErrorType_TargetPermissionDenied,
76  PcpErrorType_UnresolvedPrimPath
77 };
78 
79 // Forward declarations:
80 class PcpErrorBase;
81 typedef std::shared_ptr<PcpErrorBase> PcpErrorBasePtr;
82 typedef std::vector<PcpErrorBasePtr> PcpErrorVector;
83 
88 class PcpErrorBase {
89 public:
91  PCP_API virtual ~PcpErrorBase();
93  virtual std::string ToString() const = 0;
94 
97 
103 
106  bool ShouldReportAtMostOnce() const {
107  // Capacity errors are reported at most once. (If these limits are
108  // reached, there is likely to be a very large number of whatever
109  // caused it.)
110  return errorType == PcpErrorType_IndexCapacityExceeded ||
111  errorType == PcpErrorType_ArcCapacityExceeded ||
112  errorType == PcpErrorType_ArcNamespaceDepthCapacityExceeded;
113  }
114 
115 protected:
118 };
119 
121 
122 // Forward declarations:
123 class PcpErrorArcCycle;
124 typedef std::shared_ptr<PcpErrorArcCycle> PcpErrorArcCyclePtr;
125 
131 public:
133  static PcpErrorArcCyclePtr New();
135  PCP_API ~PcpErrorArcCycle();
137  PCP_API virtual std::string ToString() const;
138 
139  PcpSiteTracker cycle;
140 
141 private:
144 };
145 
147 
148 // Forward declarations:
150 typedef std::shared_ptr<PcpErrorArcPermissionDenied>
151  PcpErrorArcPermissionDeniedPtr;
152 
159 public:
161  static PcpErrorArcPermissionDeniedPtr New();
165  PCP_API virtual std::string ToString() const;
166 
173 
174 private:
177 };
178 
180 
181 // Forward declarations:
183 typedef std::shared_ptr<PcpErrorCapacityExceeded> PcpErrorCapacityExceededPtr;
184 
190 public:
192  static PcpErrorCapacityExceededPtr New(PcpErrorType errorType);
194  PCP_API ~PcpErrorCapacityExceeded();
196  PCP_API virtual std::string ToString() const;
197 
198 private:
200  PcpErrorCapacityExceeded(PcpErrorType errorType);
201 };
202 
204 
205 class PcpErrorInconsistentPropertyBase : public PcpErrorBase {
206 public:
208  PCP_API virtual ~PcpErrorInconsistentPropertyBase();
209 
211  std::string definingLayerIdentifier;
213  SdfPath definingSpecPath;
214 
216  std::string conflictingLayerIdentifier;
218  SdfPath conflictingSpecPath;
219 
220 protected:
222  PcpErrorInconsistentPropertyBase(TfEnum errorType);
223 };
224 
226 
227 // Forward declarations:
229 typedef std::shared_ptr<PcpErrorInconsistentPropertyType>
230  PcpErrorInconsistentPropertyTypePtr;
231 
237  public PcpErrorInconsistentPropertyBase {
238 public:
240  static PcpErrorInconsistentPropertyTypePtr New();
244  PCP_API virtual std::string ToString() const;
245 
250 
251 private:
254 };
255 
257 
258 // Forward declarations:
260 typedef std::shared_ptr<PcpErrorInconsistentAttributeType>
261  PcpErrorInconsistentAttributeTypePtr;
262 
268  public PcpErrorInconsistentPropertyBase {
269 public:
271  static PcpErrorInconsistentAttributeTypePtr New();
275  PCP_API virtual std::string ToString() const;
276 
281 
282 private:
285 };
286 
288 
289 // Forward declarations:
291 typedef std::shared_ptr<PcpErrorInconsistentAttributeVariability>
292  PcpErrorInconsistentAttributeVariabilityPtr;
293 
299  public PcpErrorInconsistentPropertyBase {
300 public:
302  static PcpErrorInconsistentAttributeVariabilityPtr New();
306  PCP_API virtual std::string ToString() const;
307 
312 
313 private:
316 };
317 
319 
320 // Forward declarations:
322 typedef std::shared_ptr<PcpErrorInternalAssetPath>
323  PcpErrorInternalAssetPathPtr;
324 
330 public:
332  static PcpErrorInternalAssetPathPtr New();
334  PCP_API ~PcpErrorInternalAssetPath();
336  PCP_API virtual std::string ToString() const;
337 
340  SdfPath targetPath;
341  std::string assetPath;
342  std::string resolvedAssetPath;
343  PcpArcType arcType;
344 
345 private:
348 };
349 
351 
352 // Forward declarations:
354 typedef std::shared_ptr<PcpErrorInvalidPrimPath>
355  PcpErrorInvalidPrimPathPtr;
356 
362 public:
364  static PcpErrorInvalidPrimPathPtr New();
366  PCP_API ~PcpErrorInvalidPrimPath();
368  PCP_API virtual std::string ToString() const;
369 
372  SdfPath primPath;
373  PcpArcType arcType;
374 
375 private:
378 };
379 
381 
382 // Forward declarations:
383 class PcpErrorInvalidAssetPathBase;
384 typedef std::shared_ptr<PcpErrorInvalidAssetPathBase>
385  PcpErrorInvalidAssetPathBasePtr;
386 
387 class PcpErrorInvalidAssetPathBase : public PcpErrorBase {
388 public:
390  PCP_API ~PcpErrorInvalidAssetPathBase();
391 
393  PcpSite site;
394  SdfPath targetPath;
395  std::string assetPath;
396  std::string resolvedAssetPath;
397  PcpArcType arcType;
398  SdfLayerHandle layer;
399  std::string messages;
400 
401 protected:
403  PcpErrorInvalidAssetPathBase(TfEnum errorType);
404 };
405 
407 
408 // Forward declarations:
410 typedef std::shared_ptr<PcpErrorInvalidAssetPath>
411  PcpErrorInvalidAssetPathPtr;
412 
417 class PcpErrorInvalidAssetPath : public PcpErrorInvalidAssetPathBase {
418 public:
420  static PcpErrorInvalidAssetPathPtr New();
422  PCP_API ~PcpErrorInvalidAssetPath();
424  PCP_API virtual std::string ToString() const;
425 
426 private:
429 };
430 
432 
433 // Forward declarations:
435 typedef std::shared_ptr<PcpErrorMutedAssetPath>
436  PcpErrorMutedAssetPathPtr;
437 
442 class PcpErrorMutedAssetPath : public PcpErrorInvalidAssetPathBase {
443 public:
445  static PcpErrorMutedAssetPathPtr New();
447  PCP_API ~PcpErrorMutedAssetPath();
449  PCP_API virtual std::string ToString() const;
450 
451 private:
454 };
455 
457 
458 // Forward declarations:
460 typedef std::shared_ptr<PcpErrorTargetPathBase>
461  PcpErrorTargetPathBasePtr;
462 
468 public:
470  PCP_API ~PcpErrorTargetPathBase();
471 
479  SdfLayerHandle layer;
480 
486 
487 protected:
489 };
490 
492 
493 // Forward declarations:
495 typedef std::shared_ptr<PcpErrorInvalidInstanceTargetPath>
496  PcpErrorInvalidInstanceTargetPathPtr;
497 
504 public:
506  static PcpErrorInvalidInstanceTargetPathPtr New();
510  PCP_API virtual std::string ToString() const;
511 
512 private:
515 };
516 
518 
519 // Forward declarations:
521 typedef std::shared_ptr<PcpErrorInvalidExternalTargetPath>
522  PcpErrorInvalidExternalTargetPathPtr;
523 
530 public:
532  static PcpErrorInvalidExternalTargetPathPtr New();
536  PCP_API virtual std::string ToString() const;
537 
538  PcpArcType ownerArcType;
539  SdfPath ownerIntroPath;
540 
541 private:
544 };
545 
547 
548 // Forward declarations:
550 typedef std::shared_ptr<PcpErrorInvalidTargetPath>
551  PcpErrorInvalidTargetPathPtr;
552 
558 public:
560  static PcpErrorInvalidTargetPathPtr New();
562  PCP_API ~PcpErrorInvalidTargetPath();
564  PCP_API virtual std::string ToString() const;
565 
566 private:
569 };
570 
572 
573 // Forward declarations:
575 typedef std::shared_ptr<PcpErrorInvalidSublayerOffset>
576  PcpErrorInvalidSublayerOffsetPtr;
577 
583 public:
585  static PcpErrorInvalidSublayerOffsetPtr New();
589  PCP_API virtual std::string ToString() const;
590 
591  SdfLayerHandle layer;
592  SdfLayerHandle sublayer;
593  SdfLayerOffset offset;
594 
595 private:
598 };
599 
601 
602 // Forward declarations:
604 typedef std::shared_ptr<PcpErrorInvalidReferenceOffset>
605  PcpErrorInvalidReferenceOffsetPtr;
606 
612 public:
614  static PcpErrorInvalidReferenceOffsetPtr New();
618  PCP_API virtual std::string ToString() const;
619 
620  SdfLayerHandle layer;
621  SdfPath sourcePath;
622  std::string assetPath;
623  SdfPath targetPath;
624  SdfLayerOffset offset;
625 
626 private:
629 };
630 
632 
633 // Forward declarations:
635 typedef std::shared_ptr<PcpErrorInvalidSublayerOwnership>
636  PcpErrorInvalidSublayerOwnershipPtr;
637 
643 public:
645  static PcpErrorInvalidSublayerOwnershipPtr New();
649  PCP_API virtual std::string ToString() const;
650 
651  std::string owner;
652  SdfLayerHandle layer;
653  SdfLayerHandleVector sublayers;
654 
655 private:
658 };
659 
661 
662 // Forward declarations:
664 typedef std::shared_ptr<PcpErrorInvalidSublayerPath>
665  PcpErrorInvalidSublayerPathPtr;
666 
672 public:
674  static PcpErrorInvalidSublayerPathPtr New();
678  PCP_API virtual std::string ToString() const;
679 
680  SdfLayerHandle layer;
681  std::string sublayerPath;
682  std::string messages;
683 
684 private:
687 };
688 
690 
691 // Forward declarations:
693 typedef std::shared_ptr<PcpErrorInvalidVariantSelection>
694  PcpErrorInvalidVariantSelectionPtr;
695 
701 public:
703  static PcpErrorInvalidVariantSelectionPtr New();
707  PCP_API virtual std::string ToString() const;
708 
709  std::string siteAssetPath;
710  SdfPath sitePath;
711  std::string vset, vsel;
712 
713 private:
716 };
717 
719 
720 // Forward declarations:
722 typedef std::shared_ptr<PcpErrorOpinionAtRelocationSource>
723  PcpErrorOpinionAtRelocationSourcePtr;
724 
730 public:
732  static PcpErrorOpinionAtRelocationSourcePtr New();
736  PCP_API virtual std::string ToString() const;
737 
738  SdfLayerHandle layer;
739  SdfPath path;
740 
741 private:
744 };
745 
747 
748 // Forward declarations:
750 typedef std::shared_ptr<PcpErrorPrimPermissionDenied>
751  PcpErrorPrimPermissionDeniedPtr;
752 
758 public:
760  static PcpErrorPrimPermissionDeniedPtr New();
764  PCP_API virtual std::string ToString() const;
765 
770 
771 private:
774 };
775 
777 
778 // Forward declarations:
780 typedef std::shared_ptr<PcpErrorPropertyPermissionDenied>
781  PcpErrorPropertyPermissionDeniedPtr;
782 
788 public:
790  static PcpErrorPropertyPermissionDeniedPtr New();
794  PCP_API virtual std::string ToString() const;
795 
796  SdfPath propPath;
797  SdfSpecType propType;
798  std::string layerPath;
799 
800 private:
803 };
804 
806 
807 // Forward declarations:
809 typedef std::shared_ptr<PcpErrorSublayerCycle> PcpErrorSublayerCyclePtr;
810 
816 public:
818  static PcpErrorSublayerCyclePtr New();
820  PCP_API ~PcpErrorSublayerCycle();
822  PCP_API virtual std::string ToString() const;
823 
824  SdfLayerHandle layer;
825  SdfLayerHandle sublayer;
826 
827 private:
830 };
831 
833 
834 // Forward declarations:
836 typedef std::shared_ptr<PcpErrorTargetPermissionDenied>
837  PcpErrorTargetPermissionDeniedPtr;
838 
844 public:
846  static PcpErrorTargetPermissionDeniedPtr New();
850  PCP_API virtual std::string ToString() const;
851 
852 private:
855 };
856 
858 
859 // Forward declarations:
861 typedef std::shared_ptr<PcpErrorUnresolvedPrimPath>
862  PcpErrorUnresolvedPrimPathPtr;
863 
869 public:
871  static PcpErrorUnresolvedPrimPathPtr New();
873  PCP_API ~PcpErrorUnresolvedPrimPath();
875  PCP_API virtual std::string ToString() const;
876 
879  SdfPath unresolvedPath;
880  PcpArcType arcType;
881 
882 private:
885 };
886 
888 PCP_API
889 void PcpRaiseErrors(const PcpErrorVector &errors);
890 
891 PXR_NAMESPACE_CLOSE_SCOPE
892 
893 #endif // PXR_USD_PCP_ERRORS_H
static PcpErrorInvalidInstanceTargetPathPtr New()
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:168
virtual PCP_API std::string ToString() const
Converts error to string message.
Invalid asset paths used by references or payloads.
Definition: errors.h:417
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorInvalidSublayerPathPtr New()
Returns a new error object.
PcpSite privateSite
The private, invalid target of the arc.
Definition: errors.h:170
SdfPath owningPath
The path to the property where the target was authored.
Definition: errors.h:475
SdfLayerHandle layer
The layer containing the property where the target was authored.
Definition: errors.h:479
SdfSpecType definingSpecType
The type of the defining spec.
Definition: errors.h:247
PCP_API ~PcpErrorCapacityExceeded()
Destructor.
Exceeded the capacity for composition arcs at a single site.
Definition: errors.h:189
Sublayers that use invalid layer offsets.
Definition: errors.h:611
static PcpErrorInvalidSublayerOwnershipPtr New()
Returns a new error object.
static PcpErrorPropertyPermissionDeniedPtr New()
Returns a new error object.
static PcpErrorInvalidSublayerOffsetPtr New()
Returns a new error object.
Arcs that were not made between PcpNodes because of permission restrictions.
Definition: errors.h:158
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorOpinionAtRelocationSourcePtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorInvalidSublayerOwnership()
Destructor.
PCP_API ~PcpErrorPrimPermissionDenied()
Destructor.
PcpSiteStr site
The site where the invalid arc was expressed.
Definition: errors.h:878
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorInvalidReferenceOffsetPtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorArcCyclePtr New()
Returns a new error object.
PCP_API ~PcpErrorInvalidPrimPath()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorCapacityExceededPtr New(PcpErrorType errorType)
Returns a new error object.
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:371
virtual PCP_API std::string ToString() const
Converts error to string message.
PcpCache is the context required to make requests of the Pcp composition algorithm and cache the resu...
Definition: cache.h:93
PCP_API ~PcpErrorInvalidVariantSelection()
Destructor.
A site specifies a path in a layer stack of scene description.
Definition: site.h:46
static PcpErrorMutedAssetPathPtr New()
Returns a new error object.
Attributes that have specs with conflicting variability.
Definition: errors.h:298
Invalid target or connection path authored in an inherited class that points to an instance of that c...
Definition: errors.h:503
PCP_API ~PcpErrorTargetPathBase()
Destructor.
An enum class that records both enum type and enum value.
Definition: enum.h:139
Layers that recursively sublayer themselves.
Definition: errors.h:815
Asset paths that could not be both resolved and loaded.
Definition: errors.h:671
Invalid variant selections.
Definition: errors.h:700
static PcpErrorInternalAssetPathPtr New()
Returns a new error object.
TfToken definingValueType
The value type from the defining spec.
Definition: errors.h:278
Layers with illegal opinions about private prims.
Definition: errors.h:757
static PcpErrorPrimPermissionDeniedPtr New()
Returns a new error object.
PCP_API ~PcpErrorTargetPermissionDenied()
Destructor.
static PcpErrorInvalidPrimPathPtr New()
Returns a new error object.
static PcpErrorUnresolvedPrimPathPtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
Properties that have specs with conflicting definitions.
Definition: errors.h:236
static PcpErrorInvalidExternalTargetPathPtr New()
Returns a new error object.
Opinions were found at a relocation source path.
Definition: errors.h:729
static PcpErrorInvalidTargetPathPtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:87
A &quot;string-based&quot; version of PcpSite.
Definition: site.h:81
PCP_API ~PcpErrorSublayerCycle()
Destructor.
Sublayers that use invalid layer offsets.
Definition: errors.h:582
PCP_API ~PcpErrorInconsistentAttributeType()
Destructor.
Paths with illegal opinions about private targets.
Definition: errors.h:843
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:473
const TfEnum errorType
The error code.
Definition: errors.h:96
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorArcPermissionDeniedPtr New()
Returns a new error object.
Base class for composition errors related to target or connection paths.
Definition: errors.h:467
PCP_API ~PcpErrorUnresolvedPrimPath()
Destructor.
Invalid target or connection path.
Definition: errors.h:557
PCP_API ~PcpErrorInvalidReferenceOffset()
Destructor.
Invalid target or connection path in some scope that points to an object outside of that scope...
Definition: errors.h:529
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:361
PcpSite site
The site where the invalid arc was expressed.
Definition: errors.h:339
PcpArcType arcType
The type of arc.
Definition: errors.h:172
PCP_API ~PcpErrorInconsistentPropertyType()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
TfToken conflictingValueType
The value type from the conflicting spec.
Definition: errors.h:280
Muted asset paths used by references or payloads.
Definition: errors.h:442
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorInvalidTargetPath()
Destructor.
PCP_API ~PcpErrorInvalidSublayerPath()
Destructor.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:288
static PcpErrorInvalidAssetPathPtr New()
Returns a new error object.
PcpSiteStr rootSite
The site of the composed prim or property being computed when the error was encountered.
Definition: errors.h:102
PcpSiteStr site
The site where the invalid arc was expressed.
Definition: errors.h:767
static PcpErrorSublayerCyclePtr New()
Returns a new error object.
static PcpErrorTargetPermissionDeniedPtr New()
Returns a new error object.
Asset paths that could not be both resolved and loaded.
Definition: errors.h:868
PcpErrorBase(TfEnum errorType)
Constructor.
SdfVariability
An enum that identifies variability types for attributes.
Definition: types.h:179
virtual PCP_API std::string ToString() const
Converts error to string message.
static PcpErrorInconsistentPropertyTypePtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
Sibling layers that have the same owner.
Definition: errors.h:642
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorMutedAssetPath()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
virtual PCP_API std::string ToString() const
Converts error to string message.
Layers with illegal opinions about private properties.
Definition: errors.h:787
PCP_API ~PcpErrorInternalAssetPath()
Destructor.
PCP_API ~PcpErrorArcCycle()
Destructor.
SdfSpecType
An enum that specifies the type of an object.
Definition: types.h:91
Attributes that have specs with conflicting definitions.
Definition: errors.h:267
virtual PCP_API ~PcpErrorBase()
Destructor.
std::vector< PcpSiteTrackerSegment > PcpSiteTracker
Represents a single path through the composition tree.
Definition: types.h:130
PCP_API ~PcpErrorOpinionAtRelocationSource()
Destructor.
static PcpErrorInvalidVariantSelectionPtr New()
Returns a new error object.
virtual PCP_API std::string ToString() const
Converts error to string message.
virtual PCP_API std::string ToString() const
Converts error to string message.
bool ShouldReportAtMostOnce() const
Return true if this type of error should be reported at most once for a given prim.
Definition: errors.h:106
PCP_API ~PcpErrorInvalidExternalTargetPath()
Destructor.
PCP_API ~PcpErrorPropertyPermissionDenied()
Destructor.
Arcs between PcpNodes that form a cycle.
Definition: errors.h:130
SdfPath composedTargetPath
The target or connection path in the composed scene.
Definition: errors.h:485
PCP_API ~PcpErrorInconsistentAttributeVariability()
Destructor.
PCP_API ~PcpErrorInvalidSublayerOffset()
Destructor.
Error about an arc that is prohibited due to being internal to an asset.
Definition: errors.h:329
Represents a time offset and scale between layers.
Definition: layerOffset.h:61
SdfVariability conflictingVariability
The variability of the conflicting spec.
Definition: errors.h:311
PCP_API ~PcpErrorInvalidInstanceTargetPath()
Destructor.
PcpSiteStr privateSite
The private, invalid target of the arc.
Definition: errors.h:769
virtual PCP_API std::string ToString() const
Converts error to string message.
virtual PCP_API std::string ToString() const
Converts error to string message.
SdfVariability definingVariability
The variability of the defining spec.
Definition: errors.h:309
PCP_API ~PcpErrorArcPermissionDenied()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
PCP_API ~PcpErrorInvalidAssetPath()
Destructor.
virtual PCP_API std::string ToString() const
Converts error to string message.
SdfSpecType conflictingSpecType
The type of the conflicting spec.
Definition: errors.h:249
SdfSpecType ownerSpecType
The spec type of the property where the target was authored.
Definition: errors.h:477
Base class for all error types.
Definition: errors.h:88
PcpArcType
Describes the type of arc connecting two nodes in the prim index.
Definition: types.h:46