INNER CODE UNIT · Python
accessor_link
introlab/rtabmap · doxygen/generate_parameters_page.py:190
def accessor_link(param):
"""A link to the C++ accessor, labelled with the parameter key."""
return '@ref rtabmap::Parameters::%s() "%s"' % (param.accessor, param.key)
def key_cell(param):
"""The key column: the row's own anchor, then the link to the accessor."""
return '@anchor %s %s' % (param.anchor, accessor_link(param))
def page_link(param):
"""A link to the parameter's own row on this page."""
return '@ref %s "%s"' % (param.anchor, param.key)
def resolve_description(param, by_accessor):
"""Render the description, resolving uFormat() placeholders to key links."""
text = param.description.strip()