μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
enum_base Struct Reference

#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/pybind11.h>

Collaboration diagram for enum_base:
[legend]

Public Member Functions

 enum_base (const handle &base, const handle &parent)
 
PYBIND11_NOINLINE void init (bool is_arithmetic, bool is_convertible)
 
PYBIND11_NOINLINE void value (char const *name_, object value, const char *doc=nullptr)
 
PYBIND11_NOINLINE void export_values ()
 
 enum_base (const handle &base, const handle &parent)
 
PYBIND11_NOINLINE void init (bool is_arithmetic, bool is_convertible)
 
PYBIND11_NOINLINE void value (char const *name_, object value, const char *doc=nullptr)
 
PYBIND11_NOINLINE void export_values ()
 

Public Attributes

handle m_base
 
handle m_parent
 

Detailed Description

Definition at line 1943 of file pybind11.h.

Constructor & Destructor Documentation

◆ enum_base() [1/2]

enum_base::enum_base ( const handle base,
const handle parent 
)
inline

Definition at line 1944 of file pybind11.h.

◆ enum_base() [2/2]

enum_base::enum_base ( const handle base,
const handle parent 
)
inline

Definition at line 1948 of file pybind11.h.

Member Function Documentation

◆ export_values() [1/2]

PYBIND11_NOINLINE void enum_base::export_values ( )
inline

Definition at line 2097 of file pybind11.h.

References m_base, and m_parent.

◆ export_values() [2/2]

PYBIND11_NOINLINE void enum_base::export_values ( )
inline

Definition at line 2108 of file pybind11.h.

References m_base, and m_parent.

◆ init() [1/2]

PYBIND11_NOINLINE void enum_base::init ( bool  is_arithmetic,
bool  is_convertible 
)
inline

◆ init() [2/2]

PYBIND11_NOINLINE void enum_base::init ( bool  is_arithmetic,
bool  is_convertible 
)
inline

◆ value() [1/2]

PYBIND11_NOINLINE void enum_base::value ( char const *  name_,
object  value,
const char *  doc = nullptr 
)
inline

Definition at line 2084 of file pybind11.h.

References dict::contains(), m_base, and value().

Referenced by value().

◆ value() [2/2]

PYBIND11_NOINLINE void enum_base::value ( char const *  name_,
object  value,
const char *  doc = nullptr 
)
inline

Definition at line 2095 of file pybind11.h.

References dict::contains(), m_base, and value().

Member Data Documentation

◆ m_base

handle enum_base::m_base

Definition at line 2104 of file pybind11.h.

Referenced by export_values(), init(), and value().

◆ m_parent

handle enum_base::m_parent

Definition at line 2105 of file pybind11.h.

Referenced by export_values().


The documentation for this struct was generated from the following files: