├── .github ├── ISSUE_TEMPLATE │ └── problem-report.md └── dco.yml ├── .gitignore ├── .travis.yml ├── 01-HelloWorld ├── CMakeLists.txt ├── hello.cpp └── hello.py ├── 02-ExposingClasses ├── CMakeLists.txt ├── classes.cpp └── classes.py ├── 03-Constructors ├── CMakeLists.txt ├── ctor.cpp └── ctor.py ├── 04-ClassMembers ├── CMakeLists.txt ├── member.cpp └── member.py ├── 05-Inheritance ├── CMakeLists.txt ├── inheritance.cpp └── inheritance.py ├── 06-VirtualFunctionsInPython ├── CMakeLists.txt ├── virtual.cpp └── virtual.py ├── 07-Operators ├── CMakeLists.txt ├── operators.cpp └── operators.py ├── 08-CallPolicies ├── CMakeLists.txt ├── policies.cpp └── policies.py ├── 09-Overloading ├── CMakeLists.txt ├── overload.cpp └── overload.py ├── 10-Embedding ├── CMakeLists.txt ├── embedding.cpp ├── embedding.py ├── mymodule.cpp └── mymodule.hpp ├── 11-Iterators ├── CMakeLists.txt ├── iterators.cpp └── iterators.py ├── 12-Exceptions ├── CMakeLists.txt ├── myexceptions.cpp └── myexceptions.py ├── 13-AutoInstantiation ├── CMakeLists.txt ├── auto_instance.cpp ├── auto_instance.py ├── myextension.cpp └── myextension.hpp ├── Brewfile ├── CMakeLists.txt ├── COPYING ├── DCO.md ├── Dockerfile.ubuntu └── README.md /.github/ISSUE_TEMPLATE/problem-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/.github/ISSUE_TEMPLATE/problem-report.md -------------------------------------------------------------------------------- /.github/dco.yml: -------------------------------------------------------------------------------- 1 | require: 2 | members: false 3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/.travis.yml -------------------------------------------------------------------------------- /01-HelloWorld/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/01-HelloWorld/CMakeLists.txt -------------------------------------------------------------------------------- /01-HelloWorld/hello.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/01-HelloWorld/hello.cpp -------------------------------------------------------------------------------- /01-HelloWorld/hello.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/01-HelloWorld/hello.py -------------------------------------------------------------------------------- /02-ExposingClasses/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/02-ExposingClasses/CMakeLists.txt -------------------------------------------------------------------------------- /02-ExposingClasses/classes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/02-ExposingClasses/classes.cpp -------------------------------------------------------------------------------- /02-ExposingClasses/classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/02-ExposingClasses/classes.py -------------------------------------------------------------------------------- /03-Constructors/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/03-Constructors/CMakeLists.txt -------------------------------------------------------------------------------- /03-Constructors/ctor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/03-Constructors/ctor.cpp -------------------------------------------------------------------------------- /03-Constructors/ctor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/03-Constructors/ctor.py -------------------------------------------------------------------------------- /04-ClassMembers/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/04-ClassMembers/CMakeLists.txt -------------------------------------------------------------------------------- /04-ClassMembers/member.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/04-ClassMembers/member.cpp -------------------------------------------------------------------------------- /04-ClassMembers/member.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/04-ClassMembers/member.py -------------------------------------------------------------------------------- /05-Inheritance/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/05-Inheritance/CMakeLists.txt -------------------------------------------------------------------------------- /05-Inheritance/inheritance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/05-Inheritance/inheritance.cpp -------------------------------------------------------------------------------- /05-Inheritance/inheritance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/05-Inheritance/inheritance.py -------------------------------------------------------------------------------- /06-VirtualFunctionsInPython/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/06-VirtualFunctionsInPython/CMakeLists.txt -------------------------------------------------------------------------------- /06-VirtualFunctionsInPython/virtual.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/06-VirtualFunctionsInPython/virtual.cpp -------------------------------------------------------------------------------- /06-VirtualFunctionsInPython/virtual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/06-VirtualFunctionsInPython/virtual.py -------------------------------------------------------------------------------- /07-Operators/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/07-Operators/CMakeLists.txt -------------------------------------------------------------------------------- /07-Operators/operators.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/07-Operators/operators.cpp -------------------------------------------------------------------------------- /07-Operators/operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/07-Operators/operators.py -------------------------------------------------------------------------------- /08-CallPolicies/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/08-CallPolicies/CMakeLists.txt -------------------------------------------------------------------------------- /08-CallPolicies/policies.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/08-CallPolicies/policies.cpp -------------------------------------------------------------------------------- /08-CallPolicies/policies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/08-CallPolicies/policies.py -------------------------------------------------------------------------------- /09-Overloading/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/09-Overloading/CMakeLists.txt -------------------------------------------------------------------------------- /09-Overloading/overload.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/09-Overloading/overload.cpp -------------------------------------------------------------------------------- /09-Overloading/overload.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/09-Overloading/overload.py -------------------------------------------------------------------------------- /10-Embedding/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/10-Embedding/CMakeLists.txt -------------------------------------------------------------------------------- /10-Embedding/embedding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/10-Embedding/embedding.cpp -------------------------------------------------------------------------------- /10-Embedding/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/10-Embedding/embedding.py -------------------------------------------------------------------------------- /10-Embedding/mymodule.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/10-Embedding/mymodule.cpp -------------------------------------------------------------------------------- /10-Embedding/mymodule.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/10-Embedding/mymodule.hpp -------------------------------------------------------------------------------- /11-Iterators/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/11-Iterators/CMakeLists.txt -------------------------------------------------------------------------------- /11-Iterators/iterators.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/11-Iterators/iterators.cpp -------------------------------------------------------------------------------- /11-Iterators/iterators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/11-Iterators/iterators.py -------------------------------------------------------------------------------- /12-Exceptions/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/12-Exceptions/CMakeLists.txt -------------------------------------------------------------------------------- /12-Exceptions/myexceptions.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/12-Exceptions/myexceptions.cpp -------------------------------------------------------------------------------- /12-Exceptions/myexceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/12-Exceptions/myexceptions.py -------------------------------------------------------------------------------- /13-AutoInstantiation/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/13-AutoInstantiation/CMakeLists.txt -------------------------------------------------------------------------------- /13-AutoInstantiation/auto_instance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/13-AutoInstantiation/auto_instance.cpp -------------------------------------------------------------------------------- /13-AutoInstantiation/auto_instance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/13-AutoInstantiation/auto_instance.py -------------------------------------------------------------------------------- /13-AutoInstantiation/myextension.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/13-AutoInstantiation/myextension.cpp -------------------------------------------------------------------------------- /13-AutoInstantiation/myextension.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/13-AutoInstantiation/myextension.hpp -------------------------------------------------------------------------------- /Brewfile: -------------------------------------------------------------------------------- 1 | brew 'boost-python' 2 | 3 | 4 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/COPYING -------------------------------------------------------------------------------- /DCO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/DCO.md -------------------------------------------------------------------------------- /Dockerfile.ubuntu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/Dockerfile.ubuntu -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TNG/boost-python-examples/HEAD/README.md --------------------------------------------------------------------------------