00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef VIEWREGISTERINFO_H_
00012 #define VIEWREGISTERINFO_H_
00013
00014 #include <vector>
00015 #include <string>
00016
00017 namespace ots {
00018
00019 class ViewRegisterInfo {
00020 public:
00021 ViewRegisterInfo(std::string typeName, std::string registerName, std::string baseAddress, int size, std::string access);
00022 virtual ~ViewRegisterInfo();
00023
00024 const std::string& getTypeName (void) const;
00025 const std::string& getRegisterName (void) const;
00026 const std::string& getBaseAddress (void) const;
00027 const int getSize (void) const;
00028 const std::string& getAccess (void) const;
00029 const int getNumberOfColumns(void) const;
00030
00031 protected:
00032 std::vector <std::string> dataTable_ ;
00033 int typeName_ ;
00034 int registerName_ ;
00035 int baseAddress_ ;
00036 int size_ ;
00037 int access_ ;
00038
00039
00040
00041 };
00042
00043 }
00044
00045 #endif