clair - Automatic Python/C++ bindings
0.3.0
  • Installation
    • Compiling from source
      • clair
      • c2py
        • CMake options
      • Set environment variables
  • Getting Started
    • C++ Code
    • Generate Python Bindings and Compile the Module
      • Use clair-c2py manually
        • Generate Python Bindings
        • Compile the Module
      • Use CMake integration [Recommended]
        • Generate Python Bindings and Compile the Module
        • CMake Configuration
        • General Workflow
    • Use the Python Module
    • What is a Clang tool?
  • Gallery
    • Functions
    • Classes
  • Reference documentation
    • Basic notions
      • Type conversion
        • Principle
        • Convertible types
      • Dynamical dispatch
    • Customization
      • Using annotations in the C++ sources
      • Using a TOML configuration file
        • Generating a template TOML file
        • TOML Configuration Options
        • Example
          • Filtering by namespace
          • Filtering by name
          • Filter by file name
          • Wrap no argument methods as properties
    • Functions
      • Default Behavior & Customization
      • Template Functions
      • Coroutines, generators
    • Classes
      • Default Behavior & Customization
        • Constructors
          • User-defined constructors
          • Synthesized aggregate constructor
        • Methods
          • Instance Methods
          • Const Methods
          • Static Methods
        • Operators
          • Operator()
          • Operator[]
          • Arithmetic Operators
          • Comparison Operators
        • Iterable Objects
        • String Representation
    • Enumerations
    • Across multiple modules
      • Example: Two communicating modules
        • Module A: Defining a class
        • Module B
        • CMake configuration
        • Usage in Python
    • Converters
      • Default converters
      • Custom converters for user-defined types
      • Set up for third party libraries
    • c2py
    • HDF5 (TRIQS/h5 Integration)
    • TRIQS/nda
  • Notebook integration
  • Reporting issues
  • Change Logs
  • About clair/c2py
clair - Automatic Python/C++ bindings
  • Gallery
  • View page source

Gallery

Examples

  • Functions
  • Classes
Previous Next

© Copyright 2024, The Simons Foundation, author: O. Parcollet.