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

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

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

revision 1746 by jfenwick, Mon Aug 11 06:29:54 2008 UTC revision 1747 by jfenwick, Wed Sep 3 04:56:50 2008 UTC
# Line 75  class DataEmpty : public DataAbstract { Line 75  class DataEmpty : public DataAbstract {
75    getPointOffset(int sampleNo,    getPointOffset(int sampleNo,
76                   int dataPointNo) const;                   int dataPointNo) const;
77    
78    /**  //  /**
79       \brief  /*     \brief
80       Return a view into the data for the data point specified.       Return a view into the data for the data point specified.
81       NB: This will throw an exception as obviously an empty Data object contains no       NB: This will throw an exception as obviously an empty Data object contains no
82       data points. An implementation is required by parent DataAbstract class.       data points. An implementation is required by parent DataAbstract class.
83       \param sampleNo - Input - Sample number.       \param sampleNo - Input - Sample number.
84       \param dataPointNo - Input - data-point number.       \param dataPointNo - Input - data-point number.*/
85    */  //  */
86    ESCRIPT_DLL_API  //   ESCRIPT_DLL_API
87    virtual  //   virtual
88    DataArrayView  //   DataArrayView
89    getDataPoint(int sampleNo,  //   getDataPoint(int sampleNo,
90                 int dataPointNo);  //                int dataPointNo);
91    
92    /**    /**
93       \brief       \brief
# Line 128  class DataEmpty : public DataAbstract { Line 128  class DataEmpty : public DataAbstract {
128    
129   protected:   protected:
130    
131     /**
132        \brief Provide access to underlying storage. Internal use only!
133      */
134      ESCRIPT_DLL_API
135      virtual DataTypes::ValueType&
136      getVector();
137    
138      ESCRIPT_DLL_API
139      virtual const DataTypes::ValueType&
140      getVector() const;
141    
142   private:   private:
143    
144    /**    /**

Legend:
Removed from v.1746  
changed lines
  Added in v.1747

  ViewVC Help
Powered by ViewVC 1.1.26