/[escript]/trunk/escript/src/DataBlocks2D.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataBlocks2D.cpp

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

revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1796 by jfenwick, Wed Sep 17 01:45:46 2008 UTC
# Line 86  DataBlocks2D::operator=(const DataBlocks Line 86  DataBlocks2D::operator=(const DataBlocks
86      Swap(temp);      Swap(temp);
87      return *this;      return *this;
88  }  }
   
 int  
 DataBlocks2D::archiveData(ofstream& archiveFile,  
                           const ValueType::size_type noValues) const  
 {  
     EsysAssert(((m_numRows >= 0) && (m_numCols >= 0) && (m_blockSize >= 0)), "(DataBlocks2D) Invalid object.");  
     return (m_data.archiveData(archiveFile, noValues));  
 }  
   
 int  
 DataBlocks2D::extractData(ifstream& archiveFile,  
                           const ValueType::size_type noValues)  
 {  
     EsysAssert(((m_numRows >= 0) && (m_numCols >= 0) && (m_blockSize >= 0)), "(DataBlocks2D) Invalid object.");  
     return (m_data.extractData(archiveFile, noValues));  
 }  
89    
90  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.1388  
changed lines
  Added in v.1796

  ViewVC Help
Powered by ViewVC 1.1.26