Changeset 490 for cpp/frams/util/extvalue.h
- Timestamp:
- 03/30/16 17:08:08 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.h
r482 r490 185 185 void setEmpty(); 186 186 void setInvalid() { setEmpty(); type = TInvalid; } 187 void setError(const SString& msg); 187 188 bool makeUnique() { return (type == TObj) && odata().makeUnique(); } //< @return false if nothing has changed 188 189 ExtPType getType() const { return type; } … … 243 244 #define REGISTER_DESERIALIZABLE(name) ExtValue::AddDeserializable<name> deserializable_autoinit_ ## name; 244 245 245 #endif 246 class ErrorObject: public DestrBase 247 { 248 public: 249 SString message; 250 static Param& getParam(); 251 static Param& getStaticParam() {return getParam();} 252 static ExtObject makeDynamicObject(ErrorObject* e); 253 static const SString TO_STRING_PREFIX; 254 #define STATRICKCLASS ErrorObject 255 PARAMGETDEF(toString); 256 PARAMPROCDEF(p_newfromstring); 257 #undef STATRICKCLASS 258 }; 259 260 #endif
Note: See TracChangeset
for help on using the changeset viewer.