/[escript]/trunk/escript/src/DataTagged.h
ViewVC logotype

Diff of /trunk/escript/src/DataTagged.h

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

revision 512 by jgs, Fri Feb 10 03:24:44 2006 UTC revision 513 by jgs, Mon Feb 13 04:46:51 2006 UTC
# Line 105  class DataTagged : public DataAbstract { Line 105  class DataTagged : public DataAbstract {
105    
106    /**    /**
107       \brief       \brief
      Slice Constructor for DataTagged.  
   
      Description:  
      Slice Constructor for DataTagged.  
      Copies a slice from another DataTagged object.  
      \param other - Input - DataTagged object to copy from.  
      \param region - Input - Region to copy.  
   */  
   DataTagged(const DataTagged& other,  
          const DataArrayView::RegionType& region);  
   
   /**  
      \brief  
108       Copy Constructor for DataTagged.       Copy Constructor for DataTagged.
109       Performs a deep copy from the given DataTagged object.       Performs a deep copy from the given DataTagged object.
110      T      T
# Line 342  class DataTagged : public DataAbstract { Line 329  class DataTagged : public DataAbstract {
329       getSlice       getSlice
330    
331       Description:       Description:
332       Factory method that returns a newly created DataTagged object.       Factory method that returns a newly created DataTagged object generated
333       The caller is reponsible for managing the object created.       by taking the specified slice from this DataTagged object.
334         The caller is reponsible for managing the returned object.
335    */    */
336    virtual    virtual
337    DataAbstract*    DataAbstract*
# Line 351  class DataTagged : public DataAbstract { Line 339  class DataTagged : public DataAbstract {
339    
340    /**    /**
341       \brief       \brief
342       setSlice       Slice Constructor for DataTagged.
343    
344       Description:       Description:
345       Copy the specified region from the given value into this object.       Slice Constructor for DataTagged.
346       \param value - Input - Data to copy from.       Creates a DataTagged object which is the specified slice
347         from another DataTagged object.
348         \param other - Input - DataTagged object to copy from.
349       \param region - Input - Region to copy.       \param region - Input - Region to copy.
350    */    */
351      DataTagged(const DataTagged& other,
352             const DataArrayView::RegionType& region);
353    
354      /**
355         \brief
356         setSlice
357    
358         Description:
359         Copy the specified region from the given Data object into this object.
360         \param other - Input - Data object to copy from.
361         \param region - Input - Region to copy (NB: must have same shape as this!).
362      */
363    virtual    virtual
364    void    void
365    setSlice(const DataAbstract* value,    setSlice(const DataAbstract* other,
366             const DataArrayView::RegionType& region);             const DataArrayView::RegionType& region);
367    
368    /**    /**

Legend:
Removed from v.512  
changed lines
  Added in v.513

  ViewVC Help
Powered by ViewVC 1.1.26