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

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

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

revision 122 by jgs, Fri May 6 04:26:16 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 160  class DataVector { Line 160  class DataVector {
160    const_reference    const_reference
161    operator[](const size_type i) const;    operator[](const size_type i) const;
162    
163      /**
164        \brief
165        Archive the data managed by this DataVector to the file referenced
166        by ofstream. A count of the number of values expected to be written
167        is provided as a cross-check.
168    
169        The return value indicates success (0) or otherwise (1).
170      */
171      int
172      archiveData(std::ofstream& archiveFile,
173                  const size_type noValues) const;
174    
175      /**
176        \brief
177        Extract the number of values specified by noValues from the file
178        referenced by ifstream to this DataVector.
179    
180        The return value indicates success (0) or otherwise (1).
181      */
182      int
183      extractData(std::ifstream& archiveFile,
184                  const size_type noValues);
185    
186   protected:   protected:
187    
188   private:   private:

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

  ViewVC Help
Powered by ViewVC 1.1.26