blob: 4a60e01d2820e5a1b0d13c5996386b7f5f8f130c [file] [log] [blame]
//
// serializable.hpp
//
// Author: Lutz Bichler
//
// This file is part of the BMW Some/IP implementation.
//
// Copyright © 2013, 2014 Bayerische Motoren Werke AG (BMW).
// All rights reserved.
//
#ifndef VSOMEIP_SERIALIZABLE_HPP
#define VSOMEIP_SERIALIZABLE_HPP
namespace vsomeip {
class serializer;
class deserializer;
class serializable {
public:
virtual bool serialize(serializer *_to) const = 0;
virtual bool deserialize(deserializer *_from) = 0;
protected:
virtual ~serializable() {};
};
} // namespace vsomeip
#endif // VSOMEIP_SERIALIZABLE_HPP