Overture  Version 25
floatGenericGridCollectionFunction.h
Go to the documentation of this file.
1 #ifndef FLOATGENERIC_FLOAT_GRID_COLLECTION_FUNCTION
2 #define FLOATGENERIC_FLOAT_GRID_COLLECTION_FUNCTION "floatGenericGridCollectionFunction.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  floatGenericGridFunction & 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 floatGenericGridCollectionFunction(*this, ct); }
36 };
37 
38 
39 
40 #endif