/[escript]/trunk/escript/src/Data/DataBlocks2D.h
ViewVC logotype

Diff of /trunk/escript/src/Data/DataBlocks2D.h

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

revision 119 by jgs, Tue Apr 12 04:45:05 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 195  class DataBlocks2D { Line 195  class DataBlocks2D {
195    ValueType&    ValueType&
196    getData() const;    getData() const;
197    
198      /**
199        \brief
200        Archive the data managed by this DataBlocks2D to the file referenced
201        by ofstream. A count of the number of values expected to be written
202        is provided as a cross-check.
203    
204        The return value indicates success (0) or otherwise (1).
205      */
206      int
207      archiveData(std::ofstream& archiveFile,
208                  const ValueType::size_type noValues) const;
209    
210      /**
211        \brief
212        Extract the number of values specified by noValues from the file
213        referenced by ifstream to this DataBlocks2D.
214    
215        The return value indicates success (0) or otherwise (1).
216      */
217      int
218      extractData(std::ifstream& archiveFile,
219                  const ValueType::size_type noValues);
220    
221   protected:   protected:
222    
223   private:   private:

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

  ViewVC Help
Powered by ViewVC 1.1.26