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

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

Private Attributes

int i = -1
 

Detailed Description

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

Definition at line 28 of file pybind11_tests.h.

Constructor & Destructor Documentation

◆ UserType() [1/2]

UserType::UserType ( )
default

◆ UserType() [2/2]

UserType::UserType ( int  i)
inlineexplicit

Definition at line 31 of file pybind11_tests.h.

Member Function Documentation

◆ set()

void UserType::set ( int  set)
inline

Definition at line 34 of file pybind11_tests.h.

◆ value()

int UserType::value ( ) const
inline

Definition at line 33 of file pybind11_tests.h.

Member Data Documentation

◆ i

int UserType::i = -1
private

Definition at line 37 of file pybind11_tests.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:14