--- a/src/core/object.h Thu Feb 14 23:57:18 2008 +0100
+++ b/src/core/object.h Fri Feb 15 02:08:55 2008 +0100
@@ -350,6 +350,12 @@
* Set a single parameter.
*/
bool Set (std::string name, PValue value);
+
+ bool SetUint (std::string name, uint64_t value);
+ bool SetInt (std::string name, int64_t value);
+ bool SetFp (std::string name, double value);
+ bool SetEnum (std::string name, int value);
+
/**
* \param name the name of the parameter to read
* \param value a reference to the string where the value of the
@@ -365,6 +371,11 @@
*/
PValue Get (std::string name) const;
+ uint64_t GetUint (std::string name) const;
+ int64_t GetInt (std::string name) const;
+ double GetFp (std::string name) const;
+ int GetEnum (std::string name) const;
+
/**
* Increment the reference count. This method should not be called
* by user code. Object instances are expected to be used in conjunction