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

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

Detailed Description

Internal data structure which holds metadata about a keyword argument.

Definition at line 178 of file attr.h.

Constructor & Destructor Documentation

◆ argument_record()

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

Definition at line 185 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 182 of file attr.h.

◆ descr

const char* argument_record::descr

Human-readable version of the argument value.

Definition at line 180 of file attr.h.

◆ name

const char* argument_record::name

Argument name.

Definition at line 179 of file attr.h.

◆ none

bool argument_record::none

True if None is allowed when loading.

Definition at line 183 of file attr.h.

◆ value

handle argument_record::value

Associated Python object.

Definition at line 181 of file attr.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:57