Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

OptTypes.h

Go to the documentation of this file.
00001 #ifndef __OPTTYPES
00002 #define __OPTTYPES
00003 
00023 #define T_STR   1
00024 #define T_INT   2
00025 #define T_BOOL  3
00026 #define T_SPEC  4
00027 #define T_UNKNOWN 0
00028 
00029 #define T_SPEC_CHANGE_RULES 16
00030 #define T_SPEC_DISK         17
00031 #define T_SPEC_CHANGE       18
00032 #define T_SPEC_MAP_DRIVE    19
00033 #define T_SPEC_MAP          20
00034 
00035 #include <map>
00036 #include <string>
00037 #include <Y2.h>
00038 
00039 // using std::string;
00040 // using std::map;
00041 using namespace std;
00042 
00043 class OptTypes {
00044 private:
00045     map <string, int> _options;
00046 
00047 public:
00048     int getOptType(const string& optname);
00049 
00050     string getSpecGroup(const string& optname);
00051 
00052     YCPMap getYCPOptTypes ();
00053 
00054     OptTypes (const string& init_type = "");
00055 };
00056 
00057 #endif

Generated on Wed Nov 12 03:41:06 2008 for yast2-bootloader by  doxygen 1.3.9.1