Logo
latest
  • Quick Start
  • User Documentation
    • Conduit
      • C++ Tutorial
        • Basic Concepts
        • Accessing Numeric Data
        • Reading YAML and JSON Strings
        • Generators
        • Data Ownership
        • Node Update Methods
        • String Formatting Helpers
        • Error Handling
      • Python Tutorial
    • Relay
    • Blueprint
    • Building
    • Glossary
  • Developer Documentation
  • Releases
  • Presentations
  • License Info
Conduit
  • Docs »
  • User Documentation »
  • Conduit »
  • C++ Tutorial
  • Edit on GitHub

C++ Tutorial¶

This short tutorial provides C++ examples that demonstrate the Conduit’s Core API. Conduit’s unit tests (src/tests/{library_name}/) also provide a rich set of examples for Conduit’s Core API and additional libraries. Ascent’s Tutorial also provides a brief intro to Conduit basics with C++ and Python examples.

  • Basic Concepts
    • Node basics
    • Bitwidth Style Types
    • Compatible Schemas
    • Node References
    • const Nodes
  • Accessing Numeric Data
    • Accessing Scalars and Arrays
    • C++11 Initializer Lists
    • Using Introspection and Conversion
  • Reading YAML and JSON Strings
    • Parsing text with Node::parse()
  • Generators
    • Using Generator instances
    • Compacting Nodes
  • Data Ownership
    • set vs set_external
  • Node Update Methods
  • String Formatting Helpers
    • fmt
    • conduit::utils::format
      • conduit::utils::format(string, args)
      • conduit::utils::format(string, maps, map_index)
  • Error Handling
    • Default Error Handlers
    • Using Custom Error Handlers
    • Using Restoring Default Handlers
Next Previous

© Copyright Copyright (c) 2015-2020, LLNS Revision 00961766.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
v0.7.1
v0.7.0
v0.6.0
v0.5.1
v0.5.0
v0.4.0
v0.3.1
v0.3.0
v0.2.1
v0.2.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.