iv::Link< Target > Class Template Reference
#include <Link.hpp>
Public Member Functions | |
Link () | |
Link (Target *) | |
void | set (Target *) |
Target * | get () |
Target * | operator-> () |
Target * | operator* () |
Detailed Description
template<class Target>
class iv::Link< Target >
Does not get automatically cleared when target is destroyed. Cleanup is responsibility of some kind of data manager which creates and destroys those instances. Autocleaned link could be implemented if needed, but should be used only when data manager is not suitable to ensure consistency.
Constructor & Destructor Documentation
◆ Link() [1/2]
◆ Link() [2/2]
Member Function Documentation
◆ set()
template<class Target >
void iv::Link< Target >::set | ( | Target * | tgt | ) |
◆ get()
◆ operator->()
template<class Target >
Target * iv::Link< Target >::operator-> |
◆ operator*()
template<class Target >
Target * iv::Link< Target >::operator* |
The documentation for this class was generated from the following files: