7#ifndef PXR_USD_SDF_CLEANUP_ENABLER_H
8#define PXR_USD_SDF_CLEANUP_ENABLER_H
13#include "pxr/usd/sdf/api.h"
14#include "pxr/base/tf/stacked.h"
16PXR_NAMESPACE_OPEN_SCOPE
64PXR_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.