// -*- c++ -*-
// Base SWIG interface for Siconos IO
%module(package="siconos.io", directors="1", allprotected="1") io_base

%include start.i
// generated docstrings from doxygen xml output
%include io-docstrings.i
%{
#include <SiconosKernel.hpp>
%}
#ifdef WITH_SERIALIZATION
%{
 #include <SiconosRestart.hpp>
%}
#endif

%include handleException.i

%include sharedPointers.i

%include KernelTypes.i

%import kernel.i

#ifdef WITH_SERIALIZATION
%include "SiconosRestart.hpp"
#endif
#ifdef WITH_MECHANICS
%include <MechanicsIO.hpp>
%{
#include <MechanicsIO.hpp>
%}
#endif
