/[escript]/branches/trilinos_from_5897/escriptcore/src/DataConstant.h
ViewVC logotype

Diff of /branches/trilinos_from_5897/escriptcore/src/DataConstant.h

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

revision 122 by jgs, Tue Apr 12 04:45:05 2005 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 165  class DataConstant : public DataAbstract Line 165  class DataConstant : public DataAbstract
165    void    void
166    reshapeDataPoint(const DataArrayView::ShapeType& shape);    reshapeDataPoint(const DataArrayView::ShapeType& shape);
167    
168      /**
169        \brief
170        Archive the underlying data values to the file referenced
171        by ofstream. A count of the number of values expected to be written
172        is provided as a cross-check.
173    
174        The return value indicates success (0) or otherwise (1).
175      */
176      int
177      archiveData(std::ofstream& archiveFile,
178                  const DataArrayView::ValueType::size_type noValues) const;
179    
180      /**
181        \brief
182        Extract the number of values specified by noValues from the file
183        referenced by ifstream to the underlying data structure.
184    
185        The return value indicates success (0) or otherwise (1).
186      */
187      int
188      extractData(std::ifstream& archiveFile,
189                  const DataArrayView::ValueType::size_type noValues);
190    
191   protected:   protected:
192    
193   private:   private:

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

  ViewVC Help
Powered by ViewVC 1.1.26