Overture  Version 25
doubleGenericGridCollectionFunction.h
Go to the documentation of this file.
1 #ifndef DOUBLEGENERIC_DOUBLE_GRID_COLLECTION_FUNCTION
2 #define DOUBLEGENERIC_DOUBLE_GRID_COLLECTION_FUNCTION "doubleGenericGridCollectionFunction.h"
3 
5 #include "ReferenceCounting.h"
7 
8 class GenericGridCollection; // forward declaration
9 
10 //------------------------------------------------------------------------------
11 //
12 //------------------------------------------------------------------------------
14 {
15  public:
16 
19 
22  const CopyType =DEEP){}
26  doubleGenericGridFunction & operator[]( const int grid );
28  virtual void breakReference(){};
29  private:
30  virtual ReferenceCounting& operator=( const ReferenceCounting & x)
32  virtual void reference( const ReferenceCounting & x)
34  virtual ReferenceCounting* virtualConstructor( const CopyType ct = DEEP ) const
35  { return ::new doubleGenericGridCollectionFunction(*this, ct); }
36 };
37 
38 
39 
40 #endif