/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataTypes.h
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/DataTypes.h

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

revision 1697 by jfenwick, Mon Aug 11 06:29:54 2008 UTC revision 1698 by jfenwick, Tue Aug 12 01:13:16 2008 UTC
# Line 30  namespace escript { Line 30  namespace escript {
30    typedef std::vector<std::pair<int, int> > RegionLoopRangeType;    typedef std::vector<std::pair<int, int> > RegionLoopRangeType;
31    static const int maxRank=4;    static const int maxRank=4;
32    
33    // This file contains static functions moved from DataArrayView
34      /**
35         \brief
36         Calculate the number of values for the given shape.
37      */
38      ESCRIPT_DLL_API
39      int
40      noValues(const DataTypes::ShapeType& shape);
41    
42      /**
43         \brief
44         Calculate the number of values for the given region.
45      */
46      ESCRIPT_DLL_API
47      int
48      noValues(const DataTypes::RegionLoopRangeType& region);
49    
50      /**
51         \brief
52         Return the given shape as a string.
53    
54         \param shape - Input.
55      */
56      ESCRIPT_DLL_API
57      std::string
58      shapeToString(const DataTypes::ShapeType& shape);
59    
60    
61    
62   }   // End DataTypes   }   // End DataTypes
63    
64    

Legend:
Removed from v.1697  
changed lines
  Added in v.1698

  ViewVC Help
Powered by ViewVC 1.1.26