#include <Link.hpp>

Public Member Functions

 VLink ()
 
template<class Target >
 VLink (Target *)
 
template<class Target >
void set (Target *)
 
std::type_index type ()
 
template<class Target >
Target * get ()
 

Detailed Description

Link that can link to different types. This does not support any kind of concept control and it is not really needed in runtime. This is meant to be used for model extendability so complete list of possible target types can not be known so we need to accept that when working with VLinks.

Definition at line 40 of file Link.hpp.

Constructor & Destructor Documentation

◆ VLink() [1/2]

iv::VLink::VLink ( )

Definition at line 6 of file Link.cpp.

◆ VLink() [2/2]

template<class Target >
iv::VLink::VLink ( Target *  target)

Definition at line 43 of file Link.inl.

Member Function Documentation

◆ set()

template<class Target >
void iv::VLink::set ( Target *  target)

Definition at line 58 of file Link.inl.

◆ type()

std::type_index iv::VLink::type ( )

Definition at line 12 of file Link.cpp.

◆ get()

template<class Target >
Target * iv::VLink::get

Definition at line 50 of file Link.inl.


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