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

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

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

revision 1696 by jfenwick, Mon Aug 11 03:33:40 2008 UTC revision 1697 by jfenwick, Mon Aug 11 06:29:54 2008 UTC
# Line 82  class DataConstant : public DataAbstract Line 82  class DataConstant : public DataAbstract
82    */    */
83    ESCRIPT_DLL_API    ESCRIPT_DLL_API
84    DataConstant(const DataConstant& other,    DataConstant(const DataConstant& other,
85                 const DataArrayView::RegionType& region);                 const DataTypes::RegionType& region);
86    
87    /**    /**
88       \brief       \brief
# Line 96  class DataConstant : public DataAbstract Line 96  class DataConstant : public DataAbstract
96    */    */
97    ESCRIPT_DLL_API    ESCRIPT_DLL_API
98    DataConstant(const FunctionSpace& what,    DataConstant(const FunctionSpace& what,
99                 const DataArrayView::ShapeType &shape,                 const DataTypes::ShapeType &shape,
100                 const DataArrayView::ValueType &data);                 const DataTypes::ValueType &data);
101    
102    /**    /**
103       \brief       \brief
# Line 135  class DataConstant : public DataAbstract Line 135  class DataConstant : public DataAbstract
135     */     */
136    ESCRIPT_DLL_API    ESCRIPT_DLL_API
137    virtual    virtual
138    DataArrayView::ValueType::size_type    DataTypes::ValueType::size_type
139    getPointOffset(int sampleNo,    getPointOffset(int sampleNo,
140                   int dataPointNo) const;                   int dataPointNo) const;
141    
# Line 157  class DataConstant : public DataAbstract Line 157  class DataConstant : public DataAbstract
157    */    */
158    ESCRIPT_DLL_API    ESCRIPT_DLL_API
159    virtual    virtual
160    DataArrayView::ValueType::size_type    DataTypes::ValueType::size_type
161    getLength() const;    getLength() const;
162    
163    /**    /**
# Line 170  class DataConstant : public DataAbstract Line 170  class DataConstant : public DataAbstract
170    ESCRIPT_DLL_API    ESCRIPT_DLL_API
171    virtual    virtual
172    DataAbstract*    DataAbstract*
173    getSlice(const DataArrayView::RegionType& region) const;    getSlice(const DataTypes::RegionType& region) const;
174    
175    /**    /**
176       \brief       \brief
# Line 182  class DataConstant : public DataAbstract Line 182  class DataConstant : public DataAbstract
182    virtual    virtual
183    void    void
184    setSlice(const DataAbstract* value,    setSlice(const DataAbstract* value,
185             const DataArrayView::RegionType& region);             const DataTypes::RegionType& region);
186    
187    /**    /**
188      \brief      \brief
# Line 195  class DataConstant : public DataAbstract Line 195  class DataConstant : public DataAbstract
195    ESCRIPT_DLL_API    ESCRIPT_DLL_API
196    int    int
197    archiveData(std::ofstream& archiveFile,    archiveData(std::ofstream& archiveFile,
198                const DataArrayView::ValueType::size_type noValues) const;                const DataTypes::ValueType::size_type noValues) const;
199    
200    /**    /**
201      \brief      \brief
# Line 207  class DataConstant : public DataAbstract Line 207  class DataConstant : public DataAbstract
207    ESCRIPT_DLL_API    ESCRIPT_DLL_API
208    int    int
209    extractData(std::ifstream& archiveFile,    extractData(std::ifstream& archiveFile,
210                const DataArrayView::ValueType::size_type noValues);                const DataTypes::ValueType::size_type noValues);
211    
212    /**    /**
213       \brief       \brief
# Line 297  class DataConstant : public DataAbstract Line 297  class DataConstant : public DataAbstract
297   private:   private:
298    //    //
299    // the actual data    // the actual data
300    DataArrayView::ValueType m_data;    DataTypes::ValueType m_data;
301    
302  };  };
303    

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

  ViewVC Help
Powered by ViewVC 1.1.26