| 149 | 
  | 
    } else { | 
| 150 | 
  | 
      sprintf(painCave.errMsg,  | 
| 151 | 
  | 
              "ParameterManager Error: " | 
| 152 | 
< | 
              "Not enough tokens to make pair!\n"); | 
| 152 | 
> | 
              "Incorrect number of tokens to make a pair!\n"); | 
| 153 | 
  | 
      painCave.severity = OPENMD_ERROR; | 
| 154 | 
  | 
      painCave.isFatal = 1; | 
| 155 | 
  | 
      simError();     | 
| 217 | 
  | 
class Parameter : public ParameterBase{ | 
| 218 | 
  | 
public:     | 
| 219 | 
  | 
  typedef ParameterTraits<ParamType> ValueType; | 
| 220 | 
< | 
  void setDefaultValue(const ParamType& value) {data_ = value; defaultValue_ = true;} | 
| 220 | 
> | 
  void setDefaultValue(const ParamType& value) {data_ = value; defaultValue_ = true; empty_ = false;} | 
| 221 | 
  | 
  ParamType getData() { return data_;} | 
| 222 | 
  | 
   | 
| 223 | 
  | 
  virtual bool setData(std::string sval) { |