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

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

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

revision 121 by jgs, Fri May 6 04:26:16 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 22  Line 22 
22  #include "escript/Data/FunctionSpace.h"  #include "escript/Data/FunctionSpace.h"
23    
24  #include <iostream>  #include <iostream>
25    #include <fstream>
26  #include <boost/scoped_ptr.hpp>  #include <boost/scoped_ptr.hpp>
27  #include <functional>  #include <functional>
28  #include <string>  #include <string>
# Line 269  class DataAbstract { Line 270  class DataAbstract {
270    setTaggedValue(int tagKey,    setTaggedValue(int tagKey,
271                   const DataArrayView& value);                   const DataArrayView& value);
272    
273      /**
274        \brief
275        Archive the underlying data values to the file referenced
276        by ofstream. A count of the number of values expected to be written
277        is provided as a cross-check.
278    
279        The return value indicates success (0) or otherwise (1).
280      */
281      virtual
282      int
283      archiveData(std::ofstream& archiveFile,
284                  const ValueType::size_type noValues) const;
285    
286      /**
287        \brief
288        Extract the number of values specified by noValues from the file
289        referenced by ifstream to the underlying data structure.
290    
291        The return value indicates success (0) or otherwise (1).
292      */
293      virtual
294      int
295      extractData(std::ifstream& archiveFile,
296                  const ValueType::size_type noValues);
297    
298   protected:   protected:
299    
300    /**    /**

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

  ViewVC Help
Powered by ViewVC 1.1.26