00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef O2SCL_BASE_IOC_H
00024 #define O2SCL_BASE_IOC_H
00025 #include <string>
00026 #include <o2scl/collection.h>
00027 #include <o2scl/funct.h>
00028 #include <o2scl/mm_funct.h>
00029 #include <o2scl/multi_funct.h>
00030 #include <o2scl/table.h>
00031
00032 #ifndef DOXYGENP
00033 namespace o2scl {
00034 #endif
00035
00036
00037
00038
00039
00040
00041 class base_ioc {
00042
00043 public:
00044
00045 base_ioc() {
00046 bool_io=new bool_io_type("bool");
00047 char_io=new char_io_type("char");
00048 double_io=new double_io_type("double");
00049 int_io=new int_io_type("int");
00050 long_io=new long_io_type("long");
00051 string_io=new string_io_type("string");
00052 word_io=new word_io_type("word");
00053
00054
00055
00056
00057
00058
00059 table_io=new table_io_type("table");
00060 }
00061
00062 ~base_ioc() {
00063 delete bool_io;
00064 delete char_io;
00065 delete double_io;
00066 delete int_io;
00067 delete long_io;
00068 delete string_io;
00069 delete word_io;
00070
00071
00072
00073
00074
00075
00076 delete table_io;
00077 }
00078
00079 bool_io_type *bool_io;
00080 char_io_type *char_io;
00081 double_io_type *double_io;
00082 int_io_type *int_io;
00083 long_io_type *long_io;
00084 string_io_type *string_io;
00085 word_io_type *word_io;
00086
00087
00088
00089
00090
00091
00092 table_io_type *table_io;
00093
00094 protected:
00095
00096 #ifndef DOXYGENP
00097
00098 #endif
00099
00100 };
00101
00102 #ifndef DOXYGENP
00103 }
00104 #endif
00105
00106 #endif