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

#include <pytypes.h>

Public Types

using key_type = const char *
 

Static Public Member Functions

static object get (handle obj, const char *key)
 
static void set (handle obj, const char *key, handle val)
 

Detailed Description

Definition at line 548 of file pytypes.h.

Member Typedef Documentation

◆ key_type

using str_attr::key_type = const char *

Definition at line 549 of file pytypes.h.

Member Function Documentation

◆ get()

static object str_attr::get ( handle  obj,
const char *  key 
)
inlinestatic

Definition at line 550 of file pytypes.h.

◆ set()

static void str_attr::set ( handle  obj,
const char *  key,
handle  val 
)
inlinestatic

Definition at line 551 of file pytypes.h.


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