Go to the source code of this file.
Macros | |
#define | TF_PY_WRAP_PUBLIC_TOKENS(name, key, seq) |
Macro to wrap static tokens defined with TF_DEFINE_PUBLIC_TOKENS to Python. More... | |
#define | TF_PY_WRAP_PUBLIC_TOKENS_IN_CURRENT_SCOPE(key, seq) |
Macro to wrap static tokens defined with TF_DEFINE_PUBLIC_TOKENS to Python. More... | |
#define | _TF_PY_TOKENS_WRAP_ATTR_MEMBER(r, key, name) |
#define | _TF_PY_TOKENS_WRAP_MEMBER(r, key, name) |
#define | _TF_PY_TOKENS_EXPAND(seq) |
#define | _TF_PY_TOKENS_WRAP_ELEMENT(r, key, elem) _TF_PY_TOKENS_WRAP_MEMBER(r, key, _TF_PY_TOKEN_GET_ELEM(elem)) |
#define | _TF_PY_TOKENS_WRAP_ATTR_ELEMENT(r, key, elem) _TF_PY_TOKENS_WRAP_ATTR_MEMBER(r, key, _TF_PY_TOKEN_GET_ELEM(elem)) |
#define | _TF_PY_TOKEN_GET_ELEM(elem) |
#define | _TF_PY_TOKENS_WRAP_SEQ(key, seq) BOOST_PP_SEQ_FOR_EACH(_TF_PY_TOKENS_WRAP_ELEMENT, key, seq) |
#define | _TF_PY_TOKENS_WRAP_ATTR_SEQ(key, seq) BOOST_PP_SEQ_FOR_EACH(_TF_PY_TOKENS_WRAP_ATTR_ELEMENT, key, seq) |
#define _TF_PY_TOKEN_GET_ELEM | ( | elem | ) |
Definition at line 104 of file pyStaticTokens.h.
#define _TF_PY_TOKENS_EXPAND | ( | seq | ) |
Definition at line 93 of file pyStaticTokens.h.
#define _TF_PY_TOKENS_WRAP_ATTR_MEMBER | ( | r, | |
key, | |||
name | |||
) |
Definition at line 82 of file pyStaticTokens.h.
#define _TF_PY_TOKENS_WRAP_MEMBER | ( | r, | |
key, | |||
name | |||
) |
Definition at line 86 of file pyStaticTokens.h.
#define TF_PY_WRAP_PUBLIC_TOKENS | ( | name, | |
key, | |||
seq | |||
) |
Macro to wrap static tokens defined with TF_DEFINE_PUBLIC_TOKENS
to Python.
It creates a class of name name
in the current scope containing just the tokens in seq
in the static tokens named by key
. Arrays are not wrapped but their components are.
Definition at line 50 of file pyStaticTokens.h.
#define TF_PY_WRAP_PUBLIC_TOKENS_IN_CURRENT_SCOPE | ( | key, | |
seq | |||
) |
Macro to wrap static tokens defined with TF_DEFINE_PUBLIC_TOKENS
to Python.
This wraps tokens in seq
in the static tokens named by key
as attributes on the current boost python scope. Arrays are not wrapped but their components are.
Definition at line 61 of file pyStaticTokens.h.