HDTree  0.5.2
HDTree C++ API
hdtree::access Struct Reference

empty struct for connecting a instance of Data and the type it wraps More...

#include <Access.h>

Static Public Member Functions

template<typename T , typename D >
static void connect (T &t, D &d)
 Connect the input types by attaching t to do. More...
 

Detailed Description

empty struct for connecting a instance of Data and the type it wraps

This struct has no members or instance methods, it is merely here to grant Data access to the potentially private function attach.

A class interested in being wrapped by Data should declare this struct as its friend.

friend class hdtree::access;
empty struct for connecting a instance of Data and the type it wraps
Definition: Access.h:21

Member Function Documentation

◆ connect()

template<typename T , typename D >
static void hdtree::access::connect ( T &  t,
D &  d 
)
inlinestatic

Connect the input types by attaching t to do.

Template Parameters
Ttype of class with attach method defined
Dtype of class to pass to attach
Parameters
[in]thandle of class to call attach on
[in]dhandle of class to pass into attach

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