Mercurial > hg > octave-nkf
diff src/oct-map.h @ 5156:7c3b22bafedc
[project @ 2005-02-22 17:42:15 by jwe]
author | jwe |
---|---|
date | Tue, 22 Feb 2005 17:42:16 +0000 |
parents | e35b034d3523 |
children | 23b37da9fd5b |
line wrap: on
line diff
--- a/src/oct-map.h +++ b/src/oct-map.h @@ -95,6 +95,11 @@ Cell contents (const_iterator p) const { return contents (key(p)); } + int intfield (const std::string& k, int def_val = 0) const; + + std::string stringfield (const std::string& k, + const std::string& def_val = std::string ()) const; + const_iterator seek (const std::string& k) const { return map.find (k); } bool contains (const std::string& k) const