Molybden API
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Files
File List
•
All
Classes
Functions
Variables
Typedefs
Pages
Loading...
Searching...
No Matches
method_container_detail.hpp
1
// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_METHOD_CONTAINER_DETAIL_HPP
6
#define MOLYBDEN_METHOD_CONTAINER_DETAIL_HPP
7
8
namespace
molybden {
9
namespace
internal {
10
11
template
<
class
C,
class
R,
class
... T>
12
int
MethodContainer::addMethod(MethodSignature<C, R, T...> signature,
13
const
char
* name) {
14
methods_.emplace(
15
name,
16
new
internal::JsAccessibleMethodImpl<C, R, T...>(
static_cast<
C*
>
(
this
),
17
signature));
18
return
0;
19
}
20
21
}
// namespace internal
22
}
// namespace molybden
23
24
#endif
// MOLYBDEN_METHOD_CONTAINER_DETAIL_HPP
include
molybden
js
internal
detail
method_container_detail.hpp