C++ bindings for libyang

Clone this repo:

Branches

Tags

  1. b852ea3 fix decimal64 within a union by Jan Kundrát · 9 days ago master
  2. 7d43ab1 Check if node with default value was created implicitly by Tomáš Pecka · 3 weeks ago
  3. 66270e8 tests: check DataNodeTerm::hasDefaultValue after explicit node instantiation by Tomáš Pecka · 3 weeks ago
  4. afe99ba Rename DataNodeTerm::isDefaultValue to hasDefaultValue by Tomáš Pecka · 3 weeks ago
  5. d743e07 Wrap lysc_is_userordered by Tomáš Pecka · 4 weeks ago

C++ bindings for libyang

License Gerrit Zuul CI

libyang-cpp implements object-oriented bindings of the libyang library in modern C++. Object lifetimes are managed automatically via RAII.

Dependencies

Building

libyang-cpp uses CMake for building. One way of building libyang-cpp looks like this:

mkdir build
cd build
cmake ..
make
make install

Usage

Check the test suite in tests/ for usage examples.

Contributing

The development is being done on Gerrit here. Instructions on how to submit patches can be found here. GitHub Pull Requests are not used.