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 26 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 29 of file pybind11_tests.h.

Member Function Documentation

◆ set()

void UserType::set ( int  set)
inline

Definition at line 32 of file pybind11_tests.h.

◆ value()

int UserType::value ( ) const
inline

Definition at line 31 of file pybind11_tests.h.

Member Data Documentation

◆ i

int UserType::i = -1
private

Definition at line 35 of file pybind11_tests.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:10