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

Base class for objects used to visit specs in an SdfAbstractData object. More...

Public Member Functions

virtual SDF_API bool VisitSpec (const SdfAbstractData &data, const SdfPath &path)=0
 SdfAbstractData::VisitSpecs calls this function for every entry it contains, passing itself as data and the entry's path. More...
 
virtual SDF_API void Done (const SdfAbstractData &data)=0
 SdfAbstractData::VisitSpecs will call this after visitation is complete, even if some VisitSpec() returned false. More...
 

Detailed Description

Base class for objects used to visit specs in an SdfAbstractData object.

See Also
SdfAbstractData::VisitSpecs.

Definition at line 561 of file abstractData.h.

Member Function Documentation

virtual SDF_API void Done ( const SdfAbstractData data)
pure virtual

SdfAbstractData::VisitSpecs will call this after visitation is complete, even if some VisitSpec() returned false.

virtual SDF_API bool VisitSpec ( const SdfAbstractData data,
const SdfPath path 
)
pure virtual

SdfAbstractData::VisitSpecs calls this function for every entry it contains, passing itself as data and the entry's path.

Return false to stop iteration early, true to continue.


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