HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
pyResolverContext.h
Go to the documentation of this file.
1
//
2
// Copyright 2020 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_PY_RESOLVER_CONTEXT_H
8
#define PXR_USD_AR_PY_RESOLVER_CONTEXT_H
9
10
/// \file ar/pyResolverContext.h
11
/// Macros for creating Python bindings for objects used with
12
/// ArResolverContext.
13
14
#include "pxr/external/boost/python/implicit.hpp"
15
16
#include "
pxr/pxr.h
"
17
#include "
pxr/usd/ar/resolverContext.h
"
18
19
PXR_NAMESPACE_OPEN_SCOPE
20
21
/// Register the specified type as a context object that may be converted from
22
/// Python into a ArResolverContext object in C++. This typically would be
23
/// called in the source file where the Python wrapping for the context object
24
/// is defined.
25
template
<
class
Context>
26
void
27
ArWrapResolverContextForPython
();
28
29
#ifndef doxygen
30
31
template
<
class
Context>
32
void
33
ArWrapResolverContextForPython
()
34
{
35
pxr_boost::python::implicitly_convertible<Context, ArResolverContext>();
36
};
37
38
#endif //doxygen
39
40
PXR_NAMESPACE_CLOSE_SCOPE
41
42
#endif
ArWrapResolverContextForPython
PXR_NAMESPACE_OPEN_SCOPE void ArWrapResolverContextForPython()
Definition:
pyResolverContext.h:33
resolverContext.h
pxr.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
pxr
usd
ar
pyResolverContext.h
Generated on Wed Aug 27 2025 03:07:56 for HDK by
1.8.6