MEPP2 Project
MeshWriterInterface.h
Go to the documentation of this file.
1 // Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2 // All rights reserved.
3 //
4 // This file is part of MEPP2; you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as
6 // published by the Free Software Foundation; either version 3 of
7 // the License, or (at your option) any later version.
8 //
9 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11 #pragma once
12 
13 #include <string>
14 #include <boost/shared_ptr.hpp>
15 #include <boost/filesystem.hpp>
16 
17 namespace FEVV {
18 namespace DataStructures {
19 
20 template< typename TMeshInput >
22 {
23 public:
24  // Basic type definitions.
25  typedef TMeshInput input_type;
26  typedef boost::shared_ptr< input_type > ptr_input;
28 
29  virtual void write(const ptr_input, const std::string &) = 0;
30 };
31 
32 } // namespace DataStructures
33 } // namespace FEVV
34 
FEVV::DataStructures::MeshWriterInterface::ptr_input
boost::shared_ptr< input_type > ptr_input
Definition: MeshWriterInterface.h:26
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
FEVV::DataStructures::MeshWriterInterface::write
virtual void write(const ptr_input, const std::string &)=0
FEVV::DataStructures::MeshWriterInterface::input_type
TMeshInput input_type
Definition: MeshWriterInterface.h:25
FEVV::DataStructures::MeshWriterInterface
Definition: MeshWriterInterface.h:22