HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyEnum.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/pyObjWrapper.h"
#include "pxr/base/tf/pyUtils.h"
#include "pxr/base/tf/type.h"
#include "pxr/base/arch/demangle.h"
#include "pxr/base/tf/enum.h"
#include "pxr/base/tf/hash.h"
#include "pxr/base/tf/hashmap.h"
#include "pxr/base/tf/iterator.h"
#include "pxr/base/tf/singleton.h"
#include "pxr/base/tf/stringUtils.h"
#include <hboost/python/class.hpp>
#include <hboost/python/converter/from_python.hpp>
#include <hboost/python/converter/registered.hpp>
#include <hboost/python/converter/rvalue_from_python_data.hpp>
#include <hboost/python/list.hpp>
#include <hboost/python/object.hpp>
#include <hboost/python/operators.hpp>
#include <hboost/python/refcount.hpp>
#include <hboost/python/scope.hpp>
#include <hboost/python/to_python_converter.hpp>
#include <hboost/python/tuple.hpp>
#include <string>
+ Include dependency graph for pyEnum.h:

Go to the source code of this file.

Classes

class  Tf_PyEnum
 
class  Tf_PyEnumRegistry
 
struct  Tf_PyEnumWrapper
 
struct  Tf_TypedPyEnumWrapper< T >
 
class  TfPyWrapEnum< T, IsScopedEnum >
 

Functions

 TF_API_TEMPLATE_CLASS (TfSingleton< Tf_PyEnumRegistry >)
 
TF_API std::string Tf_PyEnumRepr (hboost::python::object const &self)
 
TF_API std::string Tf_PyCleanEnumName (std::string name, bool stripPackageName=false)
 
TF_API void Tf_PyEnumAddAttribute (hboost::python::scope &s, const std::string &name, const hboost::python::object &value)
 

Detailed Description

Provide facilities for wrapping enums for script.

Definition in file pyEnum.h.

Function Documentation

TF_API_TEMPLATE_CLASS ( TfSingleton< Tf_PyEnumRegistry )
TF_API std::string Tf_PyCleanEnumName ( std::string  name,
bool  stripPackageName = false 
)
TF_API void Tf_PyEnumAddAttribute ( hboost::python::scope &  s,
const std::string name,
const hboost::python::object &  value 
)
TF_API std::string Tf_PyEnumRepr ( hboost::python::object const self)