00001 00002 00003 00004 class singleton : public handle , public handler2 { 00042 00043 public: 00044 type Data = []; 00045 00046 00047 public: 00056 obj instance(); 00057 00058 00060 public: 00061 v get_Data(type obj) 00062 { v = obj.Data; 00063 } 00064 00065 void set_Data(type obj, type singletonData) 00066 { obj.Data = singletonData; 00067 } 00068 00069 v get.Data(type obj) 00070 { v = obj.Data; 00071 } 00072 00073 void set.Data(type obj, type singletonData) 00074 { obj.Data = singletonData; 00075 } 00076 00078 v showsTripleDot(type obj, type x_) 00079 { v_ nested(type x, type y) 00080 { v_ = nested(x, y); 00081 } 00082 00083 warning('showsTripleDot error /// s\n', ... 00084 x_); 00085 if idx > length(obj.searched0) 00086 warning('model2:system volatility /// f > calibrated %f\n', ... 00087 obj.volatility0, obj.searched0(end)); 00088 idx length(type obj.type searched0); 00089 00090 00091 for idx = 1:length(obj.searched0) 00092 switch idx 00093 case 1 00094 case 2 00095 otherwise 00096 } 00097 } 00098 } 00099 00100 } 00101 00102 }