Changeset 144 for cpp/frams/util/extvalue.h
- Timestamp:
- 02/26/14 20:04:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.h
r121 r144 147 147 void setString(const SString &v) {if (type!=TString) setrs(v); else sdata()=v;} 148 148 void setObject(const ExtObject &src) {if (type!=TObj) setro(src); else odata()=src;} 149 static long getInt(const char* s); 150 static double getDouble(const char* s); 149 151 long getInt() const; 150 152 double getDouble() const; … … 153 155 SString serialize() const; 154 156 ExtObject getObject() const; 157 bool isNull() const {return (type==TUnknown)||((type==TObj)&&odata().isEmpty());} 155 158 const char* parseNumber(const char* in); 156 159 const char* deserialize(const char* in);//< @return first character after the succesfully parsed string or NULL if failed
Note: See TracChangeset
for help on using the changeset viewer.