Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TypeManip.h
Go to the documentation of this file.
1#ifndef CPYCPPYY_TYPEMANIP_H
2#define CPYCPPYY_TYPEMANIP_H
3
4#include <string>
5#include <vector>
6
7
8namespace CPyCppyy {
9
10namespace TypeManip {
11
12 std::string remove_const(const std::string& cppname);
13 std::string clean_type(const std::string& cppname,
14 bool template_strip = true, bool const_strip = true);
15 std::string template_base(const std::string& cppname);
16 std::string compound(const std::string& name);
17
18 void cppscope_to_pyscope(std::string& cppscope);
19 void cppscope_to_legalname(std::string& cppscope);
20 std::string extract_namespace(const std::string& name);
21
22 std::vector<std::string> extract_arg_types(const std::string& sig);
23 Py_ssize_t array_size(const std::string& name);
24
25} // namespace TypeManip
26
27} // namespace CPyCppyy
28
29#endif // !CPYCPPYY_TYPEMANIP_H
char name[80]
Definition TGX11.cxx:110
void compound()
Definition compound.C:25
std::string remove_const(const std::string &cppname)
Definition TypeManip.cxx:80
void cppscope_to_legalname(std::string &cppscope)
std::string template_base(const std::string &cppname)
void cppscope_to_pyscope(std::string &cppscope)
Py_ssize_t array_size(const std::string &name)
std::string clean_type(const std::string &cppname, bool template_strip=true, bool const_strip=true)
std::string extract_namespace(const std::string &name)
std::vector< std::string > extract_arg_types(const std::string &sig)