00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef Information_h
00039 #define Information_h
00040
00041 #include <Matrix.h>
00042 #include <Vector.h>
00043 #include <ID.h>
00044 #include <Tensor.h>
00045
00046 #include <ostream.h>
00047
00049 IdType, VectorType, MatrixType, TensorType};
00050
00052 class Information
00053 {
00054 public:
00056 Information();
00058 Information(int val);
00060 Information(double val);
00062 Information(const ID &val);
00064 Information(const Vector &val);
00066 Information(const Matrix &val);
00068 Information(const Tensor &val);
00069
00071 virtual ~Information();
00072
00074 virtual int setInt(int newInt);
00076 virtual int setDouble(double newDouble);
00078 virtual int setID(const ID &newID);
00080 virtual int setVector(const Vector &newVector);
00082 virtual int setMatrix(const Matrix &newMatrix);
00084 virtual int setTensor(const Tensor &newTensor);
00085
00087 virtual void Print(ostream &s, int flag = 0);
00088
00090 InfoType theType;
00091 int theInt;
00092 double theDouble;
00093 ID *theID;
00094 Vector *theVector;
00095 Matrix *theMatrix;
00096 Tensor *theTensor;
00097
00098 protected:
00099
00100 private:
00101 };
00102
00103 #endif
00104
00105 �