All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PcpErrorBase Class Referenceabstract

#include <errors.h>

+ Inheritance diagram for PcpErrorBase:

Public Member Functions

virtual PCP_API ~PcpErrorBase ()
 Destructor. More...
virtual std::string ToString () const =0
 Converts error to string message. More...
bool ShouldReportAtMostOnce () const

Public Attributes

const TfEnum errorType
 The error code. More...
PcpSiteStr rootSite

Protected Member Functions

 PcpErrorBase (TfEnum errorType)
 Constructor. More...

Detailed Description

Base class for all error types.

Definition at line 88 of file errors.h.

Constructor & Destructor Documentation

virtual PCP_API PcpErrorBase::~PcpErrorBase ( )


PcpErrorBase::PcpErrorBase ( TfEnum  errorType)


Member Function Documentation

bool PcpErrorBase::ShouldReportAtMostOnce ( ) const

Return true if this type of error should be reported at most once for a given prim.

Definition at line 106 of file errors.h.

Member Data Documentation

const TfEnum PcpErrorBase::errorType

The error code.

Definition at line 96 of file errors.h.

PcpSiteStr PcpErrorBase::rootSite

The site of the composed prim or property being computed when the error was encountered. (Note that some error types contain an additional site to capture more specific information about the site of the error.)

Definition at line 102 of file errors.h.

The documentation for this class was generated from the following file: