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
defineResolverContext.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_DEFINE_RESOLVER_CONTEXT_H
8#define PXR_USD_AR_DEFINE_RESOLVER_CONTEXT_H
9
10#include "pxr/pxr.h"
11#include "pxr/usd/ar/api.h"
13
16
17PXR_NAMESPACE_OPEN_SCOPE
18
26#ifdef doxygen
27#define AR_DECLARE_RESOLVER_CONTEXT(ContextObject)
28#else
29#define AR_DECLARE_RESOLVER_CONTEXT(context) \
30template <> \
31struct ArIsContextObject<context> \
32{ \
33 static const bool value = true; \
34}
35#endif
36
37PXR_NAMESPACE_CLOSE_SCOPE
38
39#endif // PXR_USD_AR_DEFINE_RESOLVER_CONTEXT_H