μ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 | Private Attributes | List of all members
cpp_function::strdup_guard Class Reference

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

Public Member Functions

 ~strdup_guard ()
 
char * operator() (const char *s)
 
void release ()
 
 strdup_guard ()=default
 
 strdup_guard (const strdup_guard &)=delete
 
strdup_guardoperator= (const strdup_guard &)=delete
 
 ~strdup_guard ()
 
char * operator() (const char *s)
 
void release ()
 

Private Attributes

std::vector< char * > strings
 

Detailed Description

Definition at line 313 of file pybind11.h.

Constructor & Destructor Documentation

◆ ~strdup_guard() [1/2]

cpp_function::strdup_guard::~strdup_guard ( )
inline

Definition at line 315 of file pybind11.h.

◆ strdup_guard() [1/2]

cpp_function::strdup_guard::strdup_guard ( )
default

◆ strdup_guard() [2/2]

cpp_function::strdup_guard::strdup_guard ( const strdup_guard )
delete

◆ ~strdup_guard() [2/2]

cpp_function::strdup_guard::~strdup_guard ( )
inline

Definition at line 318 of file pybind11.h.

References strings.

Member Function Documentation

◆ operator()() [1/2]

char * cpp_function::strdup_guard::operator() ( const char *  s)
inline

Definition at line 320 of file pybind11.h.

References PYBIND11_COMPAT_STRDUP.

◆ operator()() [2/2]

char * cpp_function::strdup_guard::operator() ( const char *  s)
inline

Definition at line 323 of file pybind11.h.

References PYBIND11_COMPAT_STRDUP, and strings.

◆ operator=()

strdup_guard & cpp_function::strdup_guard::operator= ( const strdup_guard )
delete

◆ release() [1/2]

void cpp_function::strdup_guard::release ( )
inline

Definition at line 325 of file pybind11.h.

Referenced by cpp_function::initialize_generic().

◆ release() [2/2]

void cpp_function::strdup_guard::release ( )
inline

Definition at line 328 of file pybind11.h.

References strings.

Member Data Documentation

◆ strings

std::vector< char * > cpp_function::strdup_guard::strings
private

Definition at line 328 of file pybind11.h.

Referenced by operator()(), release(), and ~strdup_guard().


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