/[escript]/trunk/dataexporter/src/escriptexport.h
ViewVC logotype

Diff of /trunk/dataexporter/src/escriptexport.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/tools/libescriptreader/src/escriptreader/common.h revision 2806 by jfenwick, Mon Jul 20 06:20:06 2009 UTC trunk/dataexporter/src/escriptexport.h revision 2810 by caltinay, Mon Dec 7 04:13:49 2009 UTC
# Line 11  Line 11 
11  *  *
12  *******************************************************/  *******************************************************/
13    
14  //  #ifndef __ESCRIPTEXPORT_H__
15  // common.h  #define __ESCRIPTEXPORT_H__
 //  
 #ifndef __ESCRIPTREADER_COMMON_H__  
 #define __ESCRIPTREADER_COMMON_H__  
16    
17  #include <string>  #include <string>
18  #include <vector>  #include <vector>
19  #include <map>  #include <map>
20    #include <boost/shared_ptr.hpp>
21    
22  namespace EscriptReader {  #ifdef PASO_MPI
23    #define HAVE_MPI 1
24    #endif
25    
26    #if HAVE_MPI
27    #include <mpi.h>
28    #endif
29    
30    #define ESCRIPTEXPORT_DLL_API
31    
32    #ifdef _WIN32
33    #   ifndef ESCRIPTEXPORT_STATIC_LIB
34    #       undef ESCRIPTEXPORT_DLL_API
35    #       ifdef ESCRIPTEXPORT_EXPORTS
36    #           define ESCRIPTEXPORT_DLL_API __declspec(dllexport)
37    #       else
38    #           define ESCRIPTEXPORT_DLL_API __declspec(dllimport)
39    #       endif
40    #   endif
41    #endif
42    
43    namespace escriptexport {
44    
45    class DataVar;
46    class ElementData;
47    class EscriptDataset;
48    class FinleyMesh;
49    class NodeData;
50    
51  typedef std::vector<std::string> StringVec;  typedef std::vector<std::string> StringVec;
52  typedef std::vector<float> FloatVec;  typedef std::vector<float> FloatVec;
# Line 29  typedef std::vector<int> IntVec; Line 54  typedef std::vector<int> IntVec;
54  typedef std::vector<float*> CoordArray;  typedef std::vector<float*> CoordArray;
55  typedef std::map<int, size_t> IndexMap;  typedef std::map<int, size_t> IndexMap;
56    
57  } // namespace EscriptReader  typedef boost::shared_ptr<DataVar> DataVar_ptr;
58    typedef boost::shared_ptr<ElementData> ElementData_ptr;
59    typedef boost::shared_ptr<FinleyMesh> FinleyMesh_ptr;
60    typedef boost::shared_ptr<NodeData> NodeData_ptr;
61    typedef boost::shared_ptr<EscriptDataset> EscriptDataset_ptr;
62    
63  #endif // __ESCRIPTREADER_COMMON_H__  } // namespace escriptexport
64    
65    #endif // __ESCRIPTEXPORT_H__
66    

Legend:
Removed from v.2806  
changed lines
  Added in v.2810

  ViewVC Help
Powered by ViewVC 1.1.26