HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyUtils.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_PCP_PY_UTILS_H
8 #define PXR_USD_PCP_PY_UTILS_H
9 
10 #include "pxr/external/boost/python/dict.hpp"
11 
12 #include "pxr/pxr.h"
13 #include "pxr/usd/pcp/api.h"
14 #include "pxr/usd/pcp/types.h"
15 
16 #include <string>
17 
19 
20 /// Convert the Python dictionary \p dict to a PcpVariantFallbackMap
21 /// object and return it via \p result, returning true if successful.
22 PCP_API
23 bool
25  const pxr_boost::python::dict& dict,
27 
29 
30 #endif // PXR_USD_PCP_PY_UTILS_H
**But if you need a result
Definition: thread.h:622
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
PXR_NAMESPACE_OPEN_SCOPE PCP_API bool PcpVariantFallbackMapFromPython(const pxr_boost::python::dict &dict, PcpVariantFallbackMap *result)
std::map< std::string, std::vector< std::string > > PcpVariantFallbackMap
Definition: types.h:189
#define PCP_API
Definition: api.h:23