/[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

temp/escript/src/DataBlocks2D.cpp revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC trunk/escript/src/DataBlocks2D.cpp revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2008 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  #include "DataBlocks2D.h"  #include "DataBlocks2D.h"
16    
# Line 86  DataBlocks2D::operator=(const DataBlocks Line 85  DataBlocks2D::operator=(const DataBlocks
85      Swap(temp);      Swap(temp);
86      return *this;      return *this;
87  }  }
   
 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));  
 }  
88    
89  }  // end of namespace  }  // end of namespace

Legend:
Removed from v.1387  
changed lines
  Added in v.1811

  ViewVC Help
Powered by ViewVC 1.1.26