ESyS-Particle  4.0.1
MeshReaderImpl.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __MESHREADERIMPL_H
14 #define __MESHREADERIMPL_H
15 
16 // --- Project includes ---
17 #include "MeshReader.h"
18 
19 // --- STL includes ---
20 #include <string>
21 
22 using std::string;
23 
24 // --- IO includes ---
25 #include <iostream>
26 
27 using std::istream;
28 
29 namespace esys
30 {
31  namespace lsm
32  {
43  {
44  public:
45  // types
46  typedef std::auto_ptr<NodeReader> NodeReaderPtr;
47  typedef std::auto_ptr<TriReader> TriReaderPtr;
48  typedef std::auto_ptr<istream> IStreamPtr;
49 
50  // variables
51  NodeReaderPtr m_node_reader_ptr;
52  TriReaderPtr m_tri_reader_ptr;
53  IStreamPtr m_istream_ptr;
54  string m_file_name;
55 
56  // functions
57 
58  Impl(const string&);
59  void initialise();
60  };
61  };
62 };
63 #endif // __MESHREADERIMPL_H