Rosetta  3.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
class.cpp File Reference

Binding generation for C++ struct and class objects. More...

#include <class.hpp>
#include <function.hpp>
#include <enum.hpp>
#include <type.hpp>
#include <util.hpp>
#include <fmt/format.h>
#include <clang/AST/DeclTemplate.h>

Namespaces

 binder
 

Functions

string binder::template_specialization (clang::CXXRecordDecl const *C)
 
string binder::class_name (CXXRecordDecl const *C)
 
string binder::class_qualified_name (CXXRecordDecl const *C)
 
vector< QualType > binder::get_type_dependencies (CXXRecordDecl const *C)
 
bool binder::is_inherited_from_enable_shared_from_this (CXXRecordDecl const *C)
 
bool binder::is_field_assignable (FieldDecl const *f)
 generate list of class/enum names on which this CXXRecordDecl depend to get binded ommiting build-in types More...
 
bool binder::is_bindable (FieldDecl *f)
 check if generator can create binding More...
 
string binder::bind_data_member (FieldDecl const *d, string const &class_qualified_name)
 
bool binder::is_bindable (clang::CXXRecordDecl const *C)
 check if generator can create binding More...
 
bool binder::is_binding_requested (clang::CXXRecordDecl const *C, Config const &config)
 check if user requested binding for the given declaration More...
 
bool binder::is_skipping_requested (clang::CXXRecordDecl const *C, Config const &config)
 check if user requested skipping for the given declaration More...
 
void binder::add_relevant_includes (clang::CXXRecordDecl const *C, vector< string > &includes, set< NamedDecl const * > &stack)
 

Detailed Description

Binding generation for C++ struct and class objects.

Author
Sergey Lyskov