μ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
argument_record Struct Reference

Internal data structure which holds metadata about a keyword argument. More...

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

Collaboration diagram for argument_record:
[legend]

Public Member Functions

 argument_record (const char *name, const char *descr, handle value, bool convert, bool none)
 
 argument_record (const char *name, const char *descr, handle value, bool convert, bool none)
 

Public Attributes

const char * name
 Argument name. More...
 
const char * descr
 Human-readable version of the argument value. More...
 
handle value
 Associated Python object. More...
 
bool convert: 1
 True if the argument is allowed to convert when loading. More...
 
bool none: 1
 True if None is allowed when loading. More...
 

Detailed Description

Internal data structure which holds metadata about a keyword argument.

Definition at line 175 of file attr.h.

Constructor & Destructor Documentation

◆ argument_record() [1/2]

argument_record::argument_record ( const char *  name,
const char *  descr,
handle  value,
bool  convert,
bool  none 
)
inline

Definition at line 182 of file attr.h.

◆ argument_record() [2/2]

argument_record::argument_record ( const char *  name,
const char *  descr,
handle  value,
bool  convert,
bool  none 
)
inline

Definition at line 182 of file attr.h.

Member Data Documentation

◆ convert

bool argument_record::convert

True if the argument is allowed to convert when loading.

Definition at line 179 of file attr.h.

Referenced by cpp_function::dispatcher().

◆ descr

const char * argument_record::descr

Human-readable version of the argument value.

Definition at line 177 of file attr.h.

◆ name

const char * argument_record::name

Argument name.

Definition at line 176 of file attr.h.

Referenced by cpp_function::dispatcher().

◆ none

bool argument_record::none

True if None is allowed when loading.

Definition at line 180 of file attr.h.

Referenced by cpp_function::dispatcher().

◆ value

handle argument_record::value

Associated Python object.

Definition at line 178 of file attr.h.


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