24#ifndef PXR_USD_SDF_CLEANUP_ENABLER_H
25#define PXR_USD_SDF_CLEANUP_ENABLER_H
30#include "pxr/usd/sdf/api.h"
31#include "pxr/base/tf/stacked.h"
33PXR_NAMESPACE_OPEN_SCOPE
81PXR_NAMESPACE_CLOSE_SCOPE
An RAII class which, when an instance is alive, enables scheduling of automatic cleanup of SdfLayers.
static SDF_API bool IsCleanupEnabled()
Returns whether cleanup is currently being scheduled.