eet-cxx: add implementation for eet C++.
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Tue, 1 Apr 2014 10:08:07 +0000 (19:08 +0900)
committerCedric BAIL <cedric.bail@free.fr>
Tue, 1 Apr 2014 13:00:13 +0000 (22:00 +0900)
commitab3eb4b2d350d017eab6683202663244e11aa518
tree076e50c43b9f9784bd707ef974e753a21def1123
parentb218c13fb798edaccb7bc8cfdf9ac3905e2d86a7
eet-cxx: add implementation for eet C++.

Usage example:

  struct type
  {
    int foo;
    float bar;
  };

  type t0;

  auto descriptor = make_descriptor("type", &type::ofo, &type::bar);

  eet_data_write(file, descriptor.native_handle(), "type", &t0, false);

  std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
  type t = read(file, "type", descriptor);

@feature

Reviewers: cedric, smohanty

Reviewed By: cedric

CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
15 files changed:
configure.ac
pc/.gitignore
pc/eet-cxx.pc.in [new file with mode: 0644]
src/Makefile.am
src/Makefile_Eet_Cxx.am [new file with mode: 0644]
src/bindings/eet_cxx/Eet.hh [new file with mode: 0644]
src/bindings/eet_cxx/eet_composite.hh [new file with mode: 0644]
src/bindings/eet_cxx/eet_fold.hh [new file with mode: 0644]
src/bindings/eet_cxx/eet_register.hh [new file with mode: 0644]
src/bindings/eet_cxx/eet_tuple.hh [new file with mode: 0644]
src/bindings/eet_cxx/eet_type.hh [new file with mode: 0644]
src/lib/eet/Eet.h
src/lib/eet/eet_data.c
src/tests/eet_cxx/eet_cxx_suite.cc [new file with mode: 0644]
src/tests/eet_cxx/eet_cxx_test_descriptors.cc [new file with mode: 0644]