Generate all C++ fun templates to connect to R
Flag const stat methods