- Timestamp:
- 12/22/14 23:19:25 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.h
r257 r276 61 61 void setEmpty() {decref();subtype=0;param=NULL;object=NULL;} 62 62 int isEmpty() const {return !param;} 63 static const ExtObject& empty() { static const ExtObject& e((ParamInterface*)NULL); return e; } 63 64 ExtObject(const ExtObject& src) {src.incref();copyFrom(src);} 64 65 void operator=(const ExtObject& src) {src.incref();decref();copyFrom(src);} … … 128 129 ExtValue(const ExtObject &srco) {seto(srco);} 129 130 static ExtValue invalid() {ExtValue v; v.setInvalid(); return v;} 131 static const ExtValue& empty() { static const ExtValue v; return v; } 130 132 int compare(const ExtValue& src) const; 131 133 int operator==(const ExtValue& src) const;
Note: See TracChangeset
for help on using the changeset viewer.