HepMC3 event record library
Public Member Functions | Data Fields
argument_record Struct Reference

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

#include <attr.h>

+ Collaboration diagram for argument_record:

Public Member Functions

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

Data Fields

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 129 of file attr.h.

Field Documentation

bool convert

True if the argument is allowed to convert when loading.

Definition at line 133 of file attr.h.

const char* descr

Human-readable version of the argument value.

Definition at line 131 of file attr.h.

const char* name

Argument name.

Definition at line 130 of file attr.h.

bool none

True if None is allowed when loading.

Definition at line 134 of file attr.h.

handle value

Associated Python object.

Definition at line 132 of file attr.h.


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