Switch to unified view
a/src/rcldb/rcldoc.h | b/src/rcldb/rcldoc.h | ||
---|---|---|---|
... |
... |
||
156 | return true; |
156 | return true; |
157 | } else { |
157 | } else { |
158 | return false; |
158 | return false; |
159 | } |
159 | } |
160 | } |
160 | } |
161 | /** Nocopy getvalue. sets pointer to entry value if exists */ |
||
161 | bool peekmeta(const string& nm, const string **value = 0) const |
162 | bool peekmeta(const string& nm, const string **value = 0) const |
162 | { |
163 | { |
163 | map<string,string>::const_iterator it = meta.find(nm); |
164 | map<string,string>::const_iterator it = meta.find(nm); |
164 | if (it != meta.end()) { |
165 | if (it != meta.end()) { |
165 | if (value) |
166 | if (value) |