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

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

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

revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 1872 by jfenwick, Mon Oct 13 00:18:55 2008 UTC
# Line 23  Line 23 
23  #include <boost/python/list.hpp>  #include <boost/python/list.hpp>
24  #include "paso/Paso_MPI.h"  #include "paso/Paso_MPI.h"
25    
26    
27    #include "Pointers.h"
28    
29  namespace escript {  namespace escript {
30  // class forward declarations  // class forward declarations
31  class Data;  class Data;
# Line 34  class Data; Line 37  class Data;
37     Base class for all escript domains.     Base class for all escript domains.
38  */  */
39    
40  class AbstractDomain {  class AbstractDomain;
41    
42    typedef POINTER_WRAPPER_CLASS(AbstractDomain) Domain_ptr;
43    typedef POINTER_WRAPPER_CLASS(const AbstractDomain) const_Domain_ptr;
44    
45    class AbstractDomain : public REFCOUNT_BASE_CLASS(AbstractDomain){
46    
47   public:   public:
48    
49    /**
50    \brief Returns smart pointer which is managing this object.
51    If one does not exist yet it creates one.
52    
53    Note: This is _not_ equivalent to weak_ptr::lock.
54    */
55       ESCRIPT_DLL_API
56       Domain_ptr getPtr();
57       ESCRIPT_DLL_API
58       const_Domain_ptr getPtr() const;
59    
60     // structure holding values for X, size and normal     // structure holding values for X, size and normal
61     typedef int StatusType;     typedef int StatusType;

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

  ViewVC Help
Powered by ViewVC 1.1.26