ImFusion C++ SDK 4.5.0
ImFusion::AnatomyPlugin::SelectorAnnotation Struct Reference

#include <AnatomyPlugin/include/ImFusion/AnatomyPlugin/Selector.h>

A post-selection metadata annotation attached to a SelectorElem. More...

Detailed Description

A post-selection metadata annotation attached to a SelectorElem.

Does not affect match(); consumed by application code after a match has been confirmed. Serialized as "@name(arg1, arg2, ...)" after the core selector, e.g. "@labelValues(42, 55)". Arguments are comma-separated and whitespace-trimmed; see SelectorElem for full grammar.

Public Member Functions

std::vector< std::optional< int > > argsAsInts () const
 Returns the args parsed as integers, preserving position. Args that cannot be converted return std::nullopt.
bool operator== (const SelectorAnnotation &other) const
bool operator!= (const SelectorAnnotation &other) const

Public Attributes

std::string name
std::vector< std::stringargs

The documentation for this struct was generated from the following file:
  • AnatomyPlugin/include/ImFusion/AnatomyPlugin/Selector.h
Search Tab / S to search, Esc to close