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

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

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

trunk/escript/src/Data/DataEmpty.cpp revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC trunk/escript/src/DataEmpty.cpp revision 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC
# Line 1  Line 1 
 //$Id$  
1    
2  /*  /* $Id$ */
  ******************************************************************************  
  *                                                                            *  
  *       COPYRIGHT  ACcESS 2004 -  All Rights Reserved                        *  
  *                                                                            *  
  * This software is the property of ACcESS. No part of this code              *  
  * may be copied in any form or by any means without the expressed written    *  
  * consent of ACcESS.  Copying, use or modification of this software          *  
  * by any unauthorised person is illegal unless that person has a software    *  
  * license agreement with ACcESS.                                             *  
  *                                                                            *  
  ******************************************************************************  
 */  
3    
4  #include "escript/Data/DataEmpty.h"  /*******************************************************
5  #include "escript/Data/DataException.h"   *
6     *           Copyright 2003-2007 by ACceSS MNRF
7     *       Copyright 2007 by University of Queensland
8     *
9     *                http://esscc.uq.edu.au
10     *        Primary Business: Queensland, Australia
11     *  Licensed under the Open Software License version 3.0
12     *     http://www.opensource.org/licenses/osl-3.0.php
13     *
14     *******************************************************/
15    
16    #include "DataEmpty.h"
17    #include "DataException.h"
18    
19  namespace escript {  namespace escript {
20    
# Line 72  DataEmpty::setSlice(const DataAbstract* Line 71  DataEmpty::setSlice(const DataAbstract*
71  }  }
72    
73  void  void
 DataEmpty::reshapeDataPoint(const DataArrayView::ShapeType& shape)  
 {  
   throwStandardException("reshapeDataPoint");  
 }  
   
 void  
74  DataEmpty::throwStandardException(const std::string& functionName) const  DataEmpty::throwStandardException(const std::string& functionName) const
75  {  {
76    throw DataException("Error - "+functionName+" function call invalid for DataEmpty.");    throw DataException("Error - "+functionName+" function call invalid for DataEmpty.");

Legend:
Removed from v.155  
changed lines
  Added in v.1312

  ViewVC Help
Powered by ViewVC 1.1.26