return boost::static_pointer_cast<SimpleCommandNode const>(shared_from_this());
}
+#ifndef DOXYGEN
+
prefix_ senf::console::SimpleCommandNode &
senf::console::senf_console_add_node(DirectoryNode & node, std::string const & name,
SimpleCommandNode::Function fn, int)
return node.add(name, SimpleCommandNode::create(fn));
}
+#endif
///////////////////////////////cci.e///////////////////////////////////////
#undef prefix_
}}}
+#ifndef DOXYGEN
+
template <class Function>
typename senf::console::detail::ParsedCommandTraits<Function>::Attributor
senf::console::senf_console_add_node(DirectoryNode & node, std::string const & name,
node, name, senf::membind(fn,&owner));
}
+#endif
+
///////////////////////////////cti.e///////////////////////////////////////
#undef prefix_
return OwnerNodeCreateTraits<Owner, Object>::Creator::create(node(), *owner_, name, ob);
}
+#ifndef DOXYGEN
+
template <class Owner, class Function>
prefix_ senf::console::SimpleCommandNode & senf::console::
senf_console_add_node(DirectoryNode & node, Owner & , std::string const & name,
return dir.add(name, node.node().thisptr());
}
+#endif
+
///////////////////////////////////////////////////////////////////////////
// senf::console::ScopedDirectory<void>
return ConstVariableAttributor<Variable>(queryOverload);
}
+#ifndef DOXYGEN
+
template <class Variable>
prefix_ senf::console::VariableAttributor<Variable> senf::console::
senf_console_add_node(DirectoryNode & node, std::string const & name, Variable & var, int,
return detail::VariableNodeCreator<Variable>::add(node, name, var.get());
}
+#endif
+
///////////////////////////////cti.e///////////////////////////////////////
#undef prefix_
class ScopedDirectoryBase;
template <class Variable> class VariableAttributor;
+#ifndef DOXYGEN
+
template <class Variable>
VariableAttributor<Variable> senf_console_add_node(
DirectoryNode & node, std::string const & name, Variable & var, int,
senf_console_add_node(DirectoryNode & node, std::string const & name,
boost::reference_wrapper<Variable> var, int);
+#endif
+
/** \brief Variable command attributes (const)
\see VariableAttributor
\r
<!-- Reformat detailed member documentation -->\r
\r
- <xsl:template match="table[@class='memname'][contains(preceding::h1[1],' Class ')][contains(preceding::h1[1],' Reference')]">\r
- <xsl:variable name="name"><xsl:value-of select="str:split(tr/td[@class='memname'],'::')[position()=last()]"/></xsl:variable>\r
- <table class="memname">\r
+ <xsl:template match="table[@class='memname']">\r
+ <xsl:variable name="name1"><xsl:value-of select="str:split(tr/td[@class='memname'],'::')[position()=last()]"/></xsl:variable>\r
+ <xsl:variable name="name2"><xsl:value-of select="str:split(tr/td[@class='memname'],' ')[position()=last()]"/></xsl:variable>\r
+ <xsl:variable name="name"><xsl:value-of select="substring($name1,string-length($name1)-string-length($name2))"/></xsl:variable>\r
+ <xsl:element name="table">\r
+ <xsl:attribute name="class">\r
+ <xsl:text>memname</xsl:text>\r
+ <xsl:if test="contains(tr/td[@class='memname'],'#define')"><xsl:text> macro</xsl:text></xsl:if>\r
+ </xsl:attribute>\r
<tr>\r
<td class="memtype" colspan="5">\r
<xsl:for-each select="tr/td[@class='memname']/*|tr/td[@class='memname']/text()">\r
</xsl:otherwise>\r
</xsl:choose>\r
<tr>\r
- <td colspan="5" class="memattrs"><xsl:copy-of select="tr/td[@width='100%']/code"/></td>\r
+ <td colspan="5" class="memattrs"><xsl:copy-of select="tr/td[@width='100%']/*|tr/td[@width='100%']/text()"/></td>\r
</tr>\r
- </table>\r
+ </xsl:element>\r
+ </xsl:template>\r
+\r
+ <!-- no idea, where these 's come frome ... -->\r
+ <xsl:template match="div[@class='memproto']/text()[.=' 
']">\r
</xsl:template>\r
\r
<!-- Add grouping to all-members page -->\r
</xsl:template>\r
\r
<!-- Add CSS class to the brief documentation paragraph of the member documentation -->\r
- <xsl:template match="div[@class='memdoc']/p[1]">\r
+ <xsl:template match="div[@class='memdoc']/p[1][not(contains(.,'Definition at line'))]">\r
<xsl:call-template name="add-class">\r
<xsl:with-param name="class">memtitle</xsl:with-param>\r
</xsl:call-template>\r
text-align: right;
}
+table.memname.macro td.paramtype {
+ text-align: left;
+ color: #602020;
+ font-style: italic;
+}
+
+table.memname.macro td.memattrs {
+ display: none;
+}
+
/* \f
* Local Variables:
* indent-tabs-mode: nil