clair - Automatic Python/C++ bindings
0.9.0
  • Installation
    • Compiling from source
      • clair
      • c2py
        • CMake options
      • Set environment variables
    • Packages
      • OS X (brew)
        • Uninstalling
  • 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
    • Class templates
  • 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
    • Environment Variables
      • CLAIR_VERBOSE
      • CLAIR_SKIP_CLANG_FORMAT
      • CLICOLOR_FORCE / LLVM_FORCE_COLOR
      • SDKROOT (macOS only)
  • Notebook integration
  • Reporting issues
  • Changelog
    • Version 0.9.0
      • General
      • operators
      • codegen
      • c2py
      • clu
      • doc
      • cmake
  • About clair/c2py
    • Authors
    • Source code
clair - Automatic Python/C++ bindings
  • Search


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