/[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 509 by jgs, Fri Feb 10 03:24:44 2006 UTC revision 535 by jgs, Fri Feb 17 02:27:06 2006 UTC
# Line 97  class DataTagged : public DataAbstract { Line 97  class DataTagged : public DataAbstract {
97       \param shape - Input - The shape of each data-point.       \param shape - Input - The shape of each data-point.
98       \param tags - Input - An array of tags, one for each sample number.       \param tags - Input - An array of tags, one for each sample number.
99       \param data - The data values for each tag.       \param data - The data values for each tag.
100        NB: no unit testing yet
101    */    */
102    DataTagged(const FunctionSpace& what,    DataTagged(const FunctionSpace& what,
103               const DataArrayView::ShapeType &shape,               const DataArrayView::ShapeType &shape,
# Line 105  class DataTagged : public DataAbstract { Line 106  class DataTagged : public DataAbstract {
106    
107    /**    /**
108       \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  
109       Copy Constructor for DataTagged.       Copy Constructor for DataTagged.
110       Performs a deep copy from the given DataTagged object.       Performs a deep copy from the given DataTagged object.
111      T      T
# Line 342  class DataTagged : public DataAbstract { Line 330  class DataTagged : public DataAbstract {
330       getSlice       getSlice
331    
332       Description:       Description:
333       Factory method that returns a newly created DataTagged object.       Factory method that returns a newly created DataTagged object generated
334       The caller is reponsible for managing the object created.       by taking the specified slice from this DataTagged object.
335         The caller is reponsible for managing the returned object.
336        T
337    */    */
338    virtual    virtual
339    DataAbstract*    DataAbstract*
# Line 351  class DataTagged : public DataAbstract { Line 341  class DataTagged : public DataAbstract {
341    
342    /**    /**
343       \brief       \brief
344         Slice Constructor for DataTagged.
345    
346         Description:
347         Creates a DataTagged object which is the specified slice
348         from the given DataTagged object.
349         \param other - Input - DataTagged object to slice from.
350         \param region - Input - Region to slice.
351        T
352      */
353      DataTagged(const DataTagged& other,
354             const DataArrayView::RegionType& region);
355    
356      /**
357         \brief
358       setSlice       setSlice
359    
360       Description:       Description:
361       Copy the specified region from the given value into this object.       Copy the given Data object into the specified region in this object.
362       \param value - Input - Data to copy from.       \param other - Input - Data object to copy from.
363       \param region - Input - Region to copy.       \param region - Input - Region to copy into (NB: must have same shape as other!).
364        T
365    */    */
366    virtual    virtual
367    void    void
368    setSlice(const DataAbstract* value,    setSlice(const DataAbstract* other,
369             const DataArrayView::RegionType& region);             const DataArrayView::RegionType& region);
370    
371    /**    /**

Legend:
Removed from v.509  
changed lines
  Added in v.535

  ViewVC Help
Powered by ViewVC 1.1.26