tool/Command.h
changeset 1869 14f634f5b613
parent 1834 67fc217d7341
child 1870 0cee1fb7f0fd
equal deleted inserted replaced
1868:489ea0becd74 1869:14f634f5b613
    83 
    83 
    84         const string &getName() const;
    84         const string &getName() const;
    85         const string &getBriefDescription() const;
    85         const string &getBriefDescription() const;
    86 
    86 
    87         typedef list<unsigned int> MasterIndexList;
    87         typedef list<unsigned int> MasterIndexList;
    88         void setMasterIndices(const MasterIndexList &);
    88         void setMasters(const string &);
    89         const MasterIndexList &getMasterIndices() const;
    89         MasterIndexList getMasterIndices() const;
       
    90 
    90         enum Verbosity {
    91         enum Verbosity {
    91             Quiet,
    92             Quiet,
    92             Normal,
    93             Normal,
    93             Verbose
    94             Verbose
    94         };
    95         };
   135         static string alStateString(uint8_t);
   136         static string alStateString(uint8_t);
   136 
   137 
   137     private:
   138     private:
   138         string name;
   139         string name;
   139         string briefDesc;
   140         string briefDesc;
   140         MasterIndexList masterIndices;
   141         string masters;
   141         Verbosity verbosity;
   142         Verbosity verbosity;
   142         int alias;
   143         int alias;
   143         int position;
   144         int position;
   144         int domain;
   145         int domain;
   145         string dataType;
   146         string dataType;
   163     return briefDesc;
   164     return briefDesc;
   164 }
   165 }
   165 
   166 
   166 /****************************************************************************/
   167 /****************************************************************************/
   167 
   168 
   168 inline const Command::MasterIndexList &Command::getMasterIndices() const
       
   169 {
       
   170     return masterIndices;
       
   171 }
       
   172 
       
   173 /****************************************************************************/
       
   174 
       
   175 inline Command::Verbosity Command::getVerbosity() const
   169 inline Command::Verbosity Command::getVerbosity() const
   176 {
   170 {
   177     return verbosity;
   171     return verbosity;
   178 }
   172 }
   179 
   173