This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
resolverScopedCache.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_AR_RESOLVER_SCOPED_CACHE_H
8#define PXR_USD_AR_RESOLVER_SCOPED_CACHE_H
9
11
12#include "pxr/pxr.h"
13#include "pxr/usd/ar/api.h"
14#include "pxr/base/vt/value.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
30{
31public:
32
33 // Disallow copies
35 ArResolverScopedCache& operator=(const ArResolverScopedCache&) = delete;
36
41 AR_API
43
50 AR_API
52
57 AR_API
59
60private:
61 VtValue _cacheScopeData;
62};
63
64PXR_NAMESPACE_CLOSE_SCOPE
65
66#endif // PXR_USD_AR_RESOLVER_SCOPED_CACHE_H
Helper object for managing asset resolver cache scopes.
AR_API ArResolverScopedCache()
Begin an asset resolver cache scope.
AR_API ~ArResolverScopedCache()
End an asset resolver cache scope.
AR_API ArResolverScopedCache(const ArResolverScopedCache *parent)
Begin an asset resolver cache scope that shares data with the given parent scope.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Definition: value.h:147