#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include #include #include #include #include struct MEDCORELEGACY_EXPORT medDataReaderWriter { typedef dtkSmartPointer Reader; typedef dtkSmartPointer Writer; static Reader reader(const QString& path); static Writer writer(const QString& path,const medAbstractData* data); static medAbstractData *read(const QString& path); static bool write(const QString& path,medAbstractData* data); };