Rosetta
Namespaces | Functions
type.hpp File Reference
#include <config.hpp>
#include <context.hpp>
#include <clang/AST/Decl.h>
#include <string>

Namespaces

 binder
 

Functions

bool binder::is_binding_requested (clang::QualType const &qt, Config const &config)
 check if user requested binding for the given QualType More...
 
bool binder::is_skipping_requested (clang::QualType const &qt, Config const &config)
 check if user requested skipping for the given QualType More...
 
bool binder::is_function_type (clang::QualType const &qt)
 
std::string binder::relevant_include (clang::NamedDecl const *decl)
 extract include path needed for declaration itself (without template dependency if any), return empty string if no include could be found More...
 
void binder::add_relevant_include_for_decl (clang::NamedDecl const *decl, IncludeSet &includes)
 extract include path needed for declaration itself (without template dependency if any), do nothing if include could not be found (ie for build-in's) More...
 
void binder::add_relevant_includes (clang::QualType const &qt, IncludeSet &includes, int level)
 extract include needed for this generator and add it to includes vector More...
 
bool binder::is_bindable (clang::QualType const &qt)
 check if given QualType is bindable More...
 
void binder::request_bindings (clang::QualType const &qt, Context &context)
 extract type info from QualType if any and bind relative type More...
 
string binder::standard_name (std::string const &type)
 transform give type name to standard form More...
 
string binder::simplify_std_class_name (string const &type)
 Attempt to simplify std:: name by removing unneded template arguments. Function assume that there is no 'std::' namespaces prefix at the beginning of the argument string. More...
 
bool binder::is_python_builtin (clang::NamedDecl const *C)
 check if given class/struct is builtin in Python and therefor should not be binded More...
 
bool binder::is_banned_symbol (clang::NamedDecl const *D)
 check if class/struct/function/enum is in banned symbol lists More...