nuklei::kernel::base::WeightAccessor Struct Reference

Weight accessor for kernel::base. The accessor is used internally. Normal Nuklei users will generally not need it. More...

#include <Kernel.h>

Public Member Functions

weight_t operator() (const base &k) const
 
weight_t operator() (const base *k) const
 

Detailed Description

Weight accessor for kernel::base. The accessor is used internally. Normal Nuklei users will generally not need it.

Example:

WeightAccessor wa;
kernel::base& k = ...
wa(k) == k.getWeight() // true

Definition at line 206 of file Kernel.h.


The documentation for this struct was generated from the following file:
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:14.