SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Member Functions | Public Attributes | List of all members
smtk::common::Link< id_type, left_type, right_type, role_type, base_type > Struct Template Reference

A Link is an object that associates (or "links") two pieces of information together. More...

#include <Links.h>

Inheritance diagram for smtk::common::Link< id_type, left_type, right_type, role_type, base_type >:
[legend]
Collaboration diagram for smtk::common::Link< id_type, left_type, right_type, role_type, base_type >:
[legend]

Public Member Functions

 Link (const base_type &base_, const id_type &id_, const left_type &left_, const right_type &right_, const role_type &role_)
 
 Link (base_type &&base_, const id_type &id_, const left_type &left_, const right_type &right_, const role_type &role_)
 

Public Attributes

id_type id
 
left_type left
 
right_type right
 
role_type role
 

Detailed Description

template<typename id_type, typename left_type, typename right_type, typename role_type, typename base_type>
struct smtk::common::Link< id_type, left_type, right_type, role_type, base_type >

A Link is an object that associates (or "links") two pieces of information together.

Since multiple links can exist between the same objects, links have an id for unique identification. Links also have a field to describe their role.


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