SEP Solver Library  1.0
 All Classes Namespaces Files Functions Variables Typedefs Macros
dataContainer.h
Go to the documentation of this file.
1 #ifndef DATACONTAINER_H
2 #define DATACONTAINER_H 1
3 #include <stdio.h>
4 #include <string.h>
5 namespace SEP {
6 
8  public:
9 
11 // virtual void *getFloatPtr()=0; // could get rid of
12  virtual void my_type()=0; // makes the class abstract
13  virtual ~dataContainer(){;} // Default destructor
14  char name [1000];
15  private:
16 };
18  public:
19 
22  dat1=d1;
23  dat2=d2;
24  }
25  virtual void my_type(){
26  dat1->my_type();
27  dat2->my_type();
28  }
29  dataContainer *getData1(){ return dat1;}
30  dataContainer *getData2(){ return dat2;}
31  virtual ~MultiDataContainer(){;}
32  private:
33  dataContainer *dat1,*dat2;
34 };
35 
36 }
37 #endif