Scarab  2.8.1
Project 8 C++ Utility Library
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 <attr.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ argument_record()

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

Definition at line 129 of file attr.h.

Member Data Documentation

◆ convert

bool convert

True if the argument is allowed to convert when loading.

Definition at line 126 of file attr.h.

◆ descr

const char* descr

Human-readable version of the argument value.

Definition at line 124 of file attr.h.

◆ name

const char* name

Argument name.

Definition at line 123 of file attr.h.

◆ none

bool none

True if None is allowed when loading.

Definition at line 127 of file attr.h.

◆ value

handle value

Associated Python object.

Definition at line 125 of file attr.h.


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