cppyabm  1.0.17
An agent-based library to integrate C++ and Python
Public Member Functions | Public Attributes | List of all members
enum_base Struct Reference

#include <pybind11.h>

Public Member Functions

 enum_base (handle base, 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 1621 of file pybind11.h.

Constructor & Destructor Documentation

◆ enum_base()

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

Definition at line 1622 of file pybind11.h.

Member Function Documentation

◆ export_values()

PYBIND11_NOINLINE void enum_base::export_values ( )
inline

Definition at line 1753 of file pybind11.h.

◆ init()

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

Definition at line 1624 of file pybind11.h.

◆ value()

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

Definition at line 1741 of file pybind11.h.

Member Data Documentation

◆ m_base

handle enum_base::m_base

Definition at line 1759 of file pybind11.h.

◆ m_parent

handle enum_base::m_parent

Definition at line 1760 of file pybind11.h.


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