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

#include <abstractData.h>

Public Member Functions

virtual SDF_API ~SdfAbstractDataSpecVisitor ()
 
virtual SDF_API bool VisitSpec (const SdfAbstractData &data, const SdfPath &path)=0
 
virtual SDF_API void Done (const SdfAbstractData &data)=0
 

Detailed Description

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

See Also
SdfAbstractData::VisitSpecs.

Definition at line 566 of file abstractData.h.

Constructor & Destructor Documentation

virtual SDF_API SdfAbstractDataSpecVisitor::~SdfAbstractDataSpecVisitor ( )
virtual

Member Function Documentation

virtual SDF_API void SdfAbstractDataSpecVisitor::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 SdfAbstractDataSpecVisitor::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: