summaryrefslogtreecommitdiff
path: root/src/properties.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-29 23:07:47 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-01-29 23:07:47 +0000
commita4e31503633c3029cb6c526275bc34d471a3c0d4 (patch)
treebab69782d480aaefb527bc07ad2f9730353a0279 /src/properties.h
parent457ce3e7b4a869f92d8aef31bdee1b6793587a93 (diff)
downloadmana-client-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.gz
mana-client-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.bz2
mana-client-a4e31503633c3029cb6c526275bc34d471a3c0d4.tar.xz
mana-client-a4e31503633c3029cb6c526275bc34d471a3c0d4.zip
Some trivial documentation work. Fixes all Doxygen warnings.
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/properties.h b/src/properties.h
index 56e90c0e..bcd114c1 100644
--- a/src/properties.h
+++ b/src/properties.h
@@ -34,13 +34,17 @@
class Properties
{
public:
+ /**
+ * Destructor.
+ */
virtual
~Properties() {}
/**
* Get a map property.
*
- * @param def default value, empty string by default
+ * @param name The name of the property.
+ * @param def Default value, empty string by default.
* @return the value of the given property or the given default when it
* doesn't exist.
*/
@@ -54,7 +58,8 @@ class Properties
/**
* Gets a map property as a float.
*
- * @param def default value, 0.0f by default
+ * @param name The name of the property.
+ * @param def Default value, 0.0f by default.
* @return the value of the given property, or 0.0f when it doesn't
* exist.
*/
@@ -74,6 +79,10 @@ class Properties
/**
* Returns whether a certain property is available.
+ *
+ * @param name The name of the property.
+ * @return <code>true</code> when a property is defined,
+ * <code>false</code> otherwise.
*/
bool
hasProperty(const std::string &name)
@@ -83,6 +92,9 @@ class Properties
/**
* Set a map property.
+ *
+ * @param name The name of the property.
+ * @param value The value of the property.
*/
void
setProperty(const std::string &name, const std::string &value)