/[escript]/trunk/escript/src/DataExpanded.h
ViewVC logotype

Diff of /trunk/escript/src/DataExpanded.h

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

revision 117 by jgs, Fri Apr 1 05:48:57 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 94  class DataExpanded : public DataAbstract Line 94  class DataExpanded : public DataAbstract
94    
95    /**    /**
96       \brief       \brief
97         Alternative constructor for DataExpanded objects.
98    
99         Description:
100         Alternative Constructor for DataExpanded objects.
101         \param what - Input - A description of what this data object represents.
102         \param shape - Input - the shape of each data-point.
103         \param data - the array of data values for the data-points.
104      */
105      DataExpanded(const FunctionSpace& what,
106                   const DataArrayView::ShapeType &shape,
107                   const DataArrayView::ValueType &data);
108    
109      /**
110         \brief
111       Copy constructor for DataExpanded.       Copy constructor for DataExpanded.
112       Performs a deep copy from another DataExpanded.       Performs a deep copy from another DataExpanded.
113    */    */
# Line 246  class DataExpanded : public DataAbstract Line 260  class DataExpanded : public DataAbstract
260    getRefValue(int ref,    getRefValue(int ref,
261                DataArray& value);                DataArray& value);
262    
263      /**
264        \brief
265        Archive the underlying data values to the file referenced
266        by ofstream. A count of the number of values expected to be written
267        is provided as a cross-check.
268    
269        The return value indicates success (0) or otherwise (1).
270      */
271      int
272      archiveData(std::ofstream& archiveFile,
273                  const DataArrayView::ValueType::size_type noValues) const;
274    
275      /**
276        \brief
277        Extract the number of values specified by noValues from the file
278        referenced by ifstream to the underlying data structure.
279    
280        The return value indicates success (0) or otherwise (1).
281      */
282      int
283      extractData(std::ifstream& archiveFile,
284                  const DataArrayView::ValueType::size_type noValues);
285    
286   protected:   protected:
287    
288   private:   private:

Legend:
Removed from v.117  
changed lines
  Added in v.123

  ViewVC Help
Powered by ViewVC 1.1.26