/[escript]/branches/more_shared_ptrs_from_1812/escript/src/DataAbstract.h
ViewVC logotype

Diff of /branches/more_shared_ptrs_from_1812/escript/src/DataAbstract.h

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

revision 1827 by jfenwick, Fri Sep 26 00:58:05 2008 UTC revision 1828 by jfenwick, Thu Oct 2 04:52:11 2008 UTC
# Line 27  Line 27 
27  #include <string>  #include <string>
28  #include <fstream>  #include <fstream>
29    
30    #include "Pointers.h"
31    
32  namespace escript {  namespace escript {
33    
34  /**  /**
# Line 43  namespace escript { Line 45  namespace escript {
45     doubles of rank 0-4.     doubles of rank 0-4.
46  */  */
47    
48  class DataAbstract {  class DataAbstract;
49    
50    typedef POINTER_WRAPPER_CLASS(DataAbstract) DataAbstract_ptr;
51    typedef POINTER_WRAPPER_CLASS(const DataAbstract) const_DataAbstract_ptr;
52    
53    
54    class DataAbstract : public REFCOUNT_BASE_CLASS(DataAbstract)
55    {
56    
57   public:   public:
58    
59    typedef DataTypes::ValueType ValueType;    typedef DataTypes::ValueType ValueType;
60    typedef DataTypes::ShapeType ShapeType;    typedef DataTypes::ShapeType ShapeType;
61    
62    
63       DataAbstract_ptr getPtr();
64       const_DataAbstract_ptr getPtr() const;
65    
66    /**    /**
67       \brief       \brief
68       Constructor for DataAbstract.       Constructor for DataAbstract.
# Line 485  class DataAbstract { Line 498  class DataAbstract {
498    int m_noDataPointsPerSample;    int m_noDataPointsPerSample;
499    
500    //    //
   // The DataArrayView of the data array associated with this object.  
   // The data array is defined only in child classes of this class, it  
   // is not defined in this abstract parent class.  
 //  boost::scoped_ptr<DataArrayView> m_pointDataView;  
   
   //  
501    // A FunctionSpace which provides a description of the data associated    // A FunctionSpace which provides a description of the data associated
502    // with this Data object.    // with this Data object.
503    FunctionSpace m_functionSpace;    FunctionSpace m_functionSpace;

Legend:
Removed from v.1827  
changed lines
  Added in v.1828

  ViewVC Help
Powered by ViewVC 1.1.26