iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BoundedSetInsertPolicy Class Reference

#include <nrt/Core/Design/BoundedSet.H>

BoundedSet insert policy.

When trying to push a new element into the set, if it matches one already in the set:

  • if nrt::BoundedSetInsertPolicy::Preserve, keep the old one and discard the new incoming one, or,
  • if nrt::BoundedSetInsertPolicy::Replace, replace the old one with the new one.

The documentation for this class was generated from the following file: