HDTree
0.5.2
HDTree C++ API
Access.h
1
#pragma once
2
3
#include "
hdtree/Version.h
"
4
5
namespace
hdtree
{
6
21
struct
access
{
31
template
<
typename
T,
typename
D>
32
static
void
connect
(T& t, D& d) {
33
t.attach(d);
34
}
35
};
// access
36
37
}
// namespace hdtree
Version.h
hdtree
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition:
Atomic.cxx:3
hdtree::access
empty struct for connecting a instance of Data and the type it wraps
Definition:
Access.h:21
hdtree::access::connect
static void connect(T &t, D &d)
Connect the input types by attaching t to do.
Definition:
Access.h:32
cpp
include
hdtree
Access.h
Generated by
1.9.1