summaryrefslogtreecommitdiff
path: root/src/expr/attribute.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-31 15:26:19 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-31 15:26:19 +0000
commit39031822cf3f9faab7b5b9e6cbce46a5194503b1 (patch)
tree7f95265819554a20a2ef4637a4a8a6a83a7cfc0b /src/expr/attribute.h
parentd4bfaa103d56d5c0172bf1457343a75ddea8a9b5 (diff)
enable dependence graphs in doxygen; fix lots of doxygen warnings, fix some documentation, and make it possible to "make doc" on a clean source tree (post-configure)
Diffstat (limited to 'src/expr/attribute.h')
-rw-r--r--src/expr/attribute.h28
1 files changed, 9 insertions, 19 deletions
diff --git a/src/expr/attribute.h b/src/expr/attribute.h
index f5ecf84c5..9b21184d0 100644
--- a/src/expr/attribute.h
+++ b/src/expr/attribute.h
@@ -112,62 +112,52 @@ public:
* Get a particular attribute on a particular node.
*
* @param nv the node about which to inquire
- *
- * @param const AttrKind& the attribute kind to get
- *
+ * @param attr the attribute kind to get
* @return the attribute value, if set, or a default-constructed
* AttrKind::value_type if not.
*/
template <class AttrKind>
typename AttrKind::value_type getAttribute(NodeValue* nv,
- const AttrKind&) const;
+ const AttrKind& attr) const;
/**
* Determine if a particular attribute exists for a particular node.
*
* @param nv the node about which to inquire
- *
- * @param const AttrKind& the attribute kind to inquire about
- *
+ * @param attr the attribute kind to inquire about
* @return true if the given node has the given attribute
*/
template <class AttrKind>
bool hasAttribute(NodeValue* nv,
- const AttrKind&) const;
+ const AttrKind& attr) const;
/**
* Determine if a particular attribute exists for a particular node,
* and get it if it does.
*
* @param nv the node about which to inquire
- *
- * @param const AttrKind& the attribute kind to inquire about
- *
+ * @param attr the attribute kind to inquire about
* @param ret a pointer to a return value, set in case the node has
* the attribute
- *
* @return true if the given node has the given attribute
*/
template <class AttrKind>
bool getAttribute(NodeValue* nv,
- const AttrKind&,
+ const AttrKind& attr,
typename AttrKind::value_type& ret) const;
/**
* Set a particular attribute on a particular node.
*
* @param nv the node for which to set the attribute
- *
- * @param const AttrKind& the attribute kind to set
- *
- * @param ret a pointer to a return value, set in case the node has
+ * @param attr the attribute kind to set
+ * @param value a pointer to a return value, set in case the node has
* the attribute
- *
* @return true if the given node has the given attribute
*/
template <class AttrKind>
void setAttribute(NodeValue* nv,
- const AttrKind&,
+ const AttrKind& attr,
const typename AttrKind::value_type& value);
/**
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback