Scarab  v2.9.1
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
UserType Class Reference

A user-defined type which is exported and can be used by any test. More...

#include <pybind11_tests.h>

Public Member Functions

 UserType ()=default
 
 UserType (int i)
 
int value () const
 
void set (int set)
 

Private Attributes

int i = -1
 

Detailed Description

A user-defined type which is exported and can be used by any test.

Definition at line 30 of file pybind11_tests.h.

Constructor & Destructor Documentation

◆ UserType() [1/2]

UserType ( )
default

◆ UserType() [2/2]

UserType ( int  i)
inline

Definition at line 33 of file pybind11_tests.h.

Member Function Documentation

◆ set()

void set ( int  set)
inline

Definition at line 36 of file pybind11_tests.h.

◆ value()

int value ( ) const
inline

Definition at line 35 of file pybind11_tests.h.

Member Data Documentation

◆ i

int i = -1
private

Definition at line 39 of file pybind11_tests.h.


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