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