SMTK
latest
  • SMTK User’s Guide
    • Obtaining, Building, and Installing
    • An Overview of SMTK’s Subsytems
    • SMTK Common
      • Factory
      • Instances
      • Generator
      • Links
      • Observers
      • Thread Pool
      • Type Container
      • Type Map
      • Update factory
    • SMTK’s Resource System
    • SMTK’s Geometry System
    • SMTK’s Attribute Resource
    • SMTK’s Operation System
    • SMTK’s Geometric Model Resource
    • SMTK’s Graph-based Model Resource
    • SMTK’s Markup (Annotation) Resource
    • SMTK’s Mesh Resource
    • SMTK’s Project System
    • SMTK’s Task System
    • SMTK’s Simulation System
    • SMTK’s View System
    • SMTK’s Extensions
    • SMTK’s Bindings
    • SMTK’s Plugin System
    • String token utilities
    • Debugging tips and tricks
    • Administering SMTK
    • Contributing to SMTK
  • Tutorials
  • Release notes
SMTK
  • »
  • SMTK User’s Guide »
  • SMTK Common »
  • Links
  • View page source

Links¶

SMTK’s links pattern (Links) describes a set-like container of “link” objects that have a user-defined base class and represent a connection between two different object types (a “left” type and a “right” type). Additionally, each link contains a “role” field to contextualize the link. The pattern uses boost’s multi-index array to facilitate efficient access to a subset of links according to their “left”, “right” and “role” values.

An example that demonstrates the prinicples and API of this pattern can be found at smtk/comon/testing/cxx/UnitTestLinks.cxx.

Previous Next

© Copyright 2023, Kitware, Inc.. Revision 9365c471.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
v23.01.0
v22.11.0
release
Downloads
html
On Read the Docs
Project Home
Builds